10 Jul 2017, 5:12pm
linux:

leave a comment




  • Anzeige
  • Rendering problem with Kdenlive

    I really enjoy using the Kden­live video edi­tor. I think it’s a sim­ple, straight for­ward, and yet pow­er­ful tool.

    But just dur­ing the last few days, I had trou­bles for the first time and could not find a solu­tion. When ren­der­ing my project, it kept fail­ing with max_analyze_duration 5000000 reached at 5000000. I searched online, the error might be related to the size of the audio (>1h) Still, the project ren­dered at first, but after the final cut — with lots and lots of cuts — I started get­ting this error, thus, out of a sud­den, I was not able to get my final video file out any­more. Was I threat­ened to hav­ing to do the entire work again or what??

    Finally, today I found a solu­tion! Bet­ter, a workaround.

    I split up the file by adding guides — in my case three, but the num­ber might depend on the project size — and then used the ren­der fea­ture “Guide zone” (at the bot­tom of the ren­der dia­log). So, I ren­dered three parts and used melt to put them together like this:

    melt input*.mp4 -consumer avformat:result.mp4 acodec=aac ab=160k vcodec=libx264 vb=3000k
    

    I’m using x.264 and AAC here — but you can also drop all those para­me­ters and let melt fig­ure every­thing out — it’s pretty capa­ble, give it a try.

    melt input*.mp4 -consumer avformat:result.mp4
    

    If you have ffmpeg on your sys­tem, you can merge the files using the copy mode, so no qual­ity gets lost — see details here. But even when using melt and thus re-encoding the video, you will not notice that it has been ren­dered in three parts and “melted” later. So I’m happy! Still a bit sur­pris­ing that I could not find a solu­tion online. So hey, hope this approach works for you too! :)

    *name

    *e-mail

    web site

    leave a comment