Created
October 15, 2015 02:27
-
-
Save jasonraimondi/746e3afae4d8694ee1c1 to your computer and use it in GitHub Desktop.
This file contains 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 | |
# | |
# Clips a video file and removes audio | |
# | |
# $1 - the path to the movie we're converting. | |
# $2 - destination of the clipped result | |
# $3 - the start time of the finished product. | |
# This can be in seconds, or it also accepts the "hh:mm:ss[.xxx]" format. | |
# $4 - the duration of the video sequence. | |
# This can be in seconds, or it also accepts the "hh:mm:ss[.xxx]" format. | |
# | |
# | |
# movieme <path> <destination> <start-time> <duration> | |
ffmpeg -i $1 -acodec copy -vcodec copy -an -ss $3 -t $4 $2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment