This commit is contained in:
parent
33295806e9
commit
f8169bfcb0
4
roles/dotfiles/files/fish/functions/cam.fish
Normal file
4
roles/dotfiles/files/fish/functions/cam.fish
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
# Defined in - @ line 1
|
||||||
|
function cam --wraps='gphoto2 --stdout --capture-movie | ffmpeg -i - -vcodec rawvideo -pix_fmt yuv420p -threads 0 -f v4l2 /dev/video0' --description 'alias cam=gphoto2 --stdout --capture-movie | ffmpeg -i - -vcodec rawvideo -pix_fmt yuv420p -threads 0 -f v4l2 /dev/video0'
|
||||||
|
gphoto2 --stdout --capture-movie | ffmpeg -i - -vcodec rawvideo -pix_fmt yuv420p -threads 0 -f v4l2 /dev/video0 $argv;
|
||||||
|
end
|
Loading…
x
Reference in New Issue
Block a user