From: Matthew Owens <matthew@owens.tech>
Date: Mon, 24 Aug 2020 13:31:37 +0000 (+0100)
Subject: using mpv
X-Git-Url: https://git.owens.tech///git?a=commitdiff_plain;h=7aae80ecaf49489e4c06157e11482f9cf65f864a;p=scripts.git

using mpv
---

diff --git a/camtoggle b/camtoggle
index affd652..e78c746 100755
--- a/camtoggle
+++ b/camtoggle
@@ -1,4 +1,5 @@
 #!/bin/bash
 #pkill -f /dev/video || mpv --geometry=-0-0 --autofit=30% --no-cache-pause /dev/video0
 #pkill -f camout.mkv || ffmpeg -f mjpg -video_size 640x480 -i /dev/video0 camout.mkv ; mpv --geometry=-0-0 --autofit=30% camout.mkv
-pkill -f vlc || cvlc v4l2:///dev/video0 --live-caching=10 
+#pkill -f vlc || cvlc v4l2:///dev/video0 --live-caching=10 
+mpv av://v4l2:/dev/video0 --profile=low-latency --untimed --osc=no