realtime streaming to non-VLC client

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
jimmyo
Blank Cone
Blank Cone
Posts: 10
Joined: 30 Sep 2007 22:13

realtime streaming to non-VLC client

Postby jimmyo » 30 Sep 2007 22:26

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

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: realtime streaming to non-VLC client

Postby Jean-Baptiste Kempf » 30 Sep 2007 23:58

for Quicktime, you should really try mp4v/mp4a
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

jimmyo
Blank Cone
Blank Cone
Posts: 10
Joined: 30 Sep 2007 22:13

Re: realtime streaming to non-VLC client

Postby jimmyo » 01 Oct 2007 00:37

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...

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: realtime streaming to non-VLC client

Postby Jean-Baptiste Kempf » 01 Oct 2007 00:39

I would suggest a TS muxer.
I would welcome any news from you on that particular point.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

jimmyo
Blank Cone
Blank Cone
Posts: 10
Joined: 30 Sep 2007 22:13

Re: realtime streaming to non-VLC client

Postby jimmyo » 01 Oct 2007 01:47

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?


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 29 guests