[FFmpeg-trac] #7321(ffprobe:closed): Sample format for mp2 audio channel is incorrectly determined as fltp rather than s16p

FFmpeg trac at avcodec.org
Fri Oct 19 14:38:05 EEST 2018


#7321: Sample format for mp2 audio channel is incorrectly determined as fltp
rather than s16p
------------------------------------+-----------------------------------
             Reporter:  haertel     |                    Owner:
                 Type:  defect      |                   Status:  closed
             Priority:  normal      |                Component:  ffprobe
              Version:  git-master  |               Resolution:  invalid
             Keywords:              |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+-----------------------------------
Changes (by heleppkes):

 * status:  reopened => closed
 * resolution:   => invalid


Comment:

 mp2 is a lossy codec, there is no right or wrong sample format. It
 entirely depends what the decoder decides to decode to, and our mp2
 decoder by default decodes to fltp.

 Neither situation is correct or wrong. One is just what you want to
 happen.
 The behavior can also vary depending on how ffmpeg is build. It has both a
 fixed point (S16) and floating point (FLT) decoder. If either of those is
 disabled, the other one is always going to be used. If both are enabled,
 you can also manually specify one of them.

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


More information about the FFmpeg-trac mailing list