[FFmpeg-trac] #7954(avformat:new): MP2 audio files "Header missing" and audio drops

FFmpeg trac at avcodec.org
Sat Jun 15 13:19:35 EEST 2019

#7954: MP2 audio files "Header missing" and audio drops
             Reporter:  renaud.s    |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  avformat
              Version:  git-master  |               Resolution:
             Keywords:  mp2         |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |

Comment (by renaud.s):

 I am not sure what originally produced this file. More likely a
 professional broadcast radio automation system. It is not clear to me what
 exactly the Musicam format is. Wikipedia says: "MP2, sometimes incorrectly
 called Musicam or MUSICAM". Maybe just an umbrella term for a set of

 Coming back to playing these files correctly and with all respect for the
 amazing FFmpeg project, I guess in short time frame my best bet is to use
 libmpg123 ?

 There is seem to be no occurrence of the string "musicam" in libmpg123
 source code so I guess they aren't doing anything specific with it,
 probably just ignore it.

 For my understanding, you changed the component to avformat, I suppose
 because you mean we need another demuxer but actually the "Header missing"
 is situated in \libavcodec\mpegaudiodec_template.c, reason why I though it
 was related to avcodec. I had the feeling that the files are correctly
 demuxed but sometimes improperly decoded due to a "malformed" mpeg header.
 What do you think ?

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

More information about the FFmpeg-trac mailing list