Help setting up a simple stream (RTP)

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
auxym
New Cone
New Cone
Posts: 6
Joined: 28 Apr 2012 23:21

Help setting up a simple stream (RTP)

Postby auxym » 28 Apr 2012 23:38

Alright, I went through the wiki, as well as searched google and these forums a bit, but couldn't find much. Hopefully, what I am trying to set up is pretty simple.

Server: Windows 7 running VLC 2.0.1 (192.168.1.202)
Client: Arch Linux running VLC 2.0.1 (192.168.1.209)

What I want to achieve:
Basically, stream an audio file (flac or mp3) from my windows box (in my bedroom) to the linux box (in my living room, outputting to the stereo).

What I did:
On the windows box, Media>stream and set it up according to the wiki article, no transcoding. The resulting output string is as follows:

Code: Select all

:sout=#rtp{dst=192.168.1.209,port=5004,mux=ts,ttl=6} :sout-all :sout-keep
on the linux box, from console, I then run the following

Code: Select all

$cvlc rtp://@:5004
And then nothing happens. VLC starts, I get some messages about the interface, but no sound.

Troubleshooting I've already tried
I can play local files (sound) on the linux box with vlc. So I can confirm that sound works, alsa is set up properly, etc.

Then, I tried to set up the same stream on windows but set the dst to 192.168.2.202, ie. the same machine. I then open another instance of vlc, and try to open rtp://@:5004. Same problem: no sound, nothing.

The computers are able to ping each other.

I'm pretty much stumped right now, so I was hoping you guys could help me set this up. Much thanks in advance!

auxym
New Cone
New Cone
Posts: 6
Joined: 28 Apr 2012 23:21

Re: Help setting up a simple stream (RTP)

Postby auxym » 29 Apr 2012 19:05

Alright, I figured out that my problem was with flac (not supported by RTP/TS), so I set up a HTTP stream with ogg muxing and it seems to work fine. I do have a crash problem with the linux client though, so I started another thread: viewtopic.php?f=13&t=100626

Mods, I decided not to delete this in case someone searches for a similar problem. please feel free to close it or delete as you see fit.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 74 guests