From dc2dc40d336b68bf91fd27e8011d8f540514af0c Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Wed, 24 Nov 2021 17:35:34 +0100 Subject: [PATCH] increase zoom and sharpness, fix URL argument --- src/home/telecaster/.fluxbox/scripts/launch-url2video.sh | 2 +- .../.fluxbox/scripts/tc_video_simple_webm_stream-gst1.sh | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/home/telecaster/.fluxbox/scripts/launch-url2video.sh b/src/home/telecaster/.fluxbox/scripts/launch-url2video.sh index 25fe894..1043d54 100755 --- a/src/home/telecaster/.fluxbox/scripts/launch-url2video.sh +++ b/src/home/telecaster/.fluxbox/scripts/launch-url2video.sh @@ -5,7 +5,7 @@ URL=https://e-learning.crfpa.pre-barreau.com/media/Pre-Barreau/CRFPA/2021/Libert VIDEO_SINK_NAME="/dev/video12" AUDIO_SINK_NAME="Mix-for-Virtual-Microphone" -gst-launch-1.0 uridecodebin uri=$URL name=uridec do-timestamp=true live=true \ +gst-launch-1.0 uridecodebin uri="$URL" name=uridec do-timestamp=true live=true \ ! videoconvert \ ! v4l2sink device=$VIDEO_SINK_NAME sync=true \ uridec. \ diff --git a/src/home/telecaster/.fluxbox/scripts/tc_video_simple_webm_stream-gst1.sh b/src/home/telecaster/.fluxbox/scripts/tc_video_simple_webm_stream-gst1.sh index d10e912..815202e 100755 --- a/src/home/telecaster/.fluxbox/scripts/tc_video_simple_webm_stream-gst1.sh +++ b/src/home/telecaster/.fluxbox/scripts/tc_video_simple_webm_stream-gst1.sh @@ -11,9 +11,10 @@ HEIGHT=480 FRAMERATE=24 v4l2-ctl -d 0 -c power_line_frequency=1 -v4l2-ctl -d 0 -c zoom_absolute=100 +v4l2-ctl -d 0 -c zoom_absolute=135 v4l2-ctl -d 0 -c focus_auto=0 v4l2-ctl -d 0 -c focus_absolute=1 +v4l2-ctl -d 0 -c sharpness=100 # ! queue ! videoflip method=rotate-180 \ -- 2.39.5