[FFmpeg-trac] #4178(avformat:open): Opus audio in MKV container

FFmpeg trac at avcodec.org
Wed Mar 11 11:42:14 EET 2020


#4178: Opus audio in MKV container
-------------------------------------+-------------------------------------
             Reporter:  agressiv     |                    Owner:  vigneshvg
                 Type:  defect       |                   Status:  open
             Priority:  important    |                Component:  avformat
              Version:  git-master   |               Resolution:
             Keywords:  mkv opus     |               Blocked By:
  regression                         |
             Blocking:               |  Reproduced by developer:  1
Analyzed by developer:  1            |
-------------------------------------+-------------------------------------

Comment (by mytskine):

 I was also bitten by this bug. The sound in a mkv video is garbage using
 mpv or ffplay (both from current Debian testing). The same mkv file plays
 fine in VLC. If I use ffmpeg to extract the audio track into an opus
 container, ffplay and mpv can play it fine.

 From `ffplay -v info` (there are no warning/errors while playing):
 {{{
 Input #0, matroska,webm, from
 'Mai_Mai_Miracle_(BD_1080p)_(Hi10)_(THORA).mkv':
   Metadata:
     creation_time   : 2017-09-22T10:11:19.000000Z
     ENCODER         : Lavf57.72.101
   Duration: 01:35:01.03, start: -0.007000, bitrate: 1607 kb/s
       [...]
     Stream #0:1(jpn): Audio: opus, 48000 Hz, 5.1, fltp (default)
     Metadata:
       title           : OPUS Audio (6 channeled)
       BPS             : 254936
       BPS-eng         : 254936
       DURATION        : 01:35:01.030000000
       DURATION-eng    : 01:35:01.030000000
       NUMBER_OF_FRAMES: 285052
       NUMBER_OF_FRAMES-eng: 285052
       NUMBER_OF_BYTES : 181675178
       NUMBER_OF_BYTES-eng: 181675178
       _STATISTICS_WRITING_APP: mkvmerge v8.5.2 ('Crosses') 64bit
       _STATISTICS_WRITING_APP-eng: mkvmerge v8.5.2 ('Crosses') 64bit
       _STATISTICS_WRITING_DATE_UTC: 2017-09-22 10:11:19
       _STATISTICS_WRITING_DATE_UTC-eng: 2017-09-22 10:11:19
       _STATISTICS_TAGS: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
       _STATISTICS_TAGS-eng: BPS DURATION NUMBER_OF_FRAMES NUMBER_OF_BYTES
 }}}

 Would providing samples of the mkv help to get this solved?

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4178#comment:19>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list