FFmpeg Cookbook
FFmpeg faststart — Fix Video That Won't Start Until Fully Downloaded
Your MP4 is slow to start playing on the web. The cause is the moov atom sitting at the end of the file, which delays playback. Fix it with FFmpeg's -movflags +faststart, which moves the index to the front for progressive download and streaming.