Fragmented playback of MP4 files in a web browser

I want to create an MP4 streaming server.
I generated an MP4 file using ffmpeg as shown below.

$ffmpeg -i input.avi -movflags frag_keyframe output.mp4 

It works fine on Google Chrome, but IE9 and Safari just play a short period.
(One keyframe duration)
What is a progm?

thanks

HTML code is here:

 <body> <video id="myvideo" controls="controls"> <source src="output.mp4" type="video/mp4"/> The browser does not support HTML5 </video> </body> </html> 
+4
source share

All Articles