Skip to content

kdenlive export implemented #790

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jul 31, 2025
Merged

Conversation

guladam
Copy link
Contributor

@guladam guladam commented Jul 28, 2025

I have implemented the option to export to kdenlive.
The work is based on the already existing shotcut export version, but the generated MLT file is tailored specifically for the kdenlive project requirements.

What works after testing:

  • auto-editing one clip, with either a single or multiple audio and video channels
  • all cuts are grouped together across multiple tracks
  • sped up clips (tested it with the --silent-speed option)

Specifics of my system:

  • OS: Linux Mint 22.1 Cinnamon
  • Python version: 3.12
  • kdenlive version: 23.08.5

Let me know if there is anything else to do from my side.

@guladam
Copy link
Contributor Author

guladam commented Jul 29, 2025

Thanks for the cleanup!

@WyattBlue
Copy link
Owner

This is a fantastic PR for a first time contributor. Granted, there are some things that can be improved.

It's possible to do this in auto-editor:

auto-editor 1.mp4 2.mp4 --export kdenlive

but "2.mp4" doesn't have the right source because you hardcoded src to be always be the first clip.
Also

auto-editor example.mp4 --video-speed 2 --export kdenlive

Should have the pitch be same but it's not.

@WyattBlue WyattBlue merged commit d2c47d4 into WyattBlue:master Jul 31, 2025
4 checks passed
@guladam
Copy link
Contributor Author

guladam commented Aug 1, 2025

Hey, thanks for the feedback!

When I have some free time again, I'll try to do the improvements you suggested.

It's possible to do this in auto-editor:

auto-editor 1.mp4 2.mp4 --export kdenlive

I suspected that this might be the case... I have to admit that I started working on this based on the already existing Shotcut export, since both programs use MLT for project architecture. The Shotcut export uses this hardcoded source clip solution. That will be relatively easy to implement.

For the other one:

auto-editor example.mp4 --video-speed 2 --export kdenlive

Should have the pitch be same but it's not.

Can you elaborate a bit? You mean that audio pitch should stay the same but it shifts the pitch up?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants