Cropping with compositor?

Tim-Philipp Müller t.i.m at zen.co.uk
Thu Aug 10 18:28:31 UTC 2023


Hi Florian,

> is there any way to achieve cropping of input video streams with
> compositor, 
> without using extra videocrop/videobox elements?
> 
> I'm currently assuming no, but maybe there's some tweak I overlooked?
> I'm using 
> 1.20.3 at the moment.

I think you might be able to do that with the "converter-config"
property on the sink pads, using GST_VIDEO_CONVERTER_OPT_SRC_X and
GST_VIDEO_CONVERTER_OPT_SRC_WIDTH and such, but I don't have any
example code to point at, just something you could try.

Cheers
 Tim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20230810/9fb154ee/attachment.htm>


More information about the gstreamer-devel mailing list