USB backup camera

wkl3968
Posts: 117
Joined: Thu Aug 07, 2025 12:22 pm

Re: USB backup camera

Post 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.
You do not have the required permissions to view the files attached to this post.
wkl3968
Posts: 117
Joined: Thu Aug 07, 2025 12:22 pm

Re: USB backup camera

Post 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?
You do not have the required permissions to view the files attached to this post.
hudiy
Site Admin
Posts: 659
Joined: Mon Jul 14, 2025 7:42 pm

Re: USB backup camera

Post 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
Hudiy Team
wkl3968
Posts: 117
Joined: Thu Aug 07, 2025 12:22 pm

Re: USB backup camera

Post 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
Post Reply