Opened 6 months ago

Closed 6 months ago

#10680 closed defect (wontfix)

Bug in last ffmpeg opus decoder: output always 48 KHz

Reported by: Jose Peirote Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords:
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

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

Attachments (1)

w2-44.opus (56.0 KB ) - added by Jose Peirote 6 months ago.

Download all attachments as: .zip

Change History (4)

by Jose Peirote, 6 months ago

Attachment: w2-44.opus added

comment:1 by Jun Zhao, 6 months ago

same as #5240

comment:2 by Jose Peirote, 6 months ago

OK, thanks.

comment:3 by Jose Peirote, 6 months ago

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