Is there any command line tools to move an h264/mp4 index to the beginning so that flash will start playing the file quicker over the net? I am aware of the tool QTIndexSwapper however it is not command line.

Alternatively is there an ffmpeg command to place the index at the front during an encoding?

Thanks.

2

2 Answers

As answered a few years later;

ffmpeg -i input.mp4 -codec copy -movflags +faststart output.mp4 

After enough poking around I managed to find a python script called qt-faststart that does it. So far so good. qt-faststart

0

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.