[gst-devel] Syncrhonizing error when seeking an RTP stream

Javier Gálvez Guerrero javier.galvez.guerrero at gmail.com
Fri Mar 20 17:45:13 CET 2009


Hi,

I have noted that if I'm receiving an RTP streaming (through a VoD RTSP
session) and I seek (then sending PLAY RTSP messages with a NTP parameter
different from 0) to a later point in time, sometimes I get the video
streaming properly but the audio arrives late and then is played so quick
(double speed) till it synchronizes with the video stream. Then it goes on
properly. It lasts for 5-6 seconds more or less.

I'll try to represent it; I hope it can be understood...=)


Video        Audio
00:00         00:00
-               -
-               -
-               -
-               -
00:23        00:23
(seek)       (seek)
01:20        (silence)
-                (silence)
-                (silence)
01:23        01:20 (not synchronized)
-                 = (x2)
-                 = (x2)
01:26        01:26 (synchronized)
-                 -
-                 -
-                 -
...               ...

And I get this error message when I seek the streaming and the video starts
playing (1:20):

(unknown:30257): GStreamer-CRITICAL **: gst_clock_set_calibration: assertion
`internal <= gst_clock_get_internal_time (clock)' failed

If tried it with local files and I get video and audio synchronized with no
problems. Is this an issue with the MPEG demuxers of Gstreamer? Is there any
way to change the buffer so I can get video and audio properly syncrhonized?
Any idea about how can I solve it?


Thanks in advance,
Javi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20090320/183f31ff/attachment.htm>


More information about the gstreamer-devel mailing list