From a0d774da829e9ed39b950057203fe59bc035c351 Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Mon, 20 Mar 2023 17:18:38 +0100 Subject: [PATCH] [Fish] Less latency in mpv in webcam abbreviations --- org/config/fish.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/org/config/fish.org b/org/config/fish.org index d27916f..55d5d76 100644 --- a/org/config/fish.org +++ b/org/config/fish.org @@ -564,7 +564,7 @@ abbr nv 'env __NV_PRIME_RENDER_OFFLOAD=1 __GLX_VENDOR_LIBRARY_NAME=nvidia' Finally, let's declare the following abbreviation that will launch a MPV instance displaying my webcam: #+BEGIN_SRC fish -abbr webcam 'devour mpv --demuxer-lavf-format=video4linux2 --demuxer-lavf-o-set=input_format=mjpeg av://v4l2:/dev/video0' +abbr webcam 'devour mpv --demuxer-lavf-format=video4linux2 --demuxer-lavf-o-set=input_format=mjpeg av://v4l2:/dev/video0 --profile=low-latency --untimed' #+END_SRC *** Sudo