From 1d764e180127e261fc1df8022728996a1b9e7f96 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Tue, 23 Apr 2024 16:45:40 +0200 Subject: [PATCH] fix focus_auto --- bin/streaming/tc_video_simple_webm_stream-gst1.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/streaming/tc_video_simple_webm_stream-gst1.sh b/bin/streaming/tc_video_simple_webm_stream-gst1.sh index 1f77bfe..128960b 100755 --- a/bin/streaming/tc_video_simple_webm_stream-gst1.sh +++ b/bin/streaming/tc_video_simple_webm_stream-gst1.sh @@ -33,7 +33,8 @@ source /etc/telecaster/telecaster.conf # V4L2 setup v4l2-ctl -d $V4L2_ID -c power_line_frequency=1 v4l2-ctl -d $V4L2_ID -c zoom_absolute=$V4L2_ZOOM -v4l2-ctl -d $V4L2_ID -c focus_absolute=1 || v4l2-ctl -d $V4L2_ID -c focus_automatic_continuous=0 +v4l2-ctl -d $V4L2_ID -c focus=_auto=0 +v4l2-ctl -d $V4L2_ID -c focus_absolute=0 || v4l2-ctl -d $V4L2_ID -c focus_automatic_continuous=0 v4l2-ctl -d $V4L2_ID -c sharpness=$V4L2_SHARPNESS # GST launch -- 2.39.5