VLC streaming flv file to Flowplayer, firefox problem
Posted: 02 Jun 2010 19:25
Hi-
I'm not sure if this is the right forum or not, but hopefully someone here can help me, or point me in the right direction.
I have successfully followed the tutorial at http://wiki.videolan.org/Stream_VLC_to_ ... _and_Flash using: Method 2 H264 and Flash .flv. What I'm doing is grabbing an h.264 stream from an axis p1344 camera. My sout into vlc is :sout=#transcode{vcodec=h264,vb=256,deinterlace,fps=25,width=425,height=300,acodec=none}:duplicate{dst=std{access=http{mime=video/x-flv},mux=ffmpeg{mux=flv},dst=0.0.0.0:8081/mediaplayer/stream.flv}} I am grabbing the camera stream from vlc using rtsp. I'm also using vlc 1.0.0, flowplayer 3.2
Then i've created a flowplayer.html page that loads everything together and it works fine in IE 8, chrome, safari, & opera, but in firefox 3.6.3 it can take anywhere from 45 seconds to 5 minutes for the video to start playing. It seems like firefox is trying to determine the entire length of the video before starting.
<html>
<head>
<title>CornerCam</title>
<script src="flowplayer-3.2.0.min.js"></script>
</head>
<body>
<a
href="http://xxx.xxx.xxx.xxx:8081/mediaplayer/stream.flv"
style="display:block;width:425px;height:300px;"
id="player">
</a>
<script language="JavaScript">
flowplayer("player", "flowplayer-3.2.1.swf");
</script>
</body>
</html>
Thanks in advance if anyone can help.
I'm not sure if this is the right forum or not, but hopefully someone here can help me, or point me in the right direction.
I have successfully followed the tutorial at http://wiki.videolan.org/Stream_VLC_to_ ... _and_Flash using: Method 2 H264 and Flash .flv. What I'm doing is grabbing an h.264 stream from an axis p1344 camera. My sout into vlc is :sout=#transcode{vcodec=h264,vb=256,deinterlace,fps=25,width=425,height=300,acodec=none}:duplicate{dst=std{access=http{mime=video/x-flv},mux=ffmpeg{mux=flv},dst=0.0.0.0:8081/mediaplayer/stream.flv}} I am grabbing the camera stream from vlc using rtsp. I'm also using vlc 1.0.0, flowplayer 3.2
Then i've created a flowplayer.html page that loads everything together and it works fine in IE 8, chrome, safari, & opera, but in firefox 3.6.3 it can take anywhere from 45 seconds to 5 minutes for the video to start playing. It seems like firefox is trying to determine the entire length of the video before starting.
<html>
<head>
<title>CornerCam</title>
<script src="flowplayer-3.2.0.min.js"></script>
</head>
<body>
<a
href="http://xxx.xxx.xxx.xxx:8081/mediaplayer/stream.flv"
style="display:block;width:425px;height:300px;"
id="player">
</a>
<script language="JavaScript">
flowplayer("player", "flowplayer-3.2.1.swf");
</script>
</body>
</html>
Thanks in advance if anyone can help.