[Ffmpeg-devel] Quicktime (H264/AAC) Has no Audio 'missing mandatory atoms, broken header'

Scott Manley scott
Wed Mar 28 04:10:55 CEST 2007


OK here's another one for people smarter than myself to look at it's a 
quicktime file from an electronic press kit - one of the studios is 
sending out tons of these files every week and they work fine in 
official quicktime applications. ffmpeg parses the codecs as H264 and 
AAC - these shouldn't pose much of a problem for a stock ffmpeg compile, 
but when parsing it I get the warning '[mov,mp4,m4a,3gp,3g2,mj2 @ 
0x2a956d2160]missing mandatory atoms, broken header' and any video 
output by ffmpeg has no audio.


http://www.bootysatva.com/shooter.mov

ffmpeg -i  shooter.mov  -vcodec mpeg4 -f mov -acodec mp3 -ac 1 -ar 44100 
test.mov

FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.
  configuration: --cc=gcc4 --prefix=/usr --libdir=/usr/lib64 
--mandir=/usr/share/man --incdir=/usr/include/ffmpeg 
--extra-cflags=-fPIC --enable-libmp3lame --enable-libogg 
--enable-libvorbis --enable-libfaad --enable-liba52 --enable-liba52bin 
--enable-libdts --enable-pp --enable-shared --enable-gpl --disable-strip 
--enable-pthreads
  libavutil version: 49.4.0
  libavcodec version: 51.40.2
  libavformat version: 51.11.0
  built on Mar 27 2007 14:29:48, gcc: 4.1.0 20060515 (Red Hat 4.1.0-18)
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x2a956d2160]missing mandatory atoms, broken 
header
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'shooter.mov':
  Duration: 00:00:59.7, start: 0.000000, bitrate: 1916 kb/s
  Stream #0.0(eng): Video: h264, yuv420p, 480x208, 24.00 fps(r)
  Stream #0.1(eng): Audio: aac
Output #0, mov, to 'test.mov':
  Stream #0.0: Video: mpeg4, yuv420p, 480x208, q=2-31, 200 kb/s, 24.00 
fps(c)
  Stream #0.1: Audio: mp3, 44100 Hz, mono, 64 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
  Stream #0.1 -> #0.1
[mpeg4 @ 0x2a95b9d870]removing common factors from framerate
Press [q] to stop encoding
frame= 1433 fps=204 q=2.0 Lsize=    1536kB time=0.1 bitrate=240836.5kbits/s
video:1523kB audio:0kB global headers:0kB muxing overhead 0.847141%





More information about the ffmpeg-devel mailing list