Page 2 of 2
Re: USB backup camera
Posted: Fri Sep 26, 2025 12:35 am
by wkl3968
Yes. It works!! thank you very muchy!! is there a way to change the resolution or stretch the video to fill up the display? I will have a wide screen for this setup.
Re: USB backup camera
Posted: Fri Sep 26, 2025 1:45 pm
by wkl3968
now I connect the widescreen and I cannot stretch the video to the display size as shown. any idea of how to proceed this?
Re: USB backup camera
Posted: Fri Sep 26, 2025 2:03 pm
by hudiy
You will probably need videoscale element before the glupload. It should convert the video to desired size
https://gstreamer.freedesktop.org/docum ... scale.html
Re: USB backup camera
Posted: Sun Sep 28, 2025 9:16 am
by wkl3968
thanks for the pointers. I get to learn this from chatgpt and conducted some test. here is the working one that able to project to full screen
v4l2src device=/dev/video0 ! videoconvert ! videoscale add-borders=false ! video/x-raw,width=1600,height=600,pixel-aspect-ratio=1/1 ! glupload ! qml6glsink name=video-sink