[Bug 743973] streamsynchronizer: need find the least running time from segment

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Feb 4 02:52:17 PST 2015

  GStreamer | gst-plugins-base | 1.4.1

Sebastian Dröge (slomo) <slomo> changed:

           What    |Removed                     |Added
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1

--- Comment #1 from Sebastian Dröge (slomo) <slomo at coaxion.net> 2015-02-04 10:52:14 UTC ---
Assuming seek goes to position T and the video keyframe is at position T_k, the
problem here is that:
- video plays from T_k, which gets running time 0 because of a flushing seek
- audio does the same because it comes from the same demuxer
- subs play from T, which gets running time 0 because of flushing seeks
- sub / video, and sub / audio sync is off by T_k - T


I think the solution here would be something inside playbin that adjusts the
segment events coming from external subtitle files to match up with the
audio/video segments. It can probably be solved by comparing the stream times
of both streams and the corresponding running times. Stream time should be the
same on both, that's what the seek event controls... and running times of both
streams should be the same at the same stream time, otherwise sync is off.

Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the gstreamer-bugs mailing list