Log in

View Full Version : Make x264's output mp4 file begin with the moov atom for streaming


ramprasad85
11th September 2013, 03:00
If x264's input is a regular file and if all the details such as duration of the video etc etc required to form the moov atom is available at the beginning of encoding itself, can x264 generate an mp4 file that can be used for streaming to flash player using HTTP progressive download i.e. with the movie atom at the beginning of the file?

If it doesn't, how can I make it do so? (I can do bit of C programming, kindly give me some directions).

Or is there an exe which can read x264's output using pipe and write such an mp4 file?


I want to stream the file as it is getting encoded. so I cant use qt-faststart etc

Thanks

Note: Got no reply at at http://doom10.org/index.php?topic=2622.0 :-( So posting here

Warperus
11th September 2013, 13:27
You can mux file with mp4box, but you need to complete elementary stream file.

Take a look at DashCast. May be it's what you need for streaming.