Skip to content

Instantly share code, notes, and snippets.

@weakish
Created May 19, 2011 14:34
Embed
What would you like to do?
scripts to cut #video clips
#!/usr/bin/env bash
### cut a slient clip of film using mencoder
mencoder -nosound -ss $1 -endpos $2 -ovc copy -o $3 $4
#!/usr/bin/env bash
### cut a silent clip of a rmvb film using mencoder
# your mplayer should be able to play rmvb
mencoder -nosound -ss $1 -endpos $2 -ovc lavc -lavcopts vcodec=mpeg4 -o $3 $4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment