Skip to content

Instantly share code, notes, and snippets.

@gcoop
Created May 3, 2011 19:19
Show Gist options
  • Save gcoop/954009 to your computer and use it in GitHub Desktop.
Save gcoop/954009 to your computer and use it in GitHub Desktop.
ffmpeg-mplayer-image-capture
ffmpeg -i "http://127.0.0.1:8080" -ss 1 -s 120x90 -an ~/Desktop/image.jpg
wget "127.0.0.1:8080" -O "/image.jpg"
mplayer -frames 1 "http://127.0.0.1:8080" -vo png
mplayer -tv driver=v4l:fps=15 -vo jpeg "http://127.0.0.1:8080"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment