[BUG] libavformat mp3 in mp4 with fourcc mp4a
hello, while checking a sample in mplayer, i came across a libavformat problem libavformat detects 'mp4a' fourcc in mp4 as aac always, but mplayer detects mp4a as mp3 and/or aac when appropriate. you can check the sample at http://home.twmi.rr.com/compn/163.mp4 its 3mb. i have 11mb of the file, or 'the wanderer' has a complete sample. these encodes are made by the kaizoku-fansubs group... the audio plays correctly using mplayer 163.mp4 -demuxer 35 -ac +ffmp3 some mplayer output, the only thing different between an mp4a aac and mp4a mp3 was the elementary stream descriptor atom...
AAC: MOV track #0: 105 chunks, 948 samples Audio bits: 16 chans: 2 rate: 44100 MOV: Found MPEG4 audio Elementary Stream Descriptor atom (51)! Fourcc: mp4a
MP3: MOV track #1: 2886 chunks, 0 samples Audio bits: 16 chans: 2 rate: 48000 MOV: Found MPEG4 audio Elementary Stream Descriptor atom (35)! Fourcc: mp4a
verified ffplay detects aac audio. is there a way to force codecs with ffplay? -compn
Hi, On 11/29/05, compn <tempn at twmi.rr.com> wrote:
hello, while checking a sample in mplayer, i came across a libavformat problem libavformat detects 'mp4a' fourcc in mp4 as aac always, but mplayer detects mp4a as mp3 and/or aac when appropriate.
you can check the sample at http://home.twmi.rr.com/compn/163.mp4 its 3mb. i have 11mb of the file, or 'the wanderer' has a complete sample. these encodes are made by the kaizoku-fansubs group...
the audio plays correctly using mplayer 163.mp4 -demuxer 35 -ac +ffmp3
some mplayer output, the only thing different between an mp4a aac and mp4a mp3 was the elementary stream descriptor atom...
AAC: MOV track #0: 105 chunks, 948 samples Audio bits: 16 chans: 2 rate: 44100 MOV: Found MPEG4 audio Elementary Stream Descriptor atom (51)! Fourcc: mp4a
MP3: MOV track #1: 2886 chunks, 0 samples Audio bits: 16 chans: 2 rate: 48000 MOV: Found MPEG4 audio Elementary Stream Descriptor atom (35)! Fourcc: mp4a
verified ffplay detects aac audio. is there a way to force codecs with ffplay?
I just tried with current cvs, the problem is still there it seems. Guillaume -- I am disillusioned enough to know that no man's opinion on any subject is worth a damn unless backed up with enough genuine information to make him really know what he's talking about. -- H. P. Lovecraft (about the flamewars on FFmpeg and MPlayer-dev mailing lists) http://www.brainyquote.com/quotes/quotes/h/hplovecr278144.html
Hi Guillaume POIRIER wrote:
[...]
verified ffplay detects aac audio. is there a way to force codecs with ffplay?
I just tried with current cvs, the problem is still there it seems.
Guillaume
Is that problem currently with mplayer+lavf or still present with ffplay ? I remember having this problem fixed earlier I think, and ffplay seems to correctly detect mp3 with latest cvs. -- Baptiste COUDURIER GnuPG Key Id: 0x5C1ABAAA SMARTJOG S.A. http://www.smartjog.com Key fingerprint 8D77134D20CC9220201FC5DB0AC9325C5C1ABAAA Phone: +33 1 49966312
Hi, Baptiste COUDURIER wrote:
Hi
Guillaume POIRIER wrote:
[...]
verified ffplay detects aac audio. is there a way to force codecs with ffplay?
I just tried with current cvs, the problem is still there it seems.
Guillaume
Is that problem currently with mplayer+lavf or still present with ffplay ?
Ahem, poor me. I was testing with MPlayer, which native demuxer doesn't like that sample. If I use lavf and force audio codec, everything works as expected. So it's a bug in mplayer, not ffplay. :-( Guillaume
participants (4)
-
baptiste.coudurier@smartjog.com -
gpoirier@mplayerhq.hu -
poirierg@gmail.com -
tempn@twmi.rr.com