GES, picture in picture, take only sub-rectangle of foreground video

David Ing ding at panopto.com
Fri Mar 30 03:57:37 UTC 2018


I am using GES to create a "picture in picture" type of video.  I have a
large video in the background and a small video in the foreground corner.
This is working perfectly.

Now, for the video in the foreground, I don't want the entire surface area
of the video to be displayed.  I only want it to display a sub-rectangle of
that foreground video.

By the way, I have already determined that the xpos, ypos, width, height
proprties of GESVideoSource will scale the video (and they represent the
position of the video on the destination canvas).  So they don't behave in
a way that would allow me to take the sub-rectangle.

My question is:  Is there an easy way to take the sub-rectangle of the
foreground video using GES?  How?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20180329/ba87f76d/attachment.html>


More information about the gstreamer-devel mailing list