vlc stop playing rtsp stream after 120sec with UDP

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
nobody.loopback
Cone that earned his stripes
Cone that earned his stripes
Posts: 109
Joined: 08 Mar 2005 01:20

vlc stop playing rtsp stream after 120sec with UDP

Postby nobody.loopback » 26 Jun 2011 12:09

I have a rtsp stream which is coming from VLC, and, is relayed to DSS (darwin streaming server) so I can watch it using my blackberry.
Works perfect with the blackberry.

But VLC player V1.1.10.1 on Windows and Mac(PPC and Intel) only play 120 seconds.
(I also checked some older builds of VLC)

from the log of the player:

Code: Select all

main warning: PTS is out of range (128855), dropping buffer main warning: PTS is out of range (106103), dropping buffer main warning: PTS is out of range (83326), dropping buffer main warning: PTS is out of range (60522), dropping buffer main warning: PTS is out of range (37913), dropping buffer main warning: PTS is out of range (15171), dropping buffer main warning: PTS is out of range (-7641), dropping buffer main warning: PTS is out of range (-29805), dropping buffer main warning: buffer is 50519 in advance, triggering downsampling main warning: timing screwed, stopping resampling main warning: buffer is 94786 in advance, triggering downsampling main warning: audio drift is too big (-140649), clearing out main warning: timing screwed, stopping resampling main warning: mixer start isn't output start (-63620) main debug: audio output is starving (440565), playing silence main debug: audio output is too slow (590118), trashing 46439us main debug: audio output is too slow (544356), trashing 46439us main debug: audio output is too slow (498159), trashing 46440us main debug: audio output is too slow (451865), trashing 46440us main debug: audio output is too slow (405547), trashing 46440us main debug: audio output is too slow (359225), trashing 46440us main debug: audio output is too slow (312914), trashing 46440us main debug: audio output is too slow (266595), trashing 46440us main debug: audio output is too slow (220272), trashing 46440us main debug: audio output is too slow (173951), trashing 46440us main debug: audio output is too slow (127628), trashing 46440us main debug: audio output is too slow (81307), trashing 46440us main warning: output date isn't PTS date, requesting resampling (44389) main warning: buffer is 48767 late, triggering upsampling main warning: resampling stopped after 8552711 usec (drift: 21952) main warning: buffer is 49511 in advance, triggering downsampling main warning: timing screwed, stopping resampling main warning: buffer is 74843 in advance, triggering downsampling main error: ES_OUT_SET_(GROUP_)PCR is called too late (pts_delay increased to 1200 ms) main debug: ES_OUT_RESET_PCR called main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% main debug: Buffering 0% live555 warning: no data received in 10s, eof ? main debug: EOF reached
Server, VLC transcoder, and the blackberries and VLC clients are on the same local network. Blackberry is using WiFi and VLC is using wired lan.

Streaming does not stop in VLC client, when I check "Use RTP over RTSP(TCP) in the demuxer section.
Even if this is a workaround, any Idea who is responsible for VLC to play using UDP (VLC player or DSS), or what could I change that UDP will also work ?

EDIT: I found, that in DSS there is a rtp_timeout of 120 seconds, which is most likely the reason why the stream stops.
Sounds reasonable to stop the stream in case nobody listens any more, but then, the client should keep the connection alive somehow - which it does not. Or is this checkbox in VLC just this feature ? I am not very familiar with the rtsp protocol.

Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: Vhozid and 40 guests