Opened 16 hours ago

Last modified 16 hours ago

#11433 new defect

"Error parsing Opus packet header" when extracting Opus audio stream

Reported by: idest Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

If I try executing this command:

ffmpeg.exe -hide_banner -i sample.mkv -vn -c:a copy audio.opus

I get the following output:

Input #0, matroska,webm, from 'sample.mkv':
  Metadata:
    MINOR_VERSION   : 0
    COMPATIBLE_BRANDS: iso6avc1mp41
    MAJOR_BRAND     : dash
    ENCODER         : Lavf61.9.106
  Duration: 00:00:02.04, start: 0.000000, bitrate: 4006 kb/s
  Stream #0:0: Video: h264 (High), yuv420p(tv, bt709, progressive), 1920x1080 [SAR 1:1 DAR 16:9], 29.97 fps, 29.97 tbr, 1k tbn (default)
    Metadata:
      HANDLER_NAME    : ISO Media file produced by Google Inc.
      VENDOR_ID       : [0][0][0][0]
      DURATION        : 00:00:02.035000000
  Stream #0:1(eng): Audio: opus, 48000 Hz, stereo, fltp (default)
    Metadata:
      DURATION        : 00:00:02.008000000
Stream mapping:
  Stream #0:1 -> #0:0 (copy)
Output #0, opus, to 'audio.opus':
  Metadata:
    MINOR_VERSION   : 0
    COMPATIBLE_BRANDS: iso6avc1mp41
    MAJOR_BRAND     : dash
    encoder         : Lavf61.9.106
  Stream #0:0(eng): Audio: opus, 48000 Hz, stereo, fltp (default)
    Metadata:
      DURATION        : 00:00:02.008000000
      MINOR_VERSION   : 0
      COMPATIBLE_BRANDS: iso6avc1mp41
      MAJOR_BRAND     : dash
      encoder         : Lavf61.9.106
Press [q] to stop, [?] for help
[opus @ 0000025d6ae586c0] Error parsing Opus packet header.
[out#0/opus @ 0000025d6ae17e40] video:0KiB audio:33KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: 1.503042%
size=      33KiB time=00:00:02.00 bitrate= 136.1kbits/s speed= 571x    
                                                      

Notice the line "[opus @ 0000025d6ae586c0] Error parsing Opus packet header".

While the resulting file, audio.opus, doesn't seem to have any errors, I thought I should report this anyway.

Reported FFMpeg version: N-118325-gea381285e7-20250119.
OS: Windows 10 Home.

Attachments (1)

sample.mkv (995.3 KB ) - added by idest 16 hours ago.

Download all attachments as: .zip

Change History (2)

by idest, 16 hours ago

Attachment: sample.mkv added

comment:1 by idest, 16 hours ago

Summary: "Error parsing Opus packet header" when extracting an Opus audio stream from an MKV container"Error parsing Opus packet header" when extracting Opus audio stream
Note: See TracTickets for help on using tickets.