I’ve been working with KDENLIVE recently and trying to get a good result for YouTube, unfortunately while KDENLIVE is very powerful, it’s documentation is abysmal, most of it is out of date and none of it explains the syntax that should be used for the render profiles, the format is pretty esoteric and really hard for a neophyte to parse.
So far I have been able to gather that the following settings seem to do the trick:
codec:v libx264 crf 21 bf 2 -flags +cgop pix_fmt yuv420p codec:a aac -strict -2 b:a 384k r:a 48000 -movflags=+faststart -fps 60
Here are the parts I understand:
codec:v libx264 -> Set the Video codec to H.264
codec:a aac -> Set the Audio codec to AAC
r:a 48000 -> Set audio sample rate to 48000
-movflags=+faststart -> Sets the moov atom at the front of the file (Fast Start)
-FPS 60 -> set the FPS to 60
The rest I’m not too sure about, but it seems to produce good looking video, if anyone can explain the remaining settings, I’d be interested to learn!