Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

HTTP-Streaming with VLC, JW Player not working


Hello all.

I am streaming from a webcamera, with the help of VLC (www.videolan.org). I have chosen to stream via http, which is something both Windows Media Player, and VLC Player can handle.

This is "proper" streaming, so there is no media-file whatsoever, just a raw stream of bytes.

Can JW Player show this, and if it can, how do I configure my webpage?

I guess all configurations go into the "flashvars"-parameter, but what exactly should I use? All my attempts have failed, this is the latest one to fail:

s1.addParam("flashvars","streamer=http://127.0.0.1:8081&autostart=true");

6 Community Answers

JW Player

User  
0 rated :

This isn't real streaming because VLC can't do RTMP yet.

It's the same as a simple HTTP progressive download.

So if your VLC command line looks like this:bc.. vlc "E:\Video.flv" --sout "#transcode{vcodec=FLV1,acodec=mp3,samplerate=44100}:std{access=http,dst=0.0.0.0:8083/stream.flv}"
Substitute your stream source.

Then the JW FLV Player code looks like this:bc.. 'file': 'http://127.0.0.1:8083/stream.flv',
Substitute your IP address.

JW Player

User  
0 rated :

Thanks for the reply.

At the moment I am using this in VLC

bc.. "C:\Program Files\VideoLAN\VLC\vlc.exe" dshow:// :dshow-vdev="Logitech QuickCam S7500" :sout=#transcode{vcodec=FLV1,acodec=mp3
,samplerate=44100}:duplicate{dst=display,dst=std{access=http,dst=0.0.0.0:8081/lo
gitech.flv}}



And this code for the JW Player

bc.. <div id="container"><a href="http://www.macromedia.com/go/getflashplayer">Get the Flash Player</a> to see this player.</div>
<script type="text/javascript" src="swfobject.js"></script>
<script type="text/javascript">
var s1 = new SWFObject("player.swf","ply","328","200","9","#FFFFFF");
s1.addParam("allowfullscreen","true");
s1.addParam("allowscriptaccess","always");
s1.addParam("flashvars","file=http://127.0.0.1:8081/logitech.flv&autostart=true");
s1.write("container");
</script>



But nothing happens, the movie never starts, and if I press the play-button, nothing happens.

JW Player

User  
0 rated :

I have the same problem, all version of player was working fine with VLC http streaming... Any ideas?

JW Player

User  
0 rated :

This is working for me:bc.. vlc dshow://:dshow-vdev="Logitech QuickCam Pro 3000 (08B0)":dshow-adev="Logitech Microphone (Pro 3000)":dshow-size="640x480":dshow-caching="1000" --sout "#transcode{vcodec=FLV1,acodec=mp3,samplerate=44100}:duplicate{dst=display,dst=std{access=http,dst=0.0.0.0:8083/stream.flv}}"

I don't know why, but it seems to take about 60 seconds for the JW FLV Player to pickup the stream.

JW Player

User  
1 rated :

@lefTy

VLC streaming not working in JW player..pls help me

JW Player

User  
1 rated :

Flash Players needs FLV container in order to work in http transport. VideoCodec can be H264 etc. and audio AAC etc..

try this

std{access=http{mime=video/x-flv},mux=ffmpeg{mux=flv},dst=0.0.0.0:1234/stream.flv}

This question has received the maximum number of answers.