Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

MP4 file progressive play


Hello, our company use your player for HLS streaming, but we also want to play mp4 files (size more then 200Mb). Do we need to set some special options to play those files progressive (not to wait that whole file came to client browser)? Or we need to change video format?

Thank You,
Vladan

1 Community Answers

MisterNeutron

User  
0 rated :

To enable streaming of an MP4, so the video will start playing once a few seconds of it have arrived at the client, you just need to make sure that the moov atom in the video is at the beginning of the file.

If you have already converted the video to its desired bitrate, framerate, etc., and just want to reposition the moov atom, you can use MP4 FastStart:

http://www.datagoround.com/lab/

It's free, and can process an entire folder of videos in seconds. It does only one thing - it repositions the moov atom.

If you're using HandBrake to prepare your videos (http://handbrake.fr/), just check the "Web optimized" box, which does the same thing.

If you're using ffmpeg, include this:

-movflags faststart

This question has received the maximum number of answers.