Created
December 9, 2010 20:34
-
-
Save boscomonkey/735290 to your computer and use it in GitHub Desktop.
extract frames from a video using VLC
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
T_START=01:00:00 | |
T_END=${FROM} | |
FNAME=sample.mp4 | |
cvlc --video-filter scene -V image --start-time ${T_START} --stop-time ${T_END} --scene-format jpg --scene-ratio 24 --scene-prefix snap ${FNAME} vlc://quit 2>&1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment