Multiple synchronized video streams into one appsink

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Multiple synchronized video streams into one appsink

Michał Rudowicz

I'm trying to create a pipeline that, simplified, looks like this:

v4l2src ! tee ! videoconvert ! videoscale --\  
           \                                 \
            \                                 \----\
             \                                      + appsink

The idea is to be able to perform operations on a converted and scaled
stream in the appsink, but - depending on the result of the operations -
being also able to access the unmodified stream in there. Synchronization of
frames is important - there's no point in that if the original and scaled
frames do not share the same source frame.

Is there an easy way to do that in GStreamer, or should I move the convert
and scaling to the appsink and essentially handle that myself?

Thanks in advance for any tips!
gstreamer-devel mailing list
[hidden email]