How can I cut the first two min of a 10 min video and save it as first_2min.wmv and then the second 2 min saved as second_2min.wmv without any change to the settings of the video in Ubuntu command line? The original format of the video is wmv as well.
Asked
Active
Viewed 2,016 times
2 Answers
10
You can use ffmpeg to rip the first 2 minutes, etc that you want.
ffmpeg -i 10minvideo.wmv -ss 0 -t 120 first2min.wmv
Then for the next 2 minutes it would be the same but change the -ss 0 to -ss 120:
ffmpeg -i 10minvideowmv -ss 120 -t 120 second2min.wmv
Just remember to set -ss to whatever starting seconds position you want and the -t is the amount of time you are recording from it.
Hope this helps!
Terrance
- 43,712
0
If you want it with a GUI:
Use VideoCut, it is based on ffmpeg and OpenCV. Goal of this app was to eliminate the ffmpeg commandline:

By default is does not re-encode. Your choice is to use the optimized "remux" muxer or the original ffmpeg code
kanehekili
- 7,426