lkjasdadslkj

This commit is contained in:
Peder Bergebakken Sundt 2024-10-10 01:30:10 +02:00
parent 84fbfad9e9
commit a4101d21dc
2 changed files with 10 additions and 2 deletions

View File

@ -73,9 +73,16 @@ selected_audio_device=$(
| cut -d' ' -f1 | cut -d' ' -f1
) )
# TODO:
# ffmpeg -f video4linux2 -list_formats all -i /dev/video3
# [video4linux2,v4l2 @ 0x23ed7140] Raw : yuyv422 : YUYV 4:2:2 : 1920x1080 1600x1200 1280x720 720x576 720x480 640x480
# [video4linux2,v4l2 @ 0x23ed7140] Raw : nv12 : Y/UV 4:2:0 : 3840x2160 2560x1440 1920x1080 1600x1200 1280x720 720x576 720x480 640x480
ffmpeg_common=( ffmpeg_common=(
-fflags nobuffer -fflags nobuffer
-flags nobuffer
-flags low_delay -flags low_delay
-strict experimental
) )
ffmpeg_args=( ffmpeg_args=(
-f v4l2 -f v4l2
@ -90,4 +97,4 @@ ffmpeg_args=(
) )
set -x set -x
ffmpeg "${ffmpeg_common[@]}" "${ffmpeg_args[@]}" -c copy -f nut pipe: | ffplay "${ffmpeg_common[@]}" -f nut -i pipe: ffmpeg "${ffmpeg_common[@]}" "${ffmpeg_args[@]}" -c copy -f nut pipe: | ffplay -framedrop "${ffmpeg_common[@]}" -f nut -i pipe:

View File

@ -36,7 +36,8 @@ with lib.hm.gvariant;
auto-raise = false; auto-raise = false;
button-layout = "appmenu:minimize,maximize,close"; button-layout = "appmenu:minimize,maximize,close";
focus-mode = "click"; focus-mode = "click";
focus-new-windows = "strict"; #focus-new-windows = "strict";
focus-new-windows = "smart";
resize-with-right-button = false; resize-with-right-button = false;
titlebar-font = "Cantarell Bold 11"; titlebar-font = "Cantarell Bold 11";
}; };