render-rectangle

James jam at tigger.ws
Thu Feb 9 13:21:15 UTC 2023


Hi
can anyone please explain glimagesink:render-rectangle

I spelunk lots but find nothing

to explore I set
render-rectangle='<100,100,1200,675>'

I want to find if the video is scaled and rendered in the rectangle or cropped and positioned in the rectangle
I get full screen, origin 0,0 which tells me nothing. I'm displaying a 1080 video on a 1080 screen so it's slightly scaled to start with.

Since I'm using an arm cpu I need to think about performance. What about using wmctrl to resize the window and let the underlying X system do the scaling vs scaling with gstreamer

James


More information about the gstreamer-devel mailing list