After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 576739 - A/V sync error when seeking RTSP/RTP streams
A/V sync error when seeking RTSP/RTP streams
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
0.10.21
Other Linux
: Normal critical
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-03-25 16:13 UTC by Javier Gálvez
Modified: 2010-04-07 10:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24



Description Javier Gálvez 2009-03-25 16:13:13 UTC
Please describe the problem:
While receiving a RTSP/RTP stream, if the stream is sought the video stream is shown properly, while there is no sound for a while (~3 seconds). Then the buffered audio starts playing at double(?) speed till it synchronizes with the video, which has been played smoothly all the time.

It can be depicted like this:

Video        Audio

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

At the time of seeking (PLAY RTSP message with the proper 'ntp' parameter sent and Reply received), at the client side this message is prompted:

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

Seeking the same content in a local environment works with no issues.

Steps to reproduce:
1. Set up a RTSP server (tested with VLC 0.9.4) with a VoD content.
2. Start playing the content with gstreamer.
3. Seek to any point in time of the streamed media.


Actual results:
Video is gapless but audio remains silently buffering, then plays at double speed till it synchronizes with the video and then both audio and video continue the playback properly.

Expected results:
Both the video and audio jump to the asked position in a synchronized way.

Does this happen every time?
NEARLY every time i tried (9 out of 10).

Other information:
I've been told that this bug has already been reported but I couldn't find it, so I file it just in case.
Comment 1 Edward Hervey 2010-02-20 08:25:59 UTC
Javier, do you still see the issue with latest gstreamer modules ?
Comment 2 Tobias Mueller 2010-04-07 10:47:29 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!