aboutsummaryrefslogtreecommitdiff
path: root/zenbook/bin/record-webcam
blob: fd325ab680205e12542321d98c53ee066a2f5abe (plain) (blame)
1
2
3
4
5
6
#!/bin/sh
# https://unix.stackexchange.com/q/58526/37050
cvlc \
	v4l2:///dev/video0:width=640:height=480 \
	:input-slave=alsa://hw:1,0 \
	--sout="#transcode{vcodec=theo,vb=2000,fps=8,acodec=vorb,ab=90,channels=1,samplerate=44100}:standard{access=file,mux=ogg,dst=recorded.ogg}"