LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to use VLC to stream AVI files from one Linux machine to another Linux machine (https://www.linuxquestions.org/questions/linux-software-2/how-to-use-vlc-to-stream-avi-files-from-one-linux-machine-to-another-linux-machine-718517/)

bgoodr 04-11-2009 08:10 PM

How to use VLC to stream AVI files from one Linux machine to another Linux machine
 
I want to stream a AVI file from one Linux machine to another Linux machine, ideally using VLC. I want to be able to execute vlc from the command line on the source machine, passing parameters and the file path to the AVI file, and invoke vlc on the receiving machine in GUI mode to see and hear the the video. What is that command line on the sending machine? What is the menus I need to select through, and where do I put the IP addresses and port numbers to tell the receiving machines VLC session where the source machine is at?

Both machines are Debian "Testing" machines with VLC installed via the vlc Debian package. Both machines are running the latest GNOME (via the Debian package, not built from source). Both machines are on a local area network with no firewall setups. I don't plan to stream out to the Internet, just locally "at the house". Both machines IP addresses are statically allocated. Neither machine is sporting a DNS server, and I believe that is not required for this (but correct me if I'm wrong abou that presumption).

There seems to be unicast and multicast modes in VLC streaming. There are only two machines involved here, so I believe unicast is fine in this case.

I've tried following the instructions at VLC documentation, but they seem to be out-of-date. For instance, the description of RTP configuration does not explain what the IP address is for: Is it for the sending machine or the receiving machine? I'm a bit confused by that. Hence my post here. I've tried both the sender IP address and the receiver ip address when selecting RTP from the Streaming dialog box, but when I try to open a Network from the VLC session from the receiving end, I get:

Code:

Your input can't be opened:
VLC is unable to open the MRL 'rtp://@192.168.1.10:1234'. Check the log for details.

Where "192.168.1.10" is the sending machine.

Anybody have any ideas?
bgoodr

bgoodr 04-12-2009 10:23 AM

A solution
 
After a bit of struggling with the out-of-date documentation, I finally got basic streaming to work. See my writeup at How to stream AVI files from Linux to Linux.

bgoodr

thorkelljarl 04-12-2009 12:19 PM

Yes, indeed...

You get a big thank you for good forum citizenship.

raj180380 05-24-2009 02:19 AM

Great thanks for solution........i got registered in this forum to thanks you only....i was struggling a lot to make this VLC streaming work on windows....and finally with the tip of keeping ip address field blank at receiving end made it working.

bgoodr 05-24-2009 11:18 AM

Quote:

Originally Posted by raj180380 (Post 3550830)
Great thanks for solution.

You are most welcome!


All times are GMT -5. The time now is 06:10 PM.