Bug 457783 - Mix transitions don't work. Error message: Not enough frames at clip [end/start] to apply the mix. Transitions not saved if added to image clips.
Summary: Mix transitions don't work. Error message: Not enough frames at clip [end/sta...
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Video Effects & Transitions (other bugs)
Version First Reported In: 22.04.3
Platform: Compiled Sources Microsoft Windows
: NOR major
Target Milestone: ---
Assignee: Vincent PINON
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-12 00:04 UTC by Darwin McGrath
Modified: 2025-09-18 22:10 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
problem reappeared (83.77 KB, image/png)
2024-02-02 20:20 UTC, Gerry Gavigan
Details
using appImage (515.12 KB, image/png)
2024-02-03 23:03 UTC, Gerry Gavigan
Details
transition successful (96.86 KB, image/png)
2024-02-03 23:05 UTC, Gerry Gavigan
Details
about intro.mp4 (484.48 KB, image/png)
2024-02-03 23:09 UTC, Gerry Gavigan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Darwin McGrath 2022-08-12 00:04:31 UTC
SUMMARY
Mix transitions not working
1. Mix transitions between video clips cannot be applied.
Error message is: "Not enough frames at clip [end/start] to apply the mix" despite clips being 40+ seconds long
2. Mix transitions between image clips are not saved. Missing when project is reloaded.


STEPS TO REPRODUCE
1. Create a new project and add video and image clips to the Project bin and add them to the timeline
2. Double click between two video clips of suitable length to add mix. Will receive error message, mix not created.
3. Double click between two image clips to add mix. Mix will be added. edit transition as desired (e.g. slide)
4. Save file. Close kdenlive. open kdenlive, open saved project. transition is gone or missing .pgm file message pops up.

OBSERVED RESULT
Error message when trying to create mix transition between video clips.
Mix Transitions between image clips gone or pgm file missing when reloading project

EXPECTED RESULT
Should be able to add mix transitions between video clips.
Transitions should be saved.

SOFTWARE/OS VERSIONS
Windows: 11 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Attempted mix transition with slide from right to left and with luma bar horizontal
Comment 1 Darwin McGrath 2022-08-12 10:11:01 UTC
Issue with transition file not loading (luma01.pgm in the case of bar horizontal) now occurs with composition wipe transitions as well.
In the list of project files luma01.pgm appears with no path. kdenlive unable to find file on project reload. Requires either a manual search (file doesn't exist so this fails) or deleting the clip as options. Deleting the clip results in the transition in question reverting to a wipe with dissolve.
Comment 2 Gerry Gavigan 2024-02-02 20:20:29 UTC
Created attachment 165487 [details]
problem reappeared

Using Tumbleweed updated to today, kdenlive 23.08.04
Comment 3 Jean-Baptiste Mardelle 2024-02-03 08:05:43 UTC
@Gerry: I guess you have enough frames at the beginning of in the clips to create the mix ? Could you please test with the latest development Appimage (only for testing this bug), open the project file and see if the issue is fixed ?
24.02.0 RC Appimage available here: https://files.kde.org/kdenlive/unstable/kdenlive-24.02.0-RC-x86_64.AppImage.mirrorlist

If the bug is still there, sharing your project file would help
Comment 4 Gerry Gavigan 2024-02-03 23:03:37 UTC
Created attachment 165515 [details]
using appImage

Thank you for responding so quickly. The AppImage was a bit unhappy with my project so I took the two basic files I am trying to transition and created a new project with no better success. FWIW the header (beginning) has been used many times before. Occasionally the problem has arisen and one random fix was to trim a tiny bit off the new file and "close all gaps (which of course might be cargo culture).  

The new piece of information that might or might not be relevant is the new version didn't like the header file (intro.mp4)
Comment 5 Gerry Gavigan 2024-02-03 23:05:48 UTC
Created attachment 165516 [details]
transition successful

This is a similar project with the transition successfully applied
Comment 6 Gerry Gavigan 2024-02-03 23:09:30 UTC
Created attachment 165517 [details]
about intro.mp4

this message came up with the new version of kdenlive - which I have not see before
Comment 7 Gerry Gavigan 2024-02-03 23:11:06 UTC
and finally if you want the entire project file that is OK, I can whack it on to Google drive
Comment 8 Jean-Baptiste Mardelle 2024-02-04 14:45:27 UTC
I cannot reproduce, so would help if you could share the simplest possible project file (just the .kdenlive project file should be enough)
Comment 9 Gerry Gavigan 2024-02-04 15:35:26 UTC
You should have received an email link
Comment 10 Jean-Baptiste Mardelle 2024-02-04 15:58:18 UTC
So I had a quick look at your project file and it seems that Kdenlive behaves correctly. To create a Mix transition between 2 clips, you need to have at least a few cropped frames in one of the clips to create the transition... so you should resize the end of your intro clip to make it a bit shorter (or resize the start of the second clip to crop a few frames), then the mix should work...
Comment 11 Gerry Gavigan 2024-02-04 16:21:51 UTC
that works, thank you
Comment 12 Thomas Debesse 2025-09-18 22:10:09 UTC
I reproduce this in Kdenlive 25.08.0 from Flatpak, on Linux.

Sample project:

https://dl.illwieckz.net/b/kdenlive/bugs/mix-bug/20250919.kdenlive-mix-bug.tar.xz

Each clip is 40s long, in fact two copies of the same clip is used. Kdenlive refuses to mix them with the said error message.