Forum Moderators: phranque

Message Too Old, No Replies

streaming flv mp4 files

streaming flv mp4 files

         

drooh

12:02 am on Jul 25, 2009 (gmt 0)

10+ Year Member



I am not sure if this is an Apache server issue or not. From my research I think it is.

I am using jwplayer flash media player to stream videos in the format of flv and mp4. The host I was at previously it worked well with no issues and it also works on my home server. However now I have a new host and I am getting wierd results.

At the new host the mp4 files either will not stream, stream only audio or wait to load then play after clicking play (auto start not working). If on the new host I link to mp4 files on a different server they play fine with no wierdness. So this leads me to believe there is something with the new host causing these errors. The new host support said they added the mp4 mime type but from what I can tell it is still not working correctly.

Any ideas what the problem could be?

Caterham

5:59 pm on Jul 25, 2009 (gmt 0)

10+ Year Member



Streaming via HTTP? That's no real streaming, it's downloading and your player plays while it's downloading. Or are you talking about a streaming protocol?

drooh

6:01 pm on Jul 25, 2009 (gmt 0)

10+ Year Member



Yes, as you say, not real streaming, it is playing the file as it is downloading it.

any ideas?

Caterham

11:02 am on Jul 27, 2009 (gmt 0)

10+ Year Member



I'd start to monitor the HTTP traffic (you can monitor headers with the firefox extension liveHTTPheaders and network traffic with wireshark).

stream only audio

Interesting. With some normal software this could be a codec problem, but with such a swf player... and it worked previously... no idea.

The bandwidth is ok? I.e. if you download the file directly?

drooh

9:59 pm on Jul 27, 2009 (gmt 0)

10+ Year Member



Using liveHTTPheaders this is what was coming from the server that has given me issues streaming mp4. This though is for one using flv.

HTTP/1.x 200 OK
Date: Mon, 27 Jul 2009 21:56:05 GMT
Server: Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8e-fips-rhel5 DAV/2 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 mod_perl/2.0.4 Perl/v5.8.8
Last-Modified: Wed, 22 Jul 2009 16:05:19 GMT
Etag: "8c600ba-4a4f00a-46f4d89a06dc0"-gzip
Accept-Ranges: bytes
Vary: Accept-Encoding
Content-Encoding: gzip
Keep-Alive: timeout=5, max=97
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: video/x-flv

Here is from the different server, the one that never caused problems.

HTTP/1.x 200 OK
Date: Mon, 27 Jul 2009 21:56:33 GMT
Server: Apache
Last-Modified: Mon, 01 Jun 2009 08:50:26 GMT
Etag: "da3c018-1ff5e71-46b458474b880"
Accept-Ranges: bytes
Content-Length: 33513073
Keep-Alive: timeout=2, max=100
Connection: Keep-Alive
Content-Type: video/mp4

Any ideas? Could it be the gzip or chunked?