Skip to content

edoardomarascalchi.it

quando non si ha niente di meglio da fare

Menu
  • About me
  • About my work
  • Concerti
  • Contacts
  • Film
  • Musei
Menu

How to render a KDEnlive project on a different computer

Posted on 02/01/202403/01/2024 by Edoardo

Since few years I’m working in the video editing space and – as a Linux lover – I do my all edits on KDEnlive.

When I started this journey I did all of my edits on an Asus laptop running on an i3 4th gen CPU and 8GB of RAM. Not the most powerfull solution but what I was able to afford.

Few years have passed and I’m now on a 10th gen i7 HP laptop that I specifically bought thinking of taking vantage of the integrated Nvidia GPU just to realize it’s an MX250 lacking the encoders. Luckly enough the cpu sports an iGPU that can help in the encoding phase. Nether the less I still look to find a way to speed up my renderings.

Some months ago I salvaged a pc from the sidewalks and made an home server from it. It was originally an i3-4th gen with 4GB of Ram. I upgraded it to an i7-4790 that I bought on aliexpress for 40$ and added 16GB bought on aliexpress as well for 15$.

Looking at the comparison between the i7-4790 and my shiny 10510U I realized that the 4790 could be faster than the latest 10510U… mostly because of the faster clock.

I then looked at how to offload the rendering from my laptop to the server but as far as I searched, there is no tutorial or explanation. The most I found was a yotube video on how to render on a virtual server instance under proxmox but with the caveat of having to use the KdenLive GUI.

note: both my laptop and server are running Ubuntu. As of this morning the server was on 22.04.3 LTS while my laptop on 23.10

Few observation before the start:

KDEnlive can create a rendering script that can be used as input for melt. Usually this is done to create a rendering queue to be runt at a different time. This script however, can be used on any other system to render the same project.

The script is saved in some folder, according to kdenlive settings: in my case in /home/edoardo/Videos/kdenlive-renderqueue
as you can see in the image below

The script reference all the parts needed for the video as absolute paths.
This means that if the project makes use of library stuff (mine does), that files are not in the same folder as the other videos/pictures/music you use in your project. you’ll need to archive your project somewhere to have all the necessary pieces in the same place.

Now, as I use my server as a NAS and a Backup, the files are already there but the path is diffent between the laptop and the server so, I created a symbolik link on the server to reflect the path on the laptop.
This step can be avoided if you edit the .mlt script to reflect the path on the rendering pc.

So, I ended having a script and all the element alligned between the 2 systems. Than I tried to run the rendering with a simple command over the cli

melt renderingscript.mlt

That didn’t go well. Leaving apart errors in the script himself, melt was complaining about running on an headless system with no Desktop Enviroment because the process is based on QT libraries that are relying on the DE. The solution is to install xvfb, a wrapper to “simulate” the presence of a DE.

Still not working, so I tried installing kdenlive and that made the things slightly better, still no success but less errors. Than I realized my version of Ubuntu server was not updated and the kdenlive version very outdated… Ok, let’s update ubuntu to the next LTS (23.04)…

About half an hour later Ubuntu was updated and KdenLive as well, still not the latest release but not the oldest as before. That made the trick.
The rendering script is now working and the render is completing.
I runt a couple of test with a project of mine of a short video of about 2 minutes with different transitions, transformations and overlays. The final video is a vertical Full HD 30fps.

The server (no gpu involved), renderd it in 1:22
The laptop (no gpu involved), rendered it in 1:43
the laptop (with the igpu), rendered it in 1:23

so, the server is actually faster than my laptop (sigh…) but the igpu saves the day.

So, long story short, if you want to offload your rendering:

1. update the rendering machine to the same OS/version
2. install a Deskop Enviroment or at least xvfb
3. install kdenlive
4. archive your project
5. create the script
6. edit the script to fit the path if you are storing the files in a different path
7. run melt on the .mlt file created by kdenlive
8. enjoy your video

p.s. the rendering can be over the GPU, integrated or discreet, assuming you have one on your rendering machine even if you don’t on the editing one, as far as you save the script selecting the correct rendering profile.


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Ipse Dixit

Musability: capacità di farsi ispirare in maniera comprensibile
… (next quote)

MI trovate anche qui:

Facebook Mastodon Threads Instagram Pinterest Youtube LinkedIn
Wikipedia OSM Kiva Shabbat.com

Parolateca

Aliyah Berlusconi bicicletta bimboebimba bookcrossing casa concerto Concorso Disservizio ebraico Ebraismo Elezioni Explorer fesserie festività film Firefox Home Banking incidente Israele kasher kippur kupat holim Lavoro Lulav macchina Mamma Matrimonio Microsoft nano malefico Netanya OpenStreetMap Papà Poste Italiane rendering sport Sukka sukkot Tel Aviv terrorismo vacanza Venezia Viaggi video Windows

WishList su Amazon.it

i miei desiderata
Fotografia
Bambini

Han detto la loro

  • Yosef on Am Israel Chai! Il popolo di Israele Vive!
  • Danila on Goebbels aveva ragione
  • » Hai mica 20 milioni da prestarmi? Faccio Cose Vedo Gente on 20 milioni di danni, e non è Berlusca…

Tutto quello che ho scritto

Di cosa ho scritto

Contatore di Kassam

Dalla proclamazione del terzo cessate il fuoco, da Gaza sono stati lanciati missili verso il territorio di Israele

Blogroll

  • Eprime Shop Shop Online Computer
  • Etromino’s Blog

Miei Siti

  • aliyah.it Informazioni sull’Aliyah da italiani per italiani

Svago

  • Dilbert Dilbert, il mio ideale di ingegnere
  • Orsociccione Orso e gatta bastarda
  • PhD Piled Higher & Deeper
  • User Friendly User Friendly
  • Very Affollated People (by Upi)

Categorie

  • abbigliamento (2)
  • Aliyah (19)
  • Amici (4)
  • bababab (1)
  • bimba (2)
  • bimbo (3)
  • cambiamenti (3)
  • costa rica (1)
  • Cugino (1)
  • Cultura (57)
  • dress code (2)
  • Ebraismo (35)
  • Ecologia (1)
  • Erede (4)
  • Famiglia (11)
  • foto (11)
  • galleria (1)
  • ginnastica (1)
  • gusti (1)
  • honeymoon (1)
  • I Bimbi (5)
  • Io (78)
  • ironia (4)
  • Israele (29)
  • Lavoro (23)
  • Matrimonio (4)
  • Mondo (63)
  • Noi (27)
  • OpenStreetMap (2)
  • Pancia (1)
  • Politica (7)
  • preistoria (1)
  • Ricordi (1)
  • risate (1)
  • Rotolare (1)
  • Ruth (8)
  • Sito (10)
  • storia (3)
  • Tecnologia (69)
  • Viaggi (42)
  • viaggio (1)
© 2025 edoardomarascalchi.it | Powered by Superbs Personal Blog theme