summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2023-01-07 12:51:55 +0100
committerEkaitz Zarraga <ekaitz@elenq.tech>2023-01-07 12:51:55 +0100
commitdc5fa8ec26a0100f15cbd5d4894ed5a4edbd1bbd (patch)
tree5acbdbc04c47a447f2e51d2707877dcf1705a177
parent178a036e0eb9dcd7c5b213292af75c6233b272cc (diff)
Reduce delay in ffplay to almost 0
-rwxr-xr-xDIY4
-rwxr-xr-xGBA2
2 files changed, 3 insertions, 3 deletions
diff --git a/DIY b/DIY
index 08fab82..222ae3e 100755
--- a/DIY
+++ b/DIY
@@ -1,6 +1,6 @@
i3-msg "workspace 9;
append_layout $(readlink -f $(dirname $0))/DIY.json;
border none;
-exec --no-startup-id ffplay /dev/video0
-exec --no-startup-id ffplay /dev/video2
+exec --no-startup-id ffplay -fflags nobuffer -flags low_delay -framedrop /dev/video0
+exec --no-startup-id ffplay -fflags nobuffer -flags low_delay -framedrop /dev/video2
exec --no-startup-id chromium --app=https://dashboard.twitch.tv/popout/u/ekaitzza/stream-manager/chat"
diff --git a/GBA b/GBA
index c914114..2127757 100755
--- a/GBA
+++ b/GBA
@@ -1,5 +1,5 @@
i3-msg "workspace 9;
append_layout $(readlink -f $(dirname $0))/GBA.json;
-exec --no-startup-id ffplay /dev/video0
+exec --no-startup-id ffplay -fflags nobuffer -flags low_delay -framedrop /dev/video0
exec --no-startup-id mgba-qt
exec --no-startup-id chromium --app=https://dashboard.twitch.tv/popout/u/ekaitzza/stream-manager/chat"