How to perform HDMI 4K@60 Input to 1080p@60 Output Streaming ?

Due to resolution mismatch, streaming will fail when attempting to stream at 4K. If the input source resolution is 4K@60, while the connected monitor supports a maximum resolution of 1080p@60.

We recommend using the same resolution on both the input and output sides, either 4K@60 or 1080p@60.

If you do not have a 4K-supported monitor, configure the pipeline to stream from a 4K input source to a 1080p output. Please follow the commands below to configure this setup.

root@versal-iwg57m:~# media-ctl -d /dev/media0 -p

root@versal-iwg57m:~# modetest -D a4090000.v_mix -s 41:1920x1080-60@BG24 &

root@versal-iwg57m:~# echo 582 > /sys/class/gpio/export
root@versal-iwg57m:~# cat /sys/class/gpio/gpio582/direction
root@versal-iwg57m:~# echo out > /sys/class/gpio/gpio582/direction
root@versal-iwg57m:~# cat /sys/class/gpio/gpio582/value
root@versal-iwg57m:~# echo 1 > /sys/class/gpio/gpio582/value
root@versal-iwg57m:~# echo 0 > /sys/class/gpio/gpio582/value

root@versal-iwg57m:~# media-ctl -d /dev/media0 -V ""a4000000.v_proc_ss":0 [fmt:RBG888_1X24/3840x2160 field:none]"
root@versal-iwg57m:~# media-ctl -d /dev/media0 -V ""a4000000.v_proc_ss":1 [fmt:VYYUYY8_1X24/3840x2160 field:none]"
root@versal-iwg57m:~# media-ctl -d /dev/media0 -V ""a4060000.v_hdmi_rx_ss":0 [fmt:RBG888_1X24/3840x2160 field:none]"

root@versal-iwg57m:~# gst-launch-1.0 v4l2src device=/dev/video0 io-mode=4 ! video/x-raw, width=3840, height=2160, format=NV12, framerate=60/1 ! videoscale method=0 ! video/x-raw, width=1920, height=1080, format=NV12, framerate=60/1 ! queue ! kmssink bus-id="a4090000.v_mix"

For further product inquiries, please get in touch with our sales team at mktg@iwave-global.com

Please find the detailed product information here:
Versal™ AI Edge System on Module