[vlc-devel] RTSP/RTP streaming issue

Ratin ratin3 at gmail.com
Tue Dec 11 20:44:06 CET 2007


Hi All,
 I have written an RTSP server (runs either on windows or linux) to serve
real time video and was testing with MPlayer and VLC rtsp clients. While
Mplayer plays the video fine, vlc doesnt persistently play the same stream,
just shows a few frames in the beginning, then freezes.
The log spits out messages like:

"ffmpeg decoder error: more than 5 seconds of late video -> dropping frame
(computer too slow ?)"

What could be the issue? My first guess was the RTP timestamp but I verified
that I am sending the milliseconds elapsed since system startup at the time
when a frame is seen
correctly, so for a 30 fps stream, the timestamp increments by about 33
(using windows high performance counter)

The problem happens on linux as well which uses gettimeofday.

Anybody have gotten any clue as to whats going on?

Log:


[00000353] logger interface: VLC media player - version 0.8.6c Janus - (c)
1996-
2007 the VideoLAN team
[00000353] logger interface:
Warning: if you can't access the GUI anymore, open a command-line window, go
to
the directory where you installed VLC and run "vlc -I wx"
[00000353] logger interface: using logger...
Sending request: TEARDOWN rtsp://10.95.253.151/1841/ RTSP/1.0
CSeq: 5
Session: 28674
User-Agent: VLC media player (LIVE555 Streaming Media v2007.02.20)

Received TEARDOWN response: RTSP/1.0 200 OK
CSeq: 5
Date: Tue, Dec 11 2007 17:53:53 GMT

Sending request: OPTIONS rtsp://10.95.253.151/1841 RTSP/1.0
CSeq: 6
User-Agent: VLC media player (LIVE555 Streaming Media v2007.02.20)

Received OPTIONS response: RTSP/1.0 200 OK
CSeq: 6
Date: Tue, Dec 11 2007 17:53:55 GMT
Server:X Inc RTSP server v1.0
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE

Sending request: DESCRIBE rtsp://10.95.253.151/1841 RTSP/1.0
CSeq: 7
Accept: application/sdp
User-Agent: VLC media player (LIVE555 Streaming Media v2007.02.20)

Received DESCRIBE response: RTSP/1.0 200 OK
CSeq: 7
Date: Tue, Dec 11 2007 17:53:56 GMT
Content-Base: rtsp://10.95.253.151/1841/
Content-Type: application/sdp
Content-Length: 605

Need to read 605 extra bytes
Read 605 extra bytes: v=0
o=- 1025837281000001 1 IN IP4 10.95.253.151
s=MPEG-4 elementary video stream and/or PCM audio stream, streamed by X Inc
i=Peripheral ID: 1841 (Live feed)
t=0 0
a=tool:X Inc RTSP streaming media1.0
a=type:broadcast
a=control:*
a=range:npt=0-
a=x-qt-text-nam:MPEG-4 elementary video stream and/or PCM audio stream,
streamed
 by X Inc
a=x-qt-text-inf:Peripheral ID: 1841 (Live feed)
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
a=rtpmap:96 MP4V-ES/9000
a=fmtp:96
profile-level-id=245;config=000001b0f5000001b509000001000000012000c888
ba9860fa616083c28307
a=control:video

Sending request: SETUP rtsp://10.95.253.151/1841/video RTSP/1.0
CSeq: 8
Transport: RTP/AVP;unicast;client_port=11148-11149
User-Agent: VLC media player (LIVE555 Streaming Media v2007.02.20)

Received SETUP response: RTSP/1.0 200 OK
CSeq: 8
Date: Tue, Dec 11 2007 17:53:56 GMT
Transport: RTP/AVP;unicast;destination=10.95.253.132;source= 10.95.253.151
;client
_port=11148-11149;server_port=1352-6505
Session: 17508

Sending request: PLAY rtsp://10.95.253.151/1841/ RTSP/1.0
CSeq: 9
Session: 17508
Range: npt=0.000-
User-Agent: VLC media player (LIVE555 Streaming Media v2007.02.20)

Received PLAY response: RTSP/1.0 200 OK
CSeq: 9
Date: Tue, Dec 11 2007 17:53:56 GMT
Range: npt=0.000-
Session: 17508
RTP-Info: url=rtsp://10.95.253.151/1841/video;seq=15283;rtptime=1025837546

[00000357] ffmpeg decoder error: more than 5 seconds of late video ->
dropping frame (computer too slow ?)
[00000357] ffmpeg decoder error: more than 5 seconds of late video ->
dropping frame (computer too slow ?)
[00000357] ffmpeg decoder error: more than 5 seconds of late video ->
dropping frame (computer too slow ?)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20071211/f568fcb4/attachment.html>


More information about the vlc-devel mailing list