h264 mp4 index to front command line

2019-05-09 02:36发布

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楼-- · 2019-05-09 03:41

As answered a few years later;

ffmpeg -i input.mp4 -codec copy -movflags +faststart output.mp4
查看更多
forever°为你锁心
3楼-- · 2019-05-09 03:43

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

查看更多
登录 后发表回答