Last active
August 29, 2015 13:56
-
-
Save cmfcmf/8823769 to your computer and use it in GitHub Desktop.
Cut video from Ubuntu command line, taken from here: http://askubuntu.com/a/59388/161884
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
| mencoder -ss 00:30:00 -endpos 00:00:05 -oac copy -ovc copy originalfile -o newfile |
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
| ffmpeg -ss 00:00:30 -t 00:00:05 -i orginalfile -vcodec copy -acodec copy newfile |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Replace
originalfileandnewfilerespectively. Adjust00:30:00to the desired start time and00:00:05to the desired duration.