Reply to topic

Large File Size

kde-ghostrider
Registered Member
Posts
1
Karma
0

Large File Size

Wed Oct 16, 2013 3:03 pm
I am completely new to KDEnlive and video editing. However, having read a few articles I know have a file I wish to render.

The source file is a .ts file taken from Media Portal, the file size is 13GB. All I wish to do is remove 3 minutes from the start of this video clip. When I choose to render the file as 'Lossless 'HQ' 'H264.lossless fast' the output file is 14Gb after an hour with a reported 11 hours left to run! Why is the output file so much larger than the source file?

Surely there must be an easier (and faster) way to edit three minutes from this video clip.

Any help would be appreciated.
User avatar TheDiveO
Registered Member
Posts
150
Karma
0

Re: Large File Size

Wed Oct 16, 2013 4:33 pm
Kdenlive is a typical nonlinear video editor in that it is not for trimming an existing clip but for composing a new video from a bunch of clips, snippets from these clips, images, and so on. The final video output is always rendered and not simply copied over (think of different I frame positions in the output compared to the possibly multiple input frames, et cetera, that require new encoding).

For what you want to achieve you should investigate into ffmpeg, not Kdenlive. It allows to actually trim video without reencoding. However this comes at the considerably small price that you can't exactly control the cut or trim points. Ffmpeg will always use the next I frame in such a way that the part you are interested in is always included, but you typically get more frames than specified. For instance, see my blog about Trimming Video Files Lossless Using ffmpeg. This should give you the required information so you can trim your video footage.


TheDiveO on YouTube: diving videos and aerial (quadcopter) videos, all made with Kdenlive.
TheDiveO Blog: know-how about Protune-grading in Kdenlive, GoPro HD Hero 3, DJI Phantom Quadcopter, full face mask diving, and some more...
capslock
Registered Member
Posts
290
Karma
0
OS

Re: Large File Size

Thu Oct 17, 2013 6:34 am
To answer the question about the file size: File size primarily depends on the video and audio bitrate. Rendering lossless is rendering something like 240.000 kbit which produces approx. 30MByte output for each second of your movie. The downloaded file surely will have a bitrate far, far below and thus a smaller file size.

 
Reply to topic

Bookmarks



Who is online

Registered users: Alexa [Bot], Baidu [Spider], Bing [Bot], bshah, cylverbak, dehnhardt, Exabot [Bot], ggael, Google [Bot], HmpfCBR, ivan, ken300, koriun, Majestic-12 [Bot], nezumi, ooker, oskaras, paulus3005, rulet111, Schoelje, TheraHedwig, Tuukka, valoriez, VulpesVulpes, Yahoo [Bot]