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

Help with Rendering

Tags: None
(comma "," separated)
grjones
Registered Member
Posts
12
Karma
0

Help with Rendering

Mon Aug 01, 2022 2:51 pm
I have a larger clip i want to cut into smaller clips. No real editing. Clip is on 100mb and about an hour. When i cut in and render to a smaller time (about 5 mins) the final file size is massive compared to the original (almost 700mb). Not really sure what im doing wrong but would like the ability to simply cut sections into smaller clips and export. Can this be done in Kdenlive or is there another linux program that would do this.
User avatar
Makinars-Studio
Registered Member
Posts
86
Karma
3
OS

Re: Help with Rendering

Tue Aug 02, 2022 2:09 am
When i cut in and render to a smaller time (about 5 mins) the final file size is massive compared to the original (almost 700mb)

You are probably rendering with different settings relative to the original footage. :|

I have a larger clip i want to cut into smaller clips. No real editing... Can this be done in Kdenlive

It can be done using kdenlive but if you are not planing to editing, so why not just use a simple code line to cut your video like this:

Code: Select all
ffmpeg -i footage.mp4 -ss 00:00:00 -to 00:05:00 -c copy shot_1.mp4
ffmpeg -i footage.mp4 -ss 00:05:00 -to 00:10:00 -c copy shot_2.mp4
ffmpeg -i footage.mp4 -ss 00:10:00 -to 00:15:00 -c copy shot_3.mp4
etc...


-i = input file
-ss = start time ( hh:mm:ss )
-to = end time ( hh:mm:ss )
-c = codec to use

In this example I cut the same footage each 5 minutes of video and you can easily write a script to make it for you automatically.


grjones
Registered Member
Posts
12
Karma
0

Re: Help with Rendering

Tue Aug 09, 2022 11:52 am
Thanks for the info. Ive been using lossless cut to shorten the clips recently...it works but its not exact. Can that code line be used to do an exact cut?
User avatar
Makinars-Studio
Registered Member
Posts
86
Karma
3
OS

Re: Help with Rendering

Tue Aug 09, 2022 10:42 pm
Can that code line be used to do an exact cut?

That's exactly what it does! :|

Code: Select all
ffmpeg -i footage.mp4 -ss 00:00:00 -to 00:05:00 -c copy shot_1.mp4

This line cuts exactly at the minute (5) of your footage.

Code: Select all
ffmpeg -i footage.mp4 -ss 00:05:00 -to 00:10:00 -c copy shot_2.mp4

and this cuts exactly at minute (5) to (10)




Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot]