diff --git a/videocap b/videocap index c0f8445..d8398d9 100644 --- a/videocap +++ b/videocap @@ -1,5 +1,5 @@ #!/bin/bash - +clear # 1. Find the Video device DEVICE=$(v4l2-ctl --list-devices | grep -A 1 -i "Live Gamer" | grep "/dev/video" | head -n 1 | xargs) @@ -23,11 +23,11 @@ if [ ! -z "$SOURCE_NAME" ]; then pactl set-source-volume "$SOURCE_NAME" 60% fi -echo "🎮 Launching Video (1080p)..." +echo "🎮 Launching Video (Live Gamer EXTREME 3 1080p)..." # 4. Launch Video # Added -probesize and -analyzeduration to make the window pop up faster -ffplay -hide_banner -fs -alwaysontop \ +ffplay -hide_banner \ -f v4l2 -video_size 1920x1080 -framerate 60 -i "$DEVICE" \ -fflags nobuffer+fastseek -probesize 32 -analyzeduration 0 \ -flags low_delay -framedrop -an