#11433: "Error parsing Opus packet header" when extracting an Opus audio stream
from an MKV container
-------------------------------------+-------------------------------------
             Reporter:  idest        |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:
  undetermined                       |  unspecified
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 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.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11433>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to