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.
You do not have the required permissions to view the files attached to this post.
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?
You do not have the required permissions to view the files attached to this post.
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
Hudiy Team
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