debugging a/v-sync issues, possibly inter*-element related [patch included]

Peter K├Ârner osm-lists at mazdermind.de
Thu Jun 4 14:28:19 PDT 2015


Hi

On 03.06.2015 22:07, Nicolas Dufresne wrote:
> That's because inter* element don't use upstream timestamp at all it
> seems, making synchronization impossible.

Interesting, I should have read the source earlier. I started working on
a patch that would take upstream timestamps in interaudiosrc into
account and in my test it seems to work, although I surely have ignored
a whole lot of complexity.

<https://github.com/MaZderMind/gst-plugins-bad/compare/inter-avsync>

My questions would be, if such a patch would be interesting enough to
file a ticket for it?

My hack currently will return buffers that do not form a continous
stream. It may be that a buffer on timestamp 1.000 with a duration of
1.000 is followed by a buffer at timestamp 2.200

Do you know how sinks handle such gaps? neither mpegtsmux nor
xvimagesink seemed to have a problem with it but I don't know if I can
count on this.

Thank you very much for pointing me into the right direction.
Regards, Peter

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150604/b9800ca0/attachment.sig>


More information about the gstreamer-devel mailing list