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
38 weeks 6 days ago
2 years 8 weeks ago
2 years 8 weeks ago
2 years 10 weeks ago
2 years 11 weeks ago
2 years 17 weeks ago
2 years 18 weeks ago
2 years 18 weeks ago
2 years 18 weeks ago
2 years 18 weeks ago