FORUMS: list search recent posts

Optimize mp4 for streaming

COW Forums : FFmpeg

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
Randall Perry
Optimize mp4 for streaming
on May 28, 2012 at 6:42:04 pm

Was wondering if someone could give me a command to take an existing .mp4 file (recorded with Flash Media Server) and optimize it for streaming the same way that f4vpp optimizes .f4v files?

Don't need to convert any formats, change size, etc. Just want to take existing file and place header up front so stream starts quickly.


Return to posts index

stephen dixon
Re: Optimize mp4 for streaming
on May 29, 2012 at 4:29:14 am

Included in the source for ffmpeg is a tools folder which contains a program called qt-faststart. That will rearrange the file to put the info atom before the data atom, which is I believe what you need to do. You can also get Windows and OSX binaries for it from the developer here, or download the source from ffmpeg's git repository here


Return to posts index

Randall Perry
Re: Optimize mp4 for streaming
on May 30, 2012 at 12:32:52 am

[stephen dixon] "Included in the source for ffmpeg is a tools folder which contains a program called qt-faststart. "

Thanks for the info. But qt-faststart doesn't work with these FMS-generated .mp4 files. Get the error:
encountered non-QT top-level atom (is this a QuickTime file?)
last atom in file was not a moov atom


Return to posts index


Reuben Martin
Re: Optimize mp4 for streaming
on May 31, 2012 at 2:45:29 am

Use the MP4Box tool from GPAC.

MP4Box -hint MyVideoFile.mp4


Return to posts index

Randall Perry
Re: Optimize mp4 for streaming
on May 31, 2012 at 3:25:02 pm

Thanks, I'll check it out.


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2017 CreativeCOW.net All Rights Reserved
[TOP]