We have been asked by a client to create a ProRes QT file (.mov) but specifically asked to "The moov atom (movie index file) should be placed at the beginning of the file." I have been reading around but could not find a solution for .mov files. Everybody is talking for .mp4.

The line I came with is:

ffmpeg.exe -i input.mov -c copy -map 0:v:0 -map 0:a:6 -map 0:a:7 -movflags faststart output_ATOM.mov

The audio mapping and the video copying is working fine. I need to know if the -movflags faststart is actually going to do the job? I can't find a way to check the result if it actually moved the Atom.



Yes, it does. During the process, you should see the line below near the end of ffmpeg's logging.

Starting second pass: moving the moov atom to the beginning of the file
  • Thanks Gyan! And is there a way to actually check the result if it has the moov atom at the beginning?
    – Yannis
    Apr 15 '20 at 16:39
  • See stackoverflow.com/q/56963790
    – Gyan
    Apr 15 '20 at 16:48
  • Thanks but I get a 'grep' is not recognized as an internal or external command, operable program or batch file. Any idea?
    – Yannis
    Apr 15 '20 at 16:58
  • Which OS are you on?
    – Gyan
    Apr 15 '20 at 18:04
  • windows 10. Thanks.
    – Yannis
    Apr 16 '20 at 8:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.