Issue
Why is it necessary that our mp4 video files are fully buffered when played in our video player? How do I know if the moov atom is placed at the end of the file? How do we correct that when encoding?
This issue occurs when you use Adobe's old-style progressive video download. Instead, use HTTP or RMTP streaming.
If it's necessary to continue using progressive video delivery, take the master (source) video and upload that to SPS. Providing it is a supported input format, SPS can make different video sizes depending on your defined setup, and uses a reliable codec and format.
You can find more information here: http://help.adobe.com/en_US/scene7/using/WSef8d5860223939e2-5be516d912c74cc7407-8000.html
Here is some info about moov atom (http://www.adobe.com/devnet/video/articles/mp4_movie_atom.html)
“Unless specified otherwise, the moov atom is normally stored at the end of the file in on-demand content, after all of the information describing the file has been generated. Depending on the type of on demand delivery method selected—progressive download, streaming, or local playback—the location will need to move either to the end or to the beginning of the file.”
If the above two options don't work, you can use a tool called AtomicParsley (http://atomicparsley.sourceforge.net/) to check where the moov atom of a file is:
Sample usage:
C:\Users\mavance\Desktop\AtomicParsley-win32-0.9.0>AtomicParsley myvideo.mp4 -T
Atom ftyp @ 0 of size: 32, ends @ 32
Atom free @ 32 of size: 8, ends @ 40
Atom mdat @ 40 of size: 28717284, ends @ 28717324
Atom moov @ 28717324 of size: 96541, ends @ 28813865
...
For information about moving the moov atom to the start of the file, see
http://www.stoimen.com/blog/2010/11/12/how-to-make-mp4-progressive-with-qt-faststart/
This program helps you move the important meta info from the end to the beginning of the file. It helps the video to play back as early as possible: http://multimedia.cx/eggs/improving-qt-faststart/
When you run AtomicParsely again, you see that the moov atom has changed.
Upload the new video to SPS, publish, ensure that the cache is clear, and retest.
If there is still some issue, try using this alternative tool called MP4 FastStart (http://www.datagoround.com/lab/), which can also resolve this issue.