There're tons of these for the various platforms.
Since AtomicParsley and MP4Box are both open-source and available for most platforms, you can easily automatize the detection and fix of the moov placement problem. Or you can just run MP4Box without even bothering where the moov atom is.
To find all MP4 files with bad moov atom placement, you can use a shell script like this:
find '/path/to/videos' -iname '*.mp4' -exec sh -c 'AtomicParsley "{}" -T | awk "BEGIN {mdat=0; moov=0} /^Atom mdat / {if (mdat == 0) mdat = NR} /^Atom moov / {if (moov == 0) moov = NR} END {exit (moov > mdat ? 0 : 1)}"' \; -print
I've attached a shell script that finds and fixes MP4 files in a directory tree. You can run it periodically via crontab. Comes handy if you've incoming MP4 files (eg. via FTP upload) that you've to stream.
Recent comments
1 year 43 weeks ago
3 years 12 weeks ago
3 years 12 weeks ago
3 years 14 weeks ago
3 years 15 weeks ago
3 years 22 weeks ago
3 years 22 weeks ago
3 years 22 weeks ago
3 years 22 weeks ago
3 years 23 weeks ago