[SOLVED] Play 16 kHz PCM stream over rtp

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.
tik0
New Cone
New Cone
Posts: 4
Joined: 28 Aug 2012 18:44

[SOLVED] Play 16 kHz PCM stream over rtp

Postby tik0 » 28 Aug 2012 19:50

Hey fellows,

I simply try to play back an 16 kHz PCM stream over rtp, but every time I get the following error message:

SDP required:
A description in SDP format ....... dynamic payload format (127)

The source stream is from a Barix PS1 (http://www.barix.com/).
I have no clue where to get the SDP information from. With the mplayer it works, but I need to get it running with the vlc.

Thanks in advance,
Tik0
Last edited by tik0 on 29 Aug 2012 17:18, edited 1 time in total.

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

Re: Play 16 kHz PCM stream over rtp

Postby Rémi Denis-Courmont » 28 Aug 2012 20:07

We know where to get the SDP from VLC. From something else, you need to ask from the vendor.

Alternatively, write the SDP by hand; VLC can read the SDP from a local file.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

tik0
New Cone
New Cone
Posts: 4
Joined: 28 Aug 2012 18:44

Re: Play 16 kHz PCM stream over rtp

Postby tik0 » 29 Aug 2012 11:13

Hi again,

I wrote the following sdp-file:

Code: Select all

c=IN IP4 192.168.2.61 m=audio 3061 RTP/AVP 127 a=rtpmap:127 s16l/16000/2
but when I open this, vlc pops up, but nothin is played.
I can defenetly say, that the PC recieves the stream, because when I use mplayer with the following command, the playback works:

Code: Select all

mplayer.exe -demuxer rawaudio -rawaudio channels=1:rate=16000:format=0x20776172 rtp://192.168.2.61:3061

tik0
New Cone
New Cone
Posts: 4
Joined: 28 Aug 2012 18:44

Re: Play 16 kHz PCM stream over rtp

Postby tik0 » 29 Aug 2012 17:15

Hey guys,

i've found the solution.

Setup:
One Source which is streaming "linear PCA/mono/16bit/16kHz" with the payload identifier "127" over broadcast (192.168.2.255:3061) into my network.
On the other hand i have a laptop wich needs to recieve this stream and play it.
So for that I wrote a sdp-file and just opened it with vlc-player:

Code: Select all

c=IN IP4 192.168.2.255 m=audio 3061 RTP/AVP 127 a=rtpmap:127 L16/16000
PS: You get all the information regarding the sdp-file standart from the following file: http://www.ietf.org/rfc/rfc2327.txt

Greetz Tik0


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 49 guests