Use udp / rtp receive audio problem

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
georgezou
Blank Cone
Blank Cone
Posts: 16
Joined: 09 Mar 2010 00:04

Use udp / rtp receive audio problem

Postby georgezou » 09 Mar 2010 00:11

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

Rémi Denis-Courmont
Developer
Developer
Posts: 15312
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Use udp / rtp receive audio problem

Postby Rémi Denis-Courmont » 09 Mar 2010 17:53

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).
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

georgezou
Blank Cone
Blank Cone
Posts: 16
Joined: 09 Mar 2010 00:04

Re: Use udp / rtp receive audio problem

Postby georgezou » 09 Mar 2010 19:40

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.

georgezou
Blank Cone
Blank Cone
Posts: 16
Joined: 09 Mar 2010 00:04

Re: Use udp / rtp receive audio problem

Postby georgezou » 09 Mar 2010 20:26

Never mind, I got it working.

Many thanks, Rémi.


George

Churchwell
New Cone
New Cone
Posts: 1
Joined: 03 Jul 2019 14:19

Re: Use udp / rtp receive audio problem

Postby Churchwell » 03 Jul 2019 14:23

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.


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: Google [Bot] and 23 guests