4

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.

Mona Jalal
  • 4,695
  • 21
  • 74
  • 102

2 Answers2

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:

1

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

kanehekili
  • 7,426