Page 1 of 1

Use udp / rtp receive audio problem

Posted: 09 Mar 2010 00:11
by georgezou
I have trouble to get sound from a Barix instreamer.

I can use: udp://10.0.0.42/xstream:4444 on WinAmp to get sound, but not with VLC.
Where can I found error log file?

What syntax should I use for udp / rtp ?

TIA

George

Re: Use udp / rtp receive audio problem

Posted: 09 Mar 2010 17:53
by Rémi Denis-Courmont
VLC RTP syntax is rtp://[[src_IP][:src_port]@][dst_IP][:dst_port] (versions >= 1.1.0) and was rtp://[src_IP][:src_port][@[dst_IP][:dst_port]] (versions < 1.1.0).

Re: Use udp / rtp receive audio problem

Posted: 09 Mar 2010 19:40
by georgezou
It works:
vlc rtp://10.0.0.42:4444@10.0.0.102:4444

Now how do I redirect the output to a file?

I used option: sout=#transcode{acodec=mp3,ab=128,channels=2,samplerate=44100}:duplicate{dst=std{access=file,mux=raw,dst='c:\test.mp3'}}
This option works fine for http, but not work for rtp. The file is created. But the size is 0.

Please help.

Re: Use udp / rtp receive audio problem

Posted: 09 Mar 2010 20:26
by georgezou
Never mind, I got it working.

Many thanks, Rémi.


George

Re: Use udp / rtp receive audio problem

Posted: 03 Jul 2019 14:23
by Churchwell
How were you able to solve it? On using Linux software it was able to work with the barix but when it came to streaming audio from the barix to Vlc using UDP protocol on Windows 10, it wasn't recognizing the Barix. This was with VLC version 3.0.7.1. On the other hand, configuring the Barix on the IP adress it provided it works perfectly.