Dynamic Digital Zoom - videocrop - videoscale

Arjen Veenhuizen arjen.veenhuizen at tno.nl
Tue Mar 10 12:08:16 PDT 2015


Hey, couple of things:

Best to put a queue after each src pad of the tee element. This way you can
put each tee branch in a different thread.

Although blocking the src pad on V4L element should do the trick, you could
also try the following (more rigorous) approach. In 0.10 (and 1.x for that
matter), I use the following steps:

1. block the V4L  element src pad, wait for async callback
In async callback method: 
2. disconnect videobox, videoscale and capsfilter element
3. put videobox, videoscale and capsfilter in NULL state.
4. Remove them from the pipeline
5. add a new videobox, videoscale and capsfilter element to the pipeline
6. Put new caps on capsfilter
7. connect them as required.
8. Put new elements in PLAYING state
9. unblock the V4L element src pad, the async callback method can be empty.

Hope this helps



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Dynamic-Digital-Zoom-videocrop-videoscale-tp4671073p4671077.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list