Page 1 of 1

realtime streaming to non-VLC client

Posted: 30 Sep 2007 22:26
by jimmyo
Hello - I would like to transcode a DVD in realtime and stream it to a non-VLC client via http.

I have been able to configure VLC as a server to successfully do this to Windows Media Player on the client end, using the asf encapsulation, wmv video codec and mp3 audio codec using the following command line:

vlc dvdsimple://D: --intf wx --extraintf http --http-host 0.0.0.0:80 --volume=1023 --ttl=97 --sout=#transcode{vcodec=WMV2,vb=384,scale=1,acodec=mp3,ab=16,channels=1,audio-sync}:std{access=http,mux=asf,dst=:1235}

However, Windows Media Player is not compatible with Macs so I would like to stream to QuickTime which is available on both Macs and PCs. I have tried .mov as the encapsulation + a few other encapsulations and video/audio codecs but with no luck. Is it possible to stream in realtime and have Quicktime as the client?

Same question for Flash video but I understand that a future version of VLC will have .flv compatibility...

Thanks for any information you can provide.

Jim

Re: realtime streaming to non-VLC client

Posted: 30 Sep 2007 23:58
by Jean-Baptiste Kempf
for Quicktime, you should really try mp4v/mp4a

Re: realtime streaming to non-VLC client

Posted: 01 Oct 2007 00:37
by jimmyo
Thank you, I will do that. What encapsulation should I use so that the Quicktime player can stream the content in? I understand that .mov requires a whole file so cannot be used for streaming...

Re: realtime streaming to non-VLC client

Posted: 01 Oct 2007 00:39
by Jean-Baptiste Kempf
I would suggest a TS muxer.
I would welcome any news from you on that particular point.

Re: realtime streaming to non-VLC client

Posted: 01 Oct 2007 01:47
by jimmyo
Thanks for that tip JB, but unfortunately no luck yet.

Just to narrow the scope of what I want to do, I am trying to use VLC as a streaming server for realtime transcoding (ie I can't convert the file to .mov and then stream that file) and I want embedded Quicktime as the client so that it can work on both PC & Mac.

I used the following command line to start vlc:

vlc dvdsimple://D: --intf wx --extraintf http --http-host 0.0.0.0:80 --volume=1023 --ttl=97 --sout=#transcode{vcodec=mp4v,vb=384,scale=1,acodec=mp4a,ab=16,channels=1,audio-sync}:std{access=http,mux=ts,dst=:1235}

And the embedded code for quicktime within the embedded webserver:

<object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" height="256" width="320">
<param name="src" value="http://192.168.1.101:1235">
<param name="autoplay" value="true">
<param name="controller" value="true">
<embed height="256" width="320" src="http://192.168.1.101:1235" pluginspage="http://www.apple.com/quicktime/download/" type="video/mpeg" controller="true" autoplay="true">
</object>

I've also tried mux=ps and mux=mpeg1. Any other ideas?