RTP multicast SAP item not parsing?

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.
jalles
Blank Cone
Blank Cone
Posts: 23
Joined: 28 Feb 2009 15:23

RTP multicast SAP item not parsing?

Postby jalles » 28 Feb 2009 17:14

Somewhat new with VLC. 'Holy Grail' is to stream live audio capture from a linux server via multicast to LAN clients, using Windows / MAC default players.

Current arrangement:
Server: i386 32 bit Ubuntu 8.10 Studio, PulseAudio streaming multicast from sound card input. all recent upgrades.
Client: AMD 64 dual core 2.4 Ghz 3 GB ram WinXP Media Center Edition with VLC 0.9.8a
SAP announcements enabled.

using the playlist, PulseAudio Stream is available in 'SAP'.

URI: (fails)
sdp://v=0
o=jalles 3444815591 0 IN IP4 192.168.2.42
s=PulseAudio RTP Stream on jalles-desktop
c=IN IP4 224.0.0.56
t=3444815591 0
a=recvonly
m=audio 46888 RTP/AVP 10
a=rtpmap:10 L16/44100/2
a=type:broadcast

message:

Code: Select all

main info: Running vlc with the default interface. Use 'cvlc' to use vlc without interface. live555 error: no data received in 10s, aborting main debug: starting new item main debug: processing request item PulseAudio RTP Stream on jalles-desktop node SAP skip 0 main debug: resyncing on PulseAudio RTP Stream on jalles-desktop main debug: PulseAudio RTP Stream on jalles-desktop is at 0 main debug: creating new input thread main debug: Creating an input for 'PulseAudio RTP Stream on jalles-desktop' main debug: thread started main debug: waiting for thread initialization main debug: thread 5344 (input) created at priority 1 (input/input.c:370) main debug: `sdp://v=0 o=jalles 3444815591 0 IN IP4 192.168.2.42 s=PulseAudio RTP Stream on jalles-desktop c=IN IP4 224.0.0.56 t=3444815591 0 a=recvonly m=audio 46888 RTP/AVP 10 a=rtpmap:10 L16/44100/2 a=type:broadcast ' gives access `sdp' demux `' path `v=0 o=jalles 3444815591 0 IN IP4 192.168.2.42 s=PulseAudio RTP Stream on jalles-desktop c=IN IP4 224.0.0.56 t=3444815591 0 a=recvonly m=audio 46888 RTP/AVP 10 a=rtpmap:10 L16/44100/2 a=type:broadcast ' main debug: creating demux: access='sdp' demux='' path='v=0 o=jalles 3444815591 0 IN IP4 192.168.2.42 s=PulseAudio RTP Stream on jalles-desktop c=IN IP4 224.0.0.56 t=3444815591 0 a=recvonly m=audio 46888 RTP/AVP 10 a=rtpmap:10 L16/44100/2 a=type:broadcast ' qt4 debug: Updating the stream status: 3 main debug: looking for access_demux module: 1 candidate live555 debug: RTP subsession 'audio/L16' main debug: selecting program id=0 live555 debug: setup start: 0 stop:0 live555 debug: play start: 0 stop:0 main debug: using access_demux module "live555" main debug: TIMER module_Need() : 4.000 ms - Total 4.000 ms / 1 intvls (Avg 4.000 ms) main debug: looking for a subtitle file in C:\Program Files\VideoLAN\VLC09\ main debug: looking for decoder module: 34 candidates araw debug: samplerate:44100Hz channels:2 bits/sample:16 main debug: using decoder module "araw" main debug: TIMER module_Need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: thread 5488 (decoder) created at priority 2 (input/decoder.c:217) main debug: `sdp://v=0 o=jalles 3444815591 0 IN IP4 192.168.2.42 s=PulseAudio RTP Stream on jalles-desktop c=IN IP4 224.0.0.56 t=3444815591 0 a=recvonly m=audio 46888 RTP/AVP 10 a=rtpmap:10 L16/44100/2 a=type:broadcast ' successfully opened main debug: thread started qt4 debug: New Event: type 1108 qt4 debug: New Event: type 1103 qt4 debug: Updating the stream status: 3 main debug: control type=1 live555 error: no data received in 10s, aborting main debug: EOF reached main debug: finished input qt4 debug: Updating the stream status: 8 main debug: dying input main debug: dying input main debug: removing module "live555" main debug: removing module "araw" main debug: thread ended main debug: thread times: real 0m10.625000s, kernel 0m0.000000s, user 0m0.000000s main debug: thread 5488 joined (input/decoder.c:248) main debug: killing decoder fourcc `twos', 0 PES in FIFO main debug: thread ended main debug: dead input main debug: thread times: real 0m10.625000s, kernel 0m0.000000s, user 0m0.000000s main debug: thread 5344 joined (playlist/engine.c:244) main debug: TIMER input launching for 'PulseAudio RTP Stream on jalles-desktop' : 9.000 ms - Total 9.000 ms / 1 intvls (Avg 9.000 ms) main debug: starting new item main debug: changing item without a request (current 0/1) main debug: nothing to play

URI: (succeeds)
rtp://@224.0.0.56:46888

message:

Code: Select all

qt4 debug: New item: rtp://@224.0.0.56:46888 main debug: adding item `rtp://@224.0.0.56:46888' ( rtp://@224.0.0.56:46888 ) main debug: rebuilding array of current - root SAP main debug: rebuild done - 1 items, index 0 main debug: starting new item main debug: processing request item rtp://@224.0.0.56:46888 node SAP skip 0 main debug: resyncing on rtp://@224.0.0.56:46888 main debug: rtp://@224.0.0.56:46888 is at -1 main debug: creating new input thread main debug: Creating an input for 'rtp://@224.0.0.56:46888' main debug: waiting for thread initialization main debug: thread started main debug: thread 5836 (input) created at priority 1 (input/input.c:370) main debug: `rtp://@224.0.0.56:46888' gives access `rtp' demux `' path `@224.0.0.56:46888' main debug: creating demux: access='rtp' demux='' path='@224.0.0.56:46888' main debug: looking for access_demux module: 1 candidate main debug: net: opening 224.0.0.56 datagram port 46888 main debug: Multicast group join request main debug: IP_ADD_MEMBERSHIP multicast request main debug: net: opening 224.0.0.56 datagram port 46889 main debug: Multicast group join request main debug: IP_ADD_MEMBERSHIP multicast request main debug: using access_demux module "rtp" main debug: TIMER module_Need() : 4.000 ms - Total 4.000 ms / 1 intvls (Avg 4.000 ms) main debug: looking for a subtitle file in C:\Program Files\VideoLAN\VLC09\ main debug: `rtp://@224.0.0.56:46888' successfully opened rtp debug: detected stereo PCM rtp debug: added payload type 10 (f = 44100 Hz) main debug: selecting program id=0 main debug: looking for decoder module: 34 candidates araw debug: samplerate:44100Hz channels:2 bits/sample:0 main debug: using decoder module "araw" main debug: TIMER module_Need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: thread 6068 (decoder) created at priority 2 (input/decoder.c:217) main debug: thread started rtp debug: added RTP source (87fdcd41) main debug: control type=1 qt4 debug: Updating the stream status: 3 main debug: no aout present, spawning one main debug: looking for audio output module: 3 candidates aout_directx debug: OpenAudio aout_directx debug: found device: Primary Sound Driver aout_directx debug: found device: Realtek HD Audio rear output aout_directx debug: device supports 2 channels (DEFAULT!) aout_directx debug: device supports 2 channels aout_directx debug: device supports 1 channel aout_directx debug: Windows says your SpeakerConfig is stereo aout_directx debug: creating DirectSoundThread main debug: thread started main debug: thread 6528 (DirectSound Notification Thread) created at priority 15 (directx.c:392) aout_directx debug: DirectSoundThread ready main debug: using audio output module "aout_directx" main debug: TIMER module_Need() : 106.000 ms - Total 106.000 ms / 1 intvls (Avg 106.000 ms) main debug: output 's16l' 44100 Hz Stereo frame=1 samples/4 bytes main debug: mixer 'fl32' 44100 Hz Stereo frame=1 samples/8 bytes main debug: filter(s) 'fl32'->'s16l' 44100 Hz->44100 Hz Stereo->Stereo main debug: looking for audio filter module: 24 candidates main debug: using audio filter module "converter_float" main debug: TIMER module_Need() : 7.000 ms - Total 7.000 ms / 1 intvls (Avg 7.000 ms) main debug: found a filter for the whole conversion main debug: looking for audio mixer module: 3 candidates main debug: using audio mixer module "float32_mixer" main debug: TIMER module_Need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: input 's16b' 44100 Hz Stereo frame=1 samples/4 bytes main debug: filter(s) 's16b'->'fl32' 44100 Hz->44100 Hz Stereo->Stereo main debug: looking for audio filter module: 24 candidates main debug: using audio filter module "converter_float" main debug: TIMER module_Need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: found a filter for the whole conversion main debug: filter(s) 'fl32'->'fl32' 48510 Hz->44100 Hz Stereo->Stereo main debug: looking for audio filter module: 24 candidates main debug: using audio filter module "bandlimited_resampler" main debug: TIMER module_Need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: found a filter for the whole conversion
any hope in being able to choose this from the playlist?

.ja.

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

Re: RTP multicast SAP item not parsing?

Postby Rémi Denis-Courmont » 28 Feb 2009 19:15

There are two bugs. First, the live555 plugin does not receive any packets, even though the native RTP plugin does. I don't know why.

Second, the SAP parser is not parsing the SDP properly - live555 should not be needed in this case. That should be fixed in VLC 0.9.9; sorry for the inconvenience.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

jalles
Blank Cone
Blank Cone
Posts: 23
Joined: 28 Feb 2009 15:23

Re: RTP multicast SAP item not parsing?

Postby jalles » 28 Feb 2009 19:22

Glad to help find these little things (I seem to be good at it ;) )


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 28 guests