diff --git a/pkgs/v4l2-play/script.sh b/pkgs/v4l2-play/script.sh index bfe5e63..eafaf79 100755 --- a/pkgs/v4l2-play/script.sh +++ b/pkgs/v4l2-play/script.sh @@ -73,9 +73,16 @@ selected_audio_device=$( | 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=( -fflags nobuffer + -flags nobuffer -flags low_delay + -strict experimental ) ffmpeg_args=( -f v4l2 @@ -90,4 +97,4 @@ ffmpeg_args=( ) 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: diff --git a/users/pbsds/home/profiles/desktop/gnome/dconf-gnome-theme.nix b/users/pbsds/home/profiles/desktop/gnome/dconf-gnome-theme.nix index 39c2bc7..8a89ac7 100644 --- a/users/pbsds/home/profiles/desktop/gnome/dconf-gnome-theme.nix +++ b/users/pbsds/home/profiles/desktop/gnome/dconf-gnome-theme.nix @@ -36,7 +36,8 @@ with lib.hm.gvariant; auto-raise = false; button-layout = "appmenu:minimize,maximize,close"; focus-mode = "click"; - focus-new-windows = "strict"; + #focus-new-windows = "strict"; + focus-new-windows = "smart"; resize-with-right-button = false; titlebar-font = "Cantarell Bold 11"; };