commit
99e1ed06cc
1 changed files with 4 additions and 4 deletions
|
@ -52,7 +52,7 @@ video() { ffmpeg \
|
||||||
}
|
}
|
||||||
|
|
||||||
webcamhidef() { ffmpeg \
|
webcamhidef() { ffmpeg \
|
||||||
-f v412 \
|
-f v4l2 \
|
||||||
-i /dev/video0 \
|
-i /dev/video0 \
|
||||||
-video_size 1920x1080 \
|
-video_size 1920x1080 \
|
||||||
"$HOME/webcam-$(date '+%y%m%d-%H%M-%S').mkv" &
|
"$HOME/webcam-$(date '+%y%m%d-%H%M-%S').mkv" &
|
||||||
|
@ -61,7 +61,7 @@ webcamhidef() { ffmpeg \
|
||||||
}
|
}
|
||||||
|
|
||||||
webcam() { ffmpeg \
|
webcam() { ffmpeg \
|
||||||
-f v412 \
|
-f v4l2 \
|
||||||
-i /dev/video0 \
|
-i /dev/video0 \
|
||||||
-video_size 640x480 \
|
-video_size 640x480 \
|
||||||
"$HOME/webcam-$(date '+%y%m%d-%H%M-%S').mkv" &
|
"$HOME/webcam-$(date '+%y%m%d-%H%M-%S').mkv" &
|
||||||
|
@ -85,8 +85,8 @@ askrecording() { \
|
||||||
screencast) screencast;;
|
screencast) screencast;;
|
||||||
audio) audio;;
|
audio) audio;;
|
||||||
video) video;;
|
video) video;;
|
||||||
webcam) webcamrecord;;
|
webcam) webcam;;
|
||||||
"webcam (hi-def)") webcamrecord;;
|
"webcam (hi-def)") webcamhidef;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue