Play Video Stream immediatly with embed Media Player

About encoding, codec settings, muxers and filter usage
zecas
New Cone
New Cone
Posts: 5
Joined: 08 Oct 2007 02:47

Play Video Stream immediatly with embed Media Player

Postby zecas » 17 Oct 2007 18:55

Hi,

I'm trying to do some streaming from VLC into a webpage executed with Internet Explorer, and I need some help with playing video as it arrives. At the moment, the embed media player will cache/download the stream, and only plays it after the stream finishes.

My setup for making this work is:



+ Stream Server: VLC 0.8.6c

vlc c:\stream\playlist.m3u --sout-keep --loop -I dummy --sout "#transcode{vcodec=mp1v,vb=1024,scale=1}:duplicate{dst=std{access=http,mux=mpeg1,dst=192.168.1.120:8081}}"



+ Playlist playlist.m3u:

#EXTM3U
C:\stream\video\t_crysis_mp_streetchaos_gp_gt.wmv
C:\stream\video\t_fury_fire.wmv



+ WebPage:

<html>
<head>
<title>Test</title>
</head>
<body>

<table border="1">
<tr>
<td>12345</td>
<td>

<OBJECT id='mediaPlayer' width="320" height="285"
classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95'
codebase='http://activex.microsoft.com/activex/co ... 5,1,52,701'
standby='Loading Microsoft Windows Media Player components...' type='application/x-oleobject'>
<param name='fileName' value="http://192.168.1.120:8081">
<param name='animationatStart' value='true'>
<param name='transparentatStart' value='true'>
<param name='autoStart' value="true">
<param name='showControls' value="true">
<param name='loop' value="true">
</OBJECT>

</td>
</tr>
</table>

</body>
</html>


This works okay, the embed media player plays the video stream, but not until I stop serving it, and of course it just plays the part it gathered/downloaded.

Can anyone tell me if it's possible to put media player to erhm ... play the stream as a live stream, without caching/downloading all video?

Thanks

Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 11 guests