This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Splitting Large Video Clips

Tags: None
(comma "," separated)
kenwright
Registered Member
Posts
1
Karma
0

Splitting Large Video Clips

Tue Sep 29, 2020 5:44 am
Hi everyone,

I video football matches, (soccer games in NorthAmerica). As my mts files are large, and I wish to edit the clips, how do I cut each clip in several sections?
I want to edit the videos from 90 minutes to around 10-15 minutes.

TIA

Kind Regards

Ken Wright
User avatar
bartoloni
Moderator
Posts
1510
Karma
4
OS

Re: Splitting Large Video Clips  Topic is solved

Tue Sep 29, 2020 9:01 am
the best ways seems to use ffmpeg... i found on the web this:

Use this to cut video from [start] for [duration]:

ffmpeg -ss [start] -i in.mp4 -t [duration] -c copy out.mp4

Here, the options mean the following:

-ss specifies the start time, e.g. 00:01:23.000 or 83 (in seconds)
-t specifies the duration of the clip (same format).
Instead of -t you can also supply the end time with -to.
-c copy copies the first video, audio, and subtitle bitstream from the input to the output file without re-encoding them. This won't harm the quality and make the command run within seconds.

Note that if you've used -ss, you have to subtract this from the -to timestamp. For example, if you cut with -ss 3 -i in.mp4 -to 5, the output will be five seconds long.


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]