GNOME Bugzilla – Bug 346304
[playbin] add properties for adjusting video/audio/subtitle sync.
Last modified: 2009-06-17 09:41:11 UTC
There are some media files have invalid timestamp or index informations. and when play these files, video/audio/subtitle sync are mismatched. Best way is use valid media files, but modification of media files are very hard. If playbin could adjust video/audio/subtitle sync, It can play media files properly without modification.
I suggest adding a property to identity to adjust timestamps. This can only be done sanely by incrementing the timestamps. Also make sure to adjust the segment stop value (not start or time). Adding an offset to one stream would then involve adding the offset to the identity of the stream. Subtracting an offset from a stream would involve adding an offset to all other streams.
FWIW, the basesink now has a ts-offset property to control each sink.