projects
/
scripts.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e4ab4c
)
using mpv
author
Matthew Owens
<matthew@owens.tech>
Mon, 24 Aug 2020 13:31:37 +0000
(14:31 +0100)
committer
Matthew Owens
<matthew@owens.tech>
Mon, 24 Aug 2020 13:31:37 +0000
(14:31 +0100)
camtoggle
patch
|
blob
|
history
diff --git
a/camtoggle
b/camtoggle
index
affd652
..
e78c746
100755
(executable)
--- 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