Mixing v4l2 sources with compositor
Frédéric Sureau
frederic.sureau at veo-labs.com
Wed May 27 06:34:28 PDT 2015
Le 21/05/2015 14:44, Nicolas Dufresne a écrit :
> The V4L2 sources take some time to initialize, meanwhile the clock is
> running. If you bring back the timestamp 0 zero, and both sources
> didn't take the same amount of time to initialize, the end result won't
> be synchronized. Arguably, videorate should not break synchronization,
> but that's likely another subject.
>
> I think a nice way to solve your case, would be to add a first frame
> strategy to compositor (something configurable). Right now (in live) it
> should be producing frames on a deadline without any special cases. I
> think it could be nice to have a mode that will wait for all sinkpads
> to have received a frame before producing the first output. That may
> require dropping frames. An intermediate mode, that would wait for at
> least 1 frame could also be nice.
>
> Nicolas
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
I have tried an implementation for this:
https://bugzilla.gnome.org/show_bug.cgi?id=749966
Cheers,
Fred
More information about the gstreamer-devel
mailing list