Streaming x264 mp4 files

Associate
Joined
9 Jan 2006
Posts
114
Hi all,

I'm trying to convert my site from using "streaming" flv files to mp4 files (encoded as x264 in ffmpeg). I say "streaming" as I'm just using normal http and it just plays as it's being downloaded rather than waiting til the whole file is downloaded.

Now, I've converted the files into .mp4 format, and read that in order to stream mp4 files you need to move the "moov" bit of the file to the start. I've done this with MP4Box and/or ffmpeg qt-faststart. This allows the movie to stream without it downloading first when I view it directly (e.g. in QuickTime).

However, attempting to use these mp4 files inside a swf player like JW Player, it doesn't do anything unless I press play, wait ages, go to a different page then come back again and refresh and press play again! (so i presume it's waiting to download the whole file?)

I'm stumped.

Anyone got any suggestions to help me out at all? :confused:
 
Uuugh...problem solved.

I forgot gzip was enabled and was compressing the mp4 files. I disabled it and all was well with the world again. :rolleyes: Can't believe how many hours I spent with different settings and video players to discover it was something so stupid! :o
 
Back
Top Bottom