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

FFmpeg trac at avcodec.org
Thu Jul 19 07:47:04 EEST 2018


#7321: Sample format for mp2 audio channel is incorrectly determined as fltp
rather than s16p
---------------------------------+--------------------------------------
             Reporter:  haertel  |                     Type:  defect
               Status:  new      |                 Priority:  normal
            Component:  avcodec  |                  Version:  git-master
             Keywords:           |               Blocked By:
             Blocking:           |  Reproduced by developer:  0
Analyzed by developer:  0        |
---------------------------------+--------------------------------------
 At least for my sample MPEG-TS file, current versions of ffmpeg (I tried
 it with the current git-master version) fail to determine the sample
 format for mp2 audio channels correctly.

 Though the sample format is s16p, it is reported as fltp.

 For example: ffprobe mp2_fltp_instead_of_s16p.mpegts

 Please find more informations in the log file.

 Though ffmpeg or ffplay seem to handle the audio channel correctly anyway,
 I found this problem in a (rather complex) C program written by myself,
 because the ffmpeg API also reports the wrong sample format and so my
 program produced an awful sound...

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


More information about the FFmpeg-trac mailing list