[FFmpeg-trac] #10680(undetermined:new): Bug in last ffmpeg opus decoder: output always 48 KHz
FFmpeg
trac at avcodec.org
Wed Nov 22 16:28:50 EET 2023
#10680: Bug in last ffmpeg opus decoder: output always 48 KHz
-------------------------------------+-------------------------------------
Reporter: Jose | Type: defect
Peirote |
Status: new | Priority: normal
Component: | Version:
undetermined | unspecified
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
ffmpeg.exe -i w2-44.opus -acodec pcm_s24le w2-44.opus_.wav
ffmpeg version 2023-11-13-git-67a2571a55-full_build-www.gyan.dev Copyright
(c) 2000-2023 the FFmpeg developers
built with gcc 12.2.0 (Rev10, Built by MSYS2 project)
configuration: ... --enable-libopus ...
libavutil 58. 32.100 / 58. 32.100
libavcodec 60. 33.100 / 60. 33.100
libavformat 60. 17.100 / 60. 17.100
libavdevice 60. 4.100 / 60. 4.100
libavfilter 9. 13.100 / 9. 13.100
libswscale 7. 6.100 / 7. 6.100
libswresample 4. 13.100 / 4. 13.100
libpostproc 57. 4.100 / 57. 4.100
[ogg @ 000001ec45bac0c0] 612 bytes of comment header remain
Input #0, ogg, from 'C:\tmp\w2-44.opus':
Duration: 00:00:05.01, start: 0.000000, bitrate: 91 kb/s
Stream #0:0: Audio: opus, 48000 Hz, stereo, fltp
Metadata:
ENCODER : opusenc from opus-tools 0.2-29-gecd50e5
ENCODER_OPTIONS : --bitrate 96
Stream mapping:
Stream #0:0 -> #0:0 (opus (native) -> pcm_s24le (native))
Output #0, wav, to 'C:\tmp\w2-44.opus_.wav':
Metadata:
ISFT : Lavf60.17.100
Stream #0:0: Audio: pcm_s24le ([1][0][0][0] / 0x0001), 48000 Hz, stereo,
s32, 2304 kb/s
Metadata:
ENCODER_OPTIONS : --bitrate 96
encoder : Lavc60.33.100 pcm_s24le
[out#0/wav @ 000001ec45c15e40] video:0kB audio:1406kB subtitle:0kB other
streams:0kB global headers:0kB muxing overhead: 0.007083%
size= 1406kB time=00:00:04.99 bitrate=2307.2kbits/s speed= 214x
End job.
---------------------------------
Work fine with opusdec:
opusdec.exe w2-44.opus w2-44.opus_.wav
Decoding to 44100 Hz (2 channels)
Encoded with libopus 1.4-9-gc8549975, libopusenc 0.2.1-16-ge4285b5
ENCODER=opusenc from opus-tools 0.2-29-gecd50e5
ENCODER_OPTIONS=--bitrate 96
Decoding complete.
End job.
----------------------------------
The bug is present also in ffms2_r1387 and L-SMASH-Works-r1156.0.0.0
Sample attached
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10680>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list