[FFmpeg-trac] #9890(avcodec:new): Opus decoding glitches on sample with LBRR packets (was: Opus decoding glitches on sample)

FFmpeg trac at avcodec.org
Thu Sep 8 00:20:47 EEST 2022


#9890: Opus decoding glitches on sample with LBRR packets
-------------------------------------+-------------------------------------
             Reporter:  Tristan      |                    Owner:  (none)
  Matthews                           |
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  avcodec
              Version:  git-master   |               Resolution:
             Keywords:  opus         |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Changes (by Tristan Matthews):

 * summary:  Opus decoding glitches on sample => Opus decoding glitches on
     sample with LBRR packets


Old description:



New description:

 Summary of the bug:

 Using https://people.videolan.org/~tmatth/rev.opus when stream-copied or
 played back.

 How to reproduce:
 {{{
 % ./ffplay rev.opus
 ./ffplay rev.opus
 ffplay version N-107861-gf5a663f2a9 Copyright (c) 2003-2022 the FFmpeg
 developers
   built with gcc 11 (Ubuntu 11.2.0-19ubuntu1)
   configuration: --disable-debug --disable-doc --disable-shared --enable-
 gpl --enable-libmp3lame --enable-libopus --enable-libvpx --enable-libx264
 --enable-nonfree --enable-gnutls --enable-libfdk_aac --enable-postproc
 --enable-small --enable-version3 --enable-libx265 --enable-libsrt
 --prefix=/home/tmatth/local
   libavutil      57. 33.101 / 57. 33.101
   libavcodec     59. 42.102 / 59. 42.102
   libavformat    59. 30.100 / 59. 30.100
   libavdevice    59.  8.101 / 59.  8.101
   libavfilter     8. 46.103 /  8. 46.103
   libswscale      6.  8.103 /  6.  8.103
   libswresample   4.  8.100 /  4.  8.100
   libpostproc    56.  7.100 / 56.  7.100
 Input #0, ogg, from 'rev.opus':    0KB vq=    0KB sq=    0B f=0/0
   Duration: 00:00:06.00, start: 0.000000, bitrate: 64 kb/s
   Stream #0:0(eng): Audio: opus, 48000 Hz, stereo, fltp
     Metadata:
       handler_name    : SoundHandler
       vendor_id       : [0][0][0][0]
       major_brand     : isom
       minor_version   : 512
       compatible_brands: isomiso2avc1mp41
       encoder         : Lavf58.76.100
 }}}


 Note that:
 {{{
 ./ffplay -acodec libopus rev.opus
 }}}
 doesn't glitch but also that this happens with streamcopying via ffmpeg as
 well (so not specific to ffplay).

 The file plays fine with VLC, totem, and opusdec also decodes it to wav
 without any glitches.

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


More information about the FFmpeg-trac mailing list