USB backup camera
Re: USB backup camera
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.
- Attachments
-
- Screenshot 2025-09-26 083303.png (962.99 KiB) Viewed 505 times
Re: USB backup camera
now I connect the widescreen and I cannot stretch the video to the display size as shown. any idea of how to proceed this?
- Attachments
-
- Screenshot 2025-09-26 214327.png (582.97 KiB) Viewed 497 times
Re: USB backup camera
You will probably need videoscale element before the glupload. It should convert the video to desired size
https://gstreamer.freedesktop.org/docum ... scale.html
https://gstreamer.freedesktop.org/docum ... scale.html
Re: USB backup camera
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
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