[FFmpeg-trac] #9922(undetermined:closed): unexpected sample format of mp3
FFmpeg
trac at avcodec.org
Mon Sep 12 20:54:42 EEST 2022
#9922: unexpected sample format of mp3
-------------------------------------+-------------------------------------
Reporter: Mia Sia | Owner: (none)
Type: defect | Status: closed
Priority: normal | Component:
| undetermined
Version: git-master | Resolution: invalid
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Changes (by Carl Eugen Hoyos):
* keywords: libmp3lame =>
* resolution: => invalid
* status: new => closed
* component: avformat => undetermined
Comment:
This is just how FFmpeg works: You cannot choose the sample format a
particular decoder returns, you have to check what it returns. In the
past, the sample formats some decoders returned changed (without a version
bump) and for a given stream the sample format may change because of
compile time options.
Decoding to float is faster on many modern platforms, the mp3 decoder
therefore outputs floats.
libmp3lame accepts different input sample formats, some of them certainly
faster than others.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9922#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list