How to stream a movie file without transcoding?

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
xerces8
Cone that earned his stripes
Cone that earned his stripes
Posts: 131
Joined: 22 Aug 2005 15:12

How to stream a movie file without transcoding?

Postby xerces8 » 05 Oct 2009 01:48

This might sound stupid, but how does one stream a video file with VLC as is, without any transcoding?

Simply:
- select menu Media / Streaming... ctrl+S
- Add... a file (an AVI, with XVID video and mpga audio)
- click Stream
- Add Destination : HTTP 0.0.0.0 port 80
- turn off the "Activate Transcoding" option
- click Next
(the Generated stream output string is : :sout=#transcode{vcodec=none,acodec=none,scodec=dvbs,soverlay}:std{access=http,mux=avi,dst=0.0.0.0:80})
- click Stream

Try to open the stream with another instance of VLC on same PC or on remote PC: Neither works.

But if I select trancoding (any profile, for example "Video - Theora + Vorbis (OGG)") it works.

Why does plain streaming not work?

I use VLC 1.0.2 on Windows XP (of of the clients I tried was with Ubuntu 9.04 and VLC 0.9.9a)

Regards,
David

xerces8
Cone that earned his stripes
Cone that earned his stripes
Posts: 131
Joined: 22 Aug 2005 15:12

Re: How to stream a movie file without transcoding?

Postby xerces8 » 05 Oct 2009 01:53

I also tried using a MKV/VC-1 file, but is the same.

Am I overlooking something?

veron
New Cone
New Cone
Posts: 3
Joined: 04 Oct 2009 15:46

Re: How to stream a movie file without transcoding?

Postby veron » 05 Oct 2009 03:14

This is what worked for me:

Open an instance of VLC that will be your streaming server and select Media-->Streaming...

Under the File tab, click the Add... button to add a file, click the Stream button at the bottom of the window,
which opens the Source window. Click the Next button.
On the Destination window, open the New Destination combo box and select a streaming method (File, HTTP, UDP, etc), then click Add and type in an address and port number.
Uncheck the Activate Transcoding. Then change whatever is listed in the codec combo box.
This triggers a change in the final string. Click Next. If you still see a string that is longer than this:
:sout=#std{access=udp,mux=mp4,dst=224.xxx.xxx.xxx:1234}
then go back to the Previous screen and toggle the Activate Transcoding button and combo box again
to trigger the removal of the transcoding info from the Generated stream output string.
Once you are satisfied, click Stream.
Open another VLC instance and select Media->Open Network Stream.
Enter the Protocol and address. If you are using a different port than the default, enter that also.
Then click Play.

That should get you going. :D

VLC_help
Mega Cone Master
Mega Cone Master
Posts: 25661
Joined: 13 Sep 2006 14:16

Re: How to stream a movie file without transcoding?

Postby VLC_help » 05 Oct 2009 13:44

scodec=dvbs,soverlay won't work if you don't transcode. Also if you stream, use mux=ts.


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 32 guests