nicolas at ndufresne.ca
Thu Feb 9 21:49:44 UTC 2023
Le jeudi 09 février 2023 à 21:21 +0800, James via gstreamer-devel a écrit :
> can anyone please explain glimagesink:render-rectangle
> I spelunk lots but find nothing
> to explore I set
> 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.
It maps to gst_video_overlay_set_render_rectangle(). Though, I believe its buggy
on wayland still if you use the top level window. Was more work then I could
afford last time I checked.
> 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
More information about the gstreamer-devel