r/kdenlive • • 5d ago

DISCUSSION Using AI to accelerate kdenlive development

Hey guys,

I understand the team for Kdenlive is very small. I wanted to ask if the team is using AI to accelerate development? It would make Kdenlive much more competitive, much faster and make life easier for the devs too. In addition, as we are seeing with alot of emulator projects, AI can significantly accelerate development from years to weeks/days.

Other open source projects like Paint.Net are using AI to accelerate development as well (the lead author, Rick Brewster) used Fable to port certain dlls/windows features to wine to enable Paint.Net to work on linux.

If AI is not being used for development of Kdenlive, I wanted to know why not? For example, with broken GPU support for so long and waiting for movit library to be fixed (I am not sure it ever will be), why not use AI to rewrite GPU timeline acceleration support? that way there is no need for an "all hands on deck" kind of thing to enable such an important feature and the devs can focus on other things

0 Upvotes

5 comments sorted by

7

u/kkreinn 5d ago

I hope and wish that they don't.

1

u/berndmj Educator 4d ago

Generative AI or anything that "phones home" will not be part of Kdenlive. Using AI to help with code optimizations or other bits and pieces here and there is currently being discussed at the KDE level.

-3

u/Linuksoid 5d ago

Why? Even the Linux kernel uses ai for development

4

u/berndmj Educator 4d ago

Here are a few things to consider:

  • AI only accelerates development if you know what you are asking for and know how to formulate the prompts
  • Whatever AI produces needs to be reviewed by the developer(s) wrt architectural fit and maintainability
  • Developers take great pride in their work and draw most of the satisfaction and fun from actually getting their hands dirty and making the computer do what they envisioned for a particular feature
  • The maintainers of the application have to understand what the AI-generated code is doing and how to be able to fix bugs surfacing further down the road or make changes to the feature implemented with AI
  • AI still makes lots of mistakes or doesn't really understand the underlying architecture or philosophy of the application
  • Using AI also costs money, and you don't want the free AI to create code for your application

There have been forks for Kdenlive that used AI to implement GPU acceleration, adjustment layers, and a few other things the community wants. While it shows that it can be done, the jury is still out whether those projects will survive the first few months and receive further updates and bug fixes. Note that those projects also don't have a group of developers, hey, some were done by individuals w/o any or only little developing experience, so chances are that they will become stale.

AI is here to stay - no doubt about that. But it is paying off in the long run to have a well-thought-through strategy and approach to using AI in your development and - even more importantly - you maintenance process for your application. KDE is currently working on exactly that, and with Kdenlive being part of the KDE family we are closely following their discussions and engaging in dialog with them to help defining that strategy.

2

u/ProjektFive 4d ago

Thank you for your great and understandable explanation. The next time I have to explain this topic to someone, I'll save myself the trouble and just hand them your text :)