Opened 4 years ago

Closed 4 years ago

#8649 closed defect (fixed)

opus decoding regression

Reported by: Carl Eugen Hoyos Owned by:
Priority: important Component: avcodec
Version: git-master Keywords: opus regression
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

An irc user provided an opus file that sounds broken since 51027d0b8b2835d4c70c9cb7b2ab5e28d5e3f22f, I will send a patch.

$ ffmpeg -i 09.opus out.wav
ffmpeg version N-97572-gb9746fcbee Copyright (c) 2000-2020 the FFmpeg developers
  built with gcc 9 (SUSE Linux)
  configuration: --enable-gpl --enable-gnutls --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libdav1d --enable-libvpx --enable-libopus --enable-libxml2 --enable-libwebp
  libavutil      56. 43.100 / 56. 43.100
  libavcodec     58. 82.100 / 58. 82.100
  libavformat    58. 42.102 / 58. 42.102
  libavdevice    58.  9.103 / 58.  9.103
  libavfilter     7. 80.100 /  7. 80.100
  libswscale      5.  6.101 /  5.  6.101
  libswresample   3.  6.100 /  3.  6.100
  libpostproc    55.  6.100 / 55.  6.100
[ogg @ 0x22b2c00] 1 bytes of comment header remain
Input #0, ogg, from '09.opus':
  Duration: 00:02:58.06, start: 0.000000, bitrate: 64 kb/s
    Stream #0:0: Audio: opus, 48000 Hz, stereo, fltp
Stream mapping:
  Stream #0:0 -> #0:0 (opus (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, wav, to 'out.wav':
  Metadata:
    ISFT            : Lavf58.42.102
    Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 48000 Hz, stereo, s16, 1536 kb/s
    Metadata:
      encoder         : Lavc58.82.100 pcm_s16le
size=   33386kB time=00:02:58.06 bitrate=1536.0kbits/s speed= 359x    
video:0kB audio:33386kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.000228%

Attachments (1)

09.opus (1.4 MB ) - added by Carl Eugen Hoyos 4 years ago.

Download all attachments as: .zip

Change History (3)

by Carl Eugen Hoyos, 4 years ago

Attachment: 09.opus added

comment:1 by Carl Eugen Hoyos, 4 years ago

This issue was originally reported by irc user Xogium.

comment:2 by Carl Eugen Hoyos, 4 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.