Skip to content

Instantly share code, notes, and snippets.

@amad
Last active September 8, 2015 04:36
Show Gist options
  • Save amad/dbd76990fb346aaf7334 to your computer and use it in GitHub Desktop.
Save amad/dbd76990fb346aaf7334 to your computer and use it in GitHub Desktop.
packages:
fswebcam
motion
mencoder
avconv
fswebcam -r 640x480 -S 15 --flip h --jpeg 95 --shadow --title "SLB Labs" --subtitle "Home" --info "Monitor: Active @ 1 fpm" --save home.jpg -q -l 60
mencoder "mf://*.jpg" -mf fps=10 -o test.avi -ovc lavc -lavcopts vcodec=msmpeg4v2:vbitrate=800
or
mencoder -nosound -ovc lavc -lavcopts vcodec=mpeg4:aspect=16/9:vbitrate=8000000 -vf scale=1920:1080 -o timelapse.avi -mf type=jpeg:fps=24 mf://@stills.txt
avconv -i movie.mpg -acodec libmp3lame -ac 0 -s 320x240 -r 9 /tmp/out.mp4
mplayer -tv driver=v4l2:width=320:height=240: -vo xv -vf mirror tv:// -geometry "99%:99%" -noborder -ontop
mplayer -tv driver=v4l2:width=320:height=240:device=/dev/video1:fps=30: -vo xv -vf mirror tv:// -geometry "99%:99%" -noborder -ontop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment