Page 1 of 1

VLC streaming flv file to Flowplayer, firefox problem

Posted: 02 Jun 2010 19:25
by magicmaker
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.

Re: VLC streaming flv file to Flowplayer, firefox problem

Posted: 03 Jun 2010 03:49
by Greg
Yes (for the sake of your sanity)... It is a Firefox problem...Ish..?
I don't think it is a VLC thing, It did run OK in Firefox Ubuntu Linux OK a couple weeks ago when I last tried it, (FP 3.1.4 on server & Firefox on Ubuntu 10.04) but seems to have issues with some of the Windows versions, symptoms similar to what you have described.
The 3.1.x versions of Flowplayer seemed to run OK with both, but the latest 3.2 version runs default without controls and is not altogether happy with Flowplayer in Firefox...?
Perhaps raise the issue on the Flowplayer/Firefox Forums-bug repots
You could try Longtail JW Player as an alternative? I can confirm that ran OK as of a few days ago, but again cannot confirm the versions. at this time..
So. Yes
Firefox has Issues with Flowplayer in some several cases. There may be a fix in the Flowplayer Controls...? Perhaps look there.
Do post back any usefull solutions you may find. :)