Moderators: chensy, FATechsupport
Code: Select all
v4l2-ctl --set-edid format=raw,file=hdmiin_edid.bin --fix-edid-checksums
Code: Select all
gst-launch-1.0 v4l2src device=/dev/video0 ! glupload ! glcolorconvert ! glcolorscale ! video/x-raw(memory:GLMemory), format=RGBA, width=1920, height=1080 ! gldownload ! glimagesink
chrisberg wrote:
Does anybody know how to force the HDMI-IN to NV12?
with this command I can force 422 but not 420
v4l2-ctl --get-edid > edid.txt
v4l2-ctl --set-edid file=edid.txt,format=hex,ycbcr422
any ideas?
chrisberg wrote:
I finally managed to use the HDMI-IN with GStreamer. Here’s what I did:
EDID Modification:
First, I removed the YCrCb 444 and 422 formats from the EDID using the Deltacast EDID Tool.
Then, I applied the modified EDID with the following command:Code: Select all
v4l2-ctl --set-edid format=raw,file=hdmiin_edid.bin --fix-edid-checksums
GStreamer Pipeline:
After modifying the EDID, it was possible to use GStreamer with the following pipeline:Code: Select all
gst-launch-1.0 v4l2src device=/dev/video0 ! glupload ! glcolorconvert ! glcolorscale ! video/x-raw(memory:GLMemory), format=RGBA, width=1920, height=1080 ! gldownload ! glimagesink
This setup worked perfectly for me. Hope this helps anyone facing similar issues!