this post was submitted on 06 Jan 2024
78 points (97.6% liked)

Linux

48220 readers
668 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Just recently switched back to Linux after more than a decade away. (I'm currently running Mint Cinnamon if anyone is curious) On Windows I was using the free version of Davinci Resolve for all of my video editing. I quickly discovered that the free version of Resolve for Linux doesn't support H.264/H.265 so after trying every Linux video editor I could find (even Blender) I've settled on using Kdenlive. I've been having a good time getting everything dialed in and learning Kdenlive. I was able to get hardware acceleration working with my Nvidia GPU, and I really appreciated that it could natively utilize the proxy clips that my DJI Action 3 generates when recording. I've been reading all kinds of tips and tricks articles but most of it is just basic stuff. Anyone using Kdenlive have more advanced tips to share? Particularly anything around title generation and animation as I've found Kdenlive's system to be a little clunky. Let's talk!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 8 points 10 months ago (1 children)

It might be quite hard to give full tutorials - I suppose it depends a little on what you're trying to do - and are your titles intro sequences or other onscreen graphics etc?

The titler within Kdenlive is perfectly functional for static text/shape work, but you may find it easier to produce things externally - I certainly found myself producing the majority of titles in Inkscape - both onscreen graphics and intro pages etc. Basic stuff, i just put the full page in, faded in and out as appropriate. Kdenlive will take SVG and PNG, so you've got transparency for different layers of title component.

For bits with moving/sliding/fading components (like in an interview, a coloured bar slides onto the screen in the bottom left, then the person's name fades in, then their position/workplace fades in, then it all fades out together) - I'd do those with individual components in Inkscape, imported as separate svg files and layered up in Kdenlive, then individually positioned, cut and faded in/out as separate clips (My timelines are normally 8-10 tracks high).

More complex motion graphic work I used to render out in Blender, but I think these days I'd probably use Natron for some of it.

Also, copy and paste as much as possible - work with reusable templates where you can.

If you've got a better idea of what sort of thing you're aiming for (maybe an example of what you want to (re)create?) - I might be able to offer a few pointers at least :)

[–] [email protected] 3 points 10 months ago (3 children)

Yeah, the Kdenlive titler is perfectly workable, and I've already created a template or two for quick re-usability. I was being a bit nit-picky ecause everything else has honestly been great. I guess I'm just more used to Resolve where you can have premade title templates that have their own animations already built-in and dynamically adjust to the size of the content. This makes adding titles a snap as opposed to Kdenlive where I have to add my template, then add the content, then manually resize the elements to fit the content then add to the timeline and finally apply animations. What takes maybe 30 seconds in Resolve can be a 3-5 min job in Kdenlive. This could probably be cut-down a lot as I become more efficient though. My title needs aren't really that complicated.

[–] [email protected] 5 points 10 months ago (2 children)

I've been using Glaxnimate which integrates with Kdenlive. It's a tool for animating SVG elements. It's a bit clunky I find but it's nice in that you can have shapes and text follow animation path with different time curves. It can be used directly from Kdenlive which is pretty cool.

As for other tips, one I use a lot is Timeline Preview Rendering. If you have a whole pile of effects, playing in the project monitor can become very choppy. With the prerendering, you can just render that section and it will play smooth while still allowing you do edit the audio.

Finally, for getting the footage from clips, I use I and O to set the start and end of a part of the clip I want and then with Ctrl+I I can create a zone that shows up in the Project bin. I use that a lot to get the fragments I want first and then build the fill timeline later.

[–] [email protected] 2 points 10 months ago (1 children)

I saw the option for adding a new animation in the project bin, and installed Glaxnimate with the intention of giving it a shot, but the software manager in Mint only has the Flatpak version available which obviously won't work. As for timeline preview rendering, it's awesome! I use it to pre-render all of my titles and transitions before I record my voice over so the project monitor doesn't stutter and throw off the timing on the audio recording. Works a treat! Speaking of voice over, I REALLY wish there was an option for a sidechain compressor input. As it stands now I record my VO, then render out each of the audio channels and then import into Audacity to apply the audio ducking and other effects before importing it all back into Kdenlive. It's a bit of a headache but it does work.

[–] [email protected] 2 points 10 months ago (1 children)

Oh, I see what you mean about the Glaxnimate Flatpak. I just tried it out.

You can get it to work, but it's a bit of a hack. You first need to create a script containing:

#!/bin/sh
/usr/bin/flatpak run org.mattbas.Glaxnimate $@

Let's call it glax or something like that. Then make it executable:

chmod +x glax

Then in Kdenlive, go to Settings -> Configure Kdenlive -> Environment -> Standard Applications, change the one for editing animation to point to that script. Should work now. At least, it did for me!

And yeah, shame about the audio processing.

[–] [email protected] 2 points 10 months ago* (last edited 10 months ago) (1 children)

ahh, that makes sense. I'll give it a go.

EDIT: Hmm, didn't seem to work for me. I created the script and made it executable then put the path to the script in Kdenlive's settings. I can right-click in the project bin and click "create animation" which gives me a .JSON file but I see no way to edit it. Double-clicking it just shows me its properties and right-clicking and selecting "edit clip" does nothing. Interestingly if I execute the script from terminal it starts Glaxnimate as expected. I also went ahead and created a similar script for Pinta as my image editor since I'm also running the Flatpak version of that and had the same result as Glaxnimate when trying to edit images. I also entered the path for Audacity as my audio editor, but it's installed as a system package so I pointed Kdenlive directly to the binary and got the same result when trying to edit audio files. Maybe I'm just not understanding this, or I have something setup wrong in Kdenlive... Any ideas?

[–] [email protected] 2 points 10 months ago (1 children)

Hmm, no sorry. All I can think of is that maybe Kdenlive itself is a flatpak version in which case it wouldn't be allowed to run external programs like Glaxnimate (or Pinta). I guess in that case it requires some magic with Flatpak overrides.

[–] [email protected] 2 points 10 months ago (1 children)

Nailed it. I didn't even think to check that... I'll have to see if I can find a workaround. Thanks!

[–] [email protected] 2 points 10 months ago

Yeah, tricky! You might be able to do something similar to getting native messaging extensions to work on Flatpakked Firefox as described here: https://bugzilla.mozilla.org/show_bug.cgi?id=1621763#c5

[–] [email protected] 1 points 10 months ago

Very interested to hear about Glaxnimate - I'd not heard of that one and will definitely have a look - thanks for bringing it to our attention :)

[–] [email protected] 2 points 10 months ago (1 children)

I would say one of the few downsides Kdenlive has is the lack of the premade templates. I feel like there's gotta be a site out there for those premade templates that us hobbyists can download and use, but hopefully they'll just bake that in directly in the future.

The other issue I have is the effects plugins aren't always up-to-date, so not all plugins work with the latest version.

[–] [email protected] 2 points 10 months ago (1 children)

Not the easiest thing to find, but there is a site for templates and stuff here: kdenlive templates.

There's not loads on it, and quality may vary. Note that quite a few of these are more like snippets of a project to copy and paste in, so might take a bit of fiddling to get running, compared to just picking "swooshy title #3" and putting your own text in it - but in some form it exists at least :)

[–] [email protected] 2 points 10 months ago

Appreciate the link, thanks!

[–] [email protected] 1 points 10 months ago

I get what you mean - it's quite "roll your own" rather than "pre-made" - and the same for quite a few of the effects and motion settings.

Note that you can save template versions of effects or motion settings if you need, so after you've used it a while, you might have a reasonable library of things you need - but you're right, there's a bit of a lack of "drop in, ready to go", particularly for quick titles.

Something like a "jiggly funky colourful text shaking about" effect can be a day's work, rather than a 2 minute "write your own text with this pre-made sequence".

Just in case they're useful, there are a set of downloadable templates Kdenlive downloadable titles here, but I'm not sure it's quite going to cover what you're after - but worth a browse in case.