Bug 476754 - Serious and deterministic clip misalignment
Summary: Serious and deterministic clip misalignment
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Video Display & Export (show other bugs)
Version: 23.08.2
Platform: Flatpak Linux
: NOR major
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-11-09 14:20 UTC by Rui Seabra
Modified: 2024-02-15 09:58 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
mediainfo for all clips (103.83 KB, text/plain)
2023-11-09 14:20 UTC, Rui Seabra
Details
original file where I noticed the issue (41.89 KB, application/gzip)
2023-11-09 14:21 UTC, Rui Seabra
Details
file I "saved a copy as" in the video showcasing the issue (41.89 KB, application/gzip)
2023-11-09 14:22 UTC, Rui Seabra
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rui Seabra 2023-11-09 14:20:44 UTC
Created attachment 162969 [details]
mediainfo for all clips

SUMMARY

I'm suffering from deterministic clip misalignment, it may be a bug or something I did of very wrong, but if so I don't understand what I did wrong.

I noticed this with Fedora 38's kdenlive, but it also happens with the official flatpak.

STEPS TO REPRODUCE
1. I describe the full process in this subtitle video: https://youtu.be/sVwvfn6_jTI
2. I add show.kdenlive and show3.kdenlive files
3. I add mediainfo results for all clips

OBSERVED RESULT

After saving, quiting, and restarting, clips are misaligned.

EXPECTED RESULT

After saving, quiting, and restarting, clips are as aligned as they were at save time.

SOFTWARE/OS VERSIONS
Fedora 38, native kdenlive 23.08.1 and flatpak of 23.08.2
Comment 1 Rui Seabra 2023-11-09 14:21:51 UTC
Created attachment 162970 [details]
original file where I noticed the issue
Comment 2 Rui Seabra 2023-11-09 14:22:28 UTC
Created attachment 162971 [details]
file I "saved a copy as" in the video showcasing the issue
Comment 3 Rui Seabra 2023-11-09 14:25:12 UTC
Note: the misalignment happens all over the file, I spend about two days (between life and such) fixing the holes, render a video with no issues, then when I open again... misalignment all over again.
Comment 4 Rui Seabra 2023-11-09 16:03:48 UTC
I bit the bullet and repeated the test with the AppImage, with the same results.
Comment 5 Jean-Baptiste Mardelle 2023-11-10 17:34:04 UTC
Thanks for your detailed report. I can reproduce and will look into it asap.
Comment 6 Jean-Baptiste Mardelle 2024-02-15 06:02:37 UTC
Git commit d422c00d13c5253faa463213e3b63c7398999eca by Jean-Baptiste Mardelle.
Committed on 15/02/2024 at 06:02.
Pushed by mardelle into branch 'master'.

Warn on opening a project with a non standard fps

M  +9    -0    src/doc/kdenlivedoc.cpp
M  +29   -0    src/profiles/profileinfo.cpp
M  +2    -0    src/profiles/profileinfo.hpp

https://invent.kde.org/multimedia/kdenlive/-/commit/d422c00d13c5253faa463213e3b63c7398999eca
Comment 7 Jean-Baptiste Mardelle 2024-02-15 06:06:15 UTC
This bug happened because the project file was using a non standard framerate (29.83) which is not supported. This framerate was suggested by Kdenlive based on the source clip's data. We now ensure that only valid fps are proposed by Kdenlive (since 23.08.5), and a warning is now displayed when opening such projects (will be in 24.05.0)
Comment 8 Rui Seabra 2024-02-15 09:58:26 UTC
Thank you so much, JBM! :)