Missing SAP

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
johnnyauyeung
New Cone
New Cone
Posts: 5
Joined: 18 Jun 2011 05:13

Missing SAP

Postby johnnyauyeung » 20 Jun 2011 10:46

I tried to stream 4 four programs of one frequency to 4 stream with SAP announcement P1, P2, P3, P4 under group G1.

Most of the time, I can see only 3 of them announced. Sometime "P1, P2, P3", sometimes "P1,P2,P4".
Here is my command line:
c:vlc -vvv dvb-t://frequency=482000000 :dvb-adapter=0 :programs=1,2,3,4 :
sout=#duplicate{dst=udp{dst=239.190.1.1:1234,sap,group=G1,name=P1},select=program=1,
dst=udp{dst=239.190.1.2:1234,sap,group=G1,name=P2},select=program=2,
dst=udp{dst=239.190.1.3:1234,sap,group=G1,name=P3},select=program=3,
dst=udp{dst=239.190.1.4:1234,sap,group=G1,name=P4},select=program=4} :ttl=3 :sout-keep

I'm using 1.1.10 windows version. Anyone see this before ? It is related to wrong syntax?
Adding ":sout-rtp-sap" or ":sout-standard-sap" have no effect for that issue.

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

Re: Missing SAP

Postby Rémi Denis-Courmont » 20 Jun 2011 13:14

I guess you should check with wireshark that you actually do send and receive the SAP announces.

There may be some packet loss.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

johnnyauyeung
New Cone
New Cone
Posts: 5
Joined: 18 Jun 2011 05:13

Re: Missing SAP

Postby johnnyauyeung » 21 Jun 2011 10:03

Packet capture on both server and client machine show that ALL 4 program's SAP.
However, neither vlc player on server or client machine can see all the announcement.
Sometimes only 2 or 3 program appear. In rare case, it has all 4 programs there.
No matter the program appears or not, the stream can be play by using the URL directly.
It seems like the player's issue.

pierre2mars
New Cone
New Cone
Posts: 4
Joined: 10 Aug 2011 11:25

Re: Missing SAP

Postby pierre2mars » 07 Sep 2011 10:58

Hi,

same issue here:

A windows XP PC streams and sends sap announces.
A Win7 PC tries to receive them
vlc 1.1.11 on both PCs.
sap announce and stream are seen and displayed on the XP host PC.
On the client, I see the stream packets and sap announces in wireshark ,but nothing in VLC, no sap, and if I open the network stream directly, no errors but no video...
logs on client:

Code: Select all

qt4 warning: Input option: rtp-caching=1000 main debug: adding item `rtp://239.255.12.42:9875' ( rtp://@239.255.12.42:9875 ) qt4 debug: Adding a new MRL to recent ones: rtp://@239.255.12.42:9875 main debug: rebuilding array of current - root Playlist main debug: rebuild done - 2 items, index 0 main debug: processing request item rtp://239.255.12.42:9875 node null skip 0 main debug: resyncing on rtp://239.255.12.42:9875 main debug: rtp://239.255.12.42:9875 is at 1 main debug: starting new item main debug: creating new input thread main debug: Creating an input for 'rtp://239.255.12.42:9875' main debug: thread started main debug: thread (input) created at priority 1 (../.././src/input/input.c:220) main debug: using timeshift granularity of 50 MiB main debug: using timeshift path 'C:\Users\PG\AppData\Local\Temp' main debug: `rtp://@239.255.12.42:9875' gives access `rtp' demux `' path `@239.255.12.42:9875' main debug: creating demux: access='rtp' demux='' path='@239.255.12.42:9875' main debug: looking for access_demux module: 1 candidate main debug: net: opening 239.255.12.42 datagram port 9875 main debug: Multicast group join request main debug: using access_demux module "rtp" main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms) main debug: looking for meta reader module: 2 candidates lua debug: Trying Lua scripts in C:\Users\PG\AppData\Roaming\vlc\lua\meta\reader lua debug: Trying Lua scripts in C:\Program Files\VideoLAN\VLC\lua\meta\reader lua debug: Trying Lua playlist script C:\Program Files\VideoLAN\VLC\lua\meta\reader\filename.lua main debug: no meta reader module matching "any" could be loaded main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms) main debug: `rtp://@239.255.12.42:9875' successfully opened qt4 debug: IM: Setting an input
any idea?

Pierre

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

Re: Missing SAP

Postby Rémi Denis-Courmont » 07 Sep 2011 11:31

You can't open the SAP group as an RTP stream. No bugs there.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

pierre2mars
New Cone
New Cone
Posts: 4
Joined: 10 Aug 2011 11:25

Re: Missing SAP

Postby pierre2mars » 09 Sep 2011 10:16

problem was due to an other program: Connectify (software hotspot). I don't know how, but it makes VLC not see SAP announces..
Problem solved.
thanks


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 25 guests