snippets / Make screenshots of videos with mplayer

Language: Shell - First posted by SebDE on 2008-04-15 12:06 (7 months, 1 week)
Link to the snippet: http://www.friendsnippets.org/snippet/249/

Makes screenshots after 2 seconds playing the videos.

1 for i in *.avi; do (sleep 2 && echo -n s && sleep 0.1 && mv shot0001.png "$i"".png" && echo q) | mplayer -vf screenshot "$i"; done
In order to post a comment, you should have a friendsnippet account. Please sign-in.

0 comments

Apr '08
  • Makes screenshots after 2 seconds playing the videos.

Common Tags



snippet History

Apr '08