Hi!
Has anybody figured out whether ...Hi!
Has anybody figured out whether it would be possible to use the 'simple php streaming script' (as shown in http://www.jeroenwijering.com/extras/streaming.html) to stream mp4-files with h.264 content to the player?
I tried it without changing the php-code and it works when you play the file from beginning - when you try to skip in the file the playback breaks (I suppose it's because the stream.php sends the FLV file format header, which does not correspond the mp4 file format...).
Does anyone know how a mp4 file format header has to look like and has managed to send it to the player when skipping in a file?
Thx in advance!
First, you need the metadata of the MP4 file, and second you need an array with keyframepositions in that metadata. I'm not sure how to access the metadata, and how to insert an array with keyframe-bytepositions.
It might indeed work if you add the bytepositions and set the header to video/mp4 instead of video/flv. Please keep us posted, as I don't know if it's possible at all but am very interested!