From e977011924df71d3f6152dbe7067477f5b4b94a1 Mon Sep 17 00:00:00 2001 From: orangepi-xunlong <258384131@qq.com> Date: Wed, 24 May 2023 18:30:17 +0800 Subject: [PATCH] Update test_hdmiin.sh for opi5plus --- external/packages/bsp/orangepi5plus/usr/bin/test_hdmiin.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/external/packages/bsp/orangepi5plus/usr/bin/test_hdmiin.sh b/external/packages/bsp/orangepi5plus/usr/bin/test_hdmiin.sh index 78ce47e..370caed 100755 --- a/external/packages/bsp/orangepi5plus/usr/bin/test_hdmiin.sh +++ b/external/packages/bsp/orangepi5plus/usr/bin/test_hdmiin.sh @@ -20,7 +20,7 @@ hdmiin_card=$(arecord -l | grep "hdmiin" | cut -d ":" -f 1 | cut -d ' ' -f 2) DISPLAY=:0.0 gst-launch-1.0 v4l2src device=${device_id} io-mode=4 ! videoconvert \ ! video/x-raw,format=NV12,width=${width},height=${heigh} \ ! videoscale ! video/x-raw,width=1280,height=720 \ - ! autovideosink 2>&1 > /dev/null & + ! autovideosink sync=false 2>&1 > /dev/null & gst-launch-1.0 alsasrc device=hw:${hdmiin_card},0 ! audioconvert ! audioresample ! queue \ ! tee name=t ! queue ! alsasink device="hw:${hdmi0_card},0" \