Syncrhonizing error when seeking an RTP stream

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Syncrhonizing error when seeking an RTP stream

Javier Gálvez Guerrero
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

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel