Ripping short cuts from video filesl.

abejarano

New Member
Joined
Mar 3, 2022
Messages
4
Reaction score
0
Credits
38
Thank you. A ten month user of Kubuntu LTS with little experience in video, I'd like to write a script to rip five to ten short ten second cuts from a variety of videos. How should I approach this?
 


Yeah, what NorthWest said - ffmpeg.

The official ffmpeg guide is here

Or there's a quick n easy guide here

Extract a Portion of a Video​

Another very common operation on video files is to extract a specific portion of a given video. This can be done super easily:

ffmpeg -ss 00:00:30 -i orginalfile.mpg -t 00:00:05 -vcodec copy -acodec copy newfile.mpg
In the example above, we are cutting out a part starting at 00:00:30 into the original file with a 5 seconds length. -ss indicates the starting time, and -t indicates the duration.
 


Top