Bug 492692 - Difficulties with editing/playing back MPEG files in Kdenlive 24.08*
Summary: Difficulties with editing/playing back MPEG files in Kdenlive 24.08*
Status: CONFIRMED
Alias: None
Product: kdenlive
Classification: Applications
Component: Monitors & Playback (show other bugs)
Version: 24.08.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-09-05 20:56 UTC by Bibido
Modified: 2024-10-02 06:21 UTC (History)
1 user (show)

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


Attachments
5-second frame counter (1.75 MB, video/mpeg)
2024-09-05 20:56 UTC, Bibido
Details
Issue playing MPEG file accurately (2.34 MB, video/mp4)
2024-09-05 21:06 UTC, Bibido
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bibido 2024-09-05 20:56:22 UTC
Created attachment 173363 [details]
5-second frame counter

SUMMARY
In the 24.* versions it seems to me that playing or editing MPEG files under Kdenlive has become more unreliable. At least under 23.08.5 (Qt5) I didn't notice frozen frames when moving the playhead back/forward. They become more noticeable when you cut such a clip in two and quickly go back/forward a frame with the < and > keys near the cut.

STEPS TO REPRODUCE
1. Open the video attached here, a 5-second clip produced by Kdenlive using the time frame counter tool;
2. In the timeline go fast forward a few seconds with the ">" key, then back to the beginning of the clip using "<"
3. Make a cut somewhere e.x. in the middle

OBSERVED RESULT
Kdenlive manages to play the video, it stops to do so for too many frames when going backwards with the mouse or the "<" key. This makes it impossible to do accurate cuts scene by scene, because you don't know at which exact frame the cut is really happening.

EXPECTED RESULT
I tried playing/editing the same MPEG video under Kdenlive 23.08.5, and there I don't see the issue with the playback/jumping frames. 

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
(available in the Info Center app, or by running `kinfo` in a terminal window)
Linux/KDE Plasma: 
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Bibido 2024-09-05 21:06:01 UTC
Created attachment 173366 [details]
Issue playing MPEG file accurately
Comment 2 Jean-Baptiste Mardelle 2024-09-09 20:12:47 UTC
Thanks for the report. We could reproduce a similar issue and traced it to MLT's commit:
https://github.com/mltframework/mlt/commit/c868d5eef34e61cbbc61e43e5f7177e5b1f8b7cc

We are investigating and will contact the MLT team to find a solution asap.