Live555 RTSP Pause

For questions and discussion that is NOT (I repeat NOT) specific to a certain Operating System.
lowtide
New Cone
New Cone
Posts: 2
Joined: 19 Oct 2011 16:25

Live555 RTSP Pause

Postby lowtide » 09 Nov 2011 23:59

I'm having trouble pausing and unpausing an RTSP stream to a live555 server. I can pause the stream but when I attempt to unpause the vlc player freezes for a while then restarts from the beginining.

Looking the server and the RTSP traffic on the wire; the server receives a correct Pause and subsequent Play request. And the server starts to send RTP packets from where it left off when unpaused.

Is anyone else experiencing this or is it just me?

Thanks

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: Live555 RTSP Pause

Postby Sébastien Escudier » 10 Nov 2011 08:29

look at vlc logs

lowtide
New Cone
New Cone
Posts: 2
Joined: 19 Oct 2011 16:25

Re: Live555 RTSP Pause

Postby lowtide » 10 Nov 2011 15:54

Here is the log. I added a couple of extra debug messages to try to figure out what is going on. I seems to me that when it comes out of a pause it invalidates the cache of frames it already has. Then the server and the client never get back together, particularly I'm not seeing the RTCP request being honored on the server side.

Code: Select all

[0x9694c28] main video output debug: render time 1256 [0x9694c28] main video output debug: render time 948 [0x9694c28] main video output debug: render time 745 [0x9694c28] main video output debug: render time 571 [0x9694c28] main video output debug: render time 440 [0x9694c28] main video output warning: late picture skipped (129796 > -440) [0x9694c28] main video output warning: late picture skipped (89796 > -440) [0x9694c28] main video output warning: late picture skipped (149332 > -440) [0x9694c28] main video output warning: late picture skipped (109332 > -440) [0x9694c28] main video output warning: late picture skipped (69332 > -440) [0x9694c28] main video output warning: late picture skipped (29332 > -440) [0x9694c28] main video output debug: render time 356 [0x9694c28] main video output debug: render time 272 [0x96272f0] main input debug: control type=1 [0x963b258] live555 demux debug: pre-pause start: -1.000000 stop:180.000000 Sending request: PAUSE rtsp://10.41.52.233:8555/mpeg1or2ESVideoTest/ RTSP/1.0 CSeq: 7 User-Agent: LibVLC/1.1.11 (LIVE555 Streaming Media v2011.10.09) Session: 0000669B Received 84 new bytes of response data. Received a complete PAUSE response: RTSP/1.0 200 OK CSeq: 7 Date: Wed, Nov 09 2011 21:24:45 GMT Session: 0000669B [0x963b258] live555 demux debug: pause start: 0.000000 stop:180.000000 [0x9694c28] main video output debug: render time 217 [0x963b258] live555 demux debug: pre-pause start: -1.000000 stop:180.000000 Sending request: PLAY rtsp://10.41.52.233:8555/mpeg1or2ESVideoTest/ RTSP/1.0 CSeq: 8 User-Agent: LibVLC/1.1.11 (LIVE555 Streaming Media v2011.10.09) Session: 0000669B Received 180 new bytes of response data. Received a complete PLAY response: RTSP/1.0 200 OK CSeq: 8 Date: Wed, Nov 09 2011 21:24:49 GMT Session: 0000669B RTP-Info: url=rtsp://10.41.52.233:8555/mpeg1or2ESVideoTest/track1;seq=16320;rtptime=2149800238 [0x96272f0] main input debug: ES_OUT_RESET_PCR called [0x9694c28] main video output debug: render time 117 [0x9652790] main decoder warning: can't get output picture [0x9652790] avcodec decoder warning: disabling direct rendering [0x9652790] main decoder warning: early picture skipped [0x963b258] live555 demux debug: pause start: 0.000000 stop:180.000000 [0x9694c28] main video output debug: render time 117 [0x9694c28] main video output debug: render time 117 [0x9694c28] main video output debug: render time 97 [0x9694c28] main video output debug: render time 97 [0x9694c28] main video output debug: render time 97 [0x963b258] live555 demux debug: tk->rtpSource->hasBeenSynchronizedUsingRTCP() [0x96272f0] main input debug: ES_OUT_RESET_PCR called [0x96272f0] main input debug: Buffering 0% [0x96272f0] main input debug: Buffering 3% [0x96272f0] main input debug: Buffering 3% [0x96272f0] main input debug: Buffering 6% [0x96272f0] main input debug: Buffering 6% [0x9652790] avcodec decoder debug: using direct rendering [0x9694c28] main video output debug: render time 97 [0x96272f0] main input debug: Buffering 10% [0x96272f0] main input debug: Buffering 10% [0x9652790] main decoder debug: End of video preroll [0x9652790] main decoder debug: Received first picture [0x9694c28] main video output debug: render time 97 [0x9694c28] main video output debug: render time 97 [0x96272f0] main input debug: Buffering 13% [0x96272f0] main input debug: Buffering 13% [0x9694c28] main video output debug: render time 97 [0x96272f0] main input debug: Buffering 16% [0x96272f0] main input debug: Buffering 16% [0x9694c28] main video output debug: render time 97 [0x96272f0] main input debug: Buffering 20% [0x96272f0] main input debug: Buffering 20% [0x9694c28] main video output debug: render time 97 [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x9694c28] main video output debug: render time 97 [0x9694c28] main video output debug: render time 97 [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x9694c28] main video output debug: render time 97 [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x9694c28] main video output debug: render time 97 [0x9694c28] main video output debug: render time 97 [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x9694c28] main video output debug: render time 97 [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x9694c28] main video output debug: render time 97 [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x9694c28] main video output debug: render time 97 [0x9694c28] main video output debug: render time 97 [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x9694c28] main video output debug: render time 97 [0x9694c28] main video output debug: render time 97 [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x9694c28] main video output debug: render time 97 [0x9694c28] main video output debug: render time 97 [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x9694c28] main video output debug: render time 97 [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x9694c28] main video output debug: render time 97 [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x9694c28] main video output debug: render time 97 [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x9694c28] main video output debug: render time 97 [0x9694c28] main video output debug: render time 97 [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x9694c28] main video output debug: render time 97 [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x9694c28] main video output debug: render time 97 [0x9694c28] main video output debug: render time 97 [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x9694c28] main video output debug: render time 97 [0x9694c28] main video output debug: render time 97 [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x9694c28] main video output debug: render time 97 [0x9694c28] main video output debug: render time 97 [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x9694c28] main video output debug: render time 97 [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x9694c28] main video output debug: render time 97 [0x9694c28] main video output debug: render time 97 [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x9694c28] main video output debug: render time 97 [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x9694c28] main video output debug: render time 97 [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x9694c28] main video output debug: render time 82 [0x9694c28] main video output debug: render time 82 [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x9694c28] main video output debug: render time 82 [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x9694c28] main video output debug: render time 82 [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x9694c28] main video output debug: render time 82 [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x9694c28] main video output debug: render time 73 [0x9694c28] main video output debug: render time 73 [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x9694c28] main video output debug: render time 73 [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x9694c28] main video output debug: render time 73 [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x9694c28] main video output debug: render time 73 [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x9694c28] main video output debug: render time 68 [0x9694c28] main video output debug: render time 68 [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x9694c28] main video output debug: render time 68 [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x9694c28] main video output debug: render time 68 [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x9694c28] main video output debug: render time 68 [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x9694c28] main video output debug: render time 64 [0x9694c28] main video output debug: render time 64 [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x9694c28] main video output debug: render time 64 [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x9694c28] main video output debug: render time 64 [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x9694c28] main video output debug: render time 64 [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x9694c28] main video output debug: render time 60 [0x9694c28] main video output debug: render time 60 [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x9694c28] main video output debug: render time 60 [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x9694c28] main video output debug: render time 60 [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x9694c28] main video output debug: render time 60 [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x9694c28] main video output debug: render time 50 [0x9694c28] main video output debug: render time 50 [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x9694c28] main video output debug: render time 50 [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x96272f0] main input debug: Buffering 23% [0x918aa48] main libvlc debug: deactivating the playlist [0x937aaf0] main playlist debug: Deactivate [0x937aaf0] main playlist debug: incoming request - stopping current input

Sébastien Escudier
Big Cone-huna
Big Cone-huna
Posts: 853
Joined: 06 Nov 2008 08:38
Operating System: linux

Re: Live555 RTSP Pause

Postby Sébastien Escudier » 10 Nov 2011 16:09

you say vlc restart from the begining, after the pause ? then the server is streaming the stream from the begining, that's the issue...


Return to “General VLC media player Troubleshooting”

Who is online

Users browsing this forum: No registered users and 107 guests