Bug 376370 - Timing of cropped video and audio is wrong when changing framerate (FPS)
Summary: Timing of cropped video and audio is wrong when changing framerate (FPS)
Status: RESOLVED WORKSFORME
Alias: None
Product: kdenlive
Classification: Applications
Component: Rendering & Export (show other bugs)
Version: 16.12.1
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-11 20:30 UTC by me@iqandreas.com
Modified: 2021-03-30 04:33 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:
fritzibaby: Brainstorm+


Attachments
Project at 30 FPS (51.27 KB, application/x-kdenlive)
2017-02-11 20:30 UTC, me@iqandreas.com
Details

Note You need to log in before you can comment on or make changes to this bug.
Description me@iqandreas.com 2017-02-11 20:30:45 UTC
Created attachment 103986 [details]
Project at 30 FPS

I created a 30FPS project using containing titles, clipped audio files, and a clipped 30FPS video.

I re-used the same project to create an introduction that uses exactly the same assets, but a 60FPS video.

Since the project was first created in 30FPS, it renders as 30FPS just fine. Since kdenlive keeps track of frames, not durations, if I change the framerate of the entire project to 60FPS, the timing of everything gets thrown off.

Aside from the entire project being half as long, everything looks just fine in the timeline (it's all lines up correctly). However, the "begin" and "end" timings for the audio and video clips are off. 

I have uploaded sample renders as examples of the result:

 * Original project, 30 FPS: https://youtu.be/lXyIRzt4Fsg
 * Changing the settings to 60 FPS: https://youtu.be/oWvjQbdvuo0
 * Changing the settings to 59FPS: https://youtu.be/Fn7EisV6Dco


Is it possible to change the framerate of the project while keeping all the timings the same?
Comment 1 me@iqandreas.com 2017-02-26 04:56:17 UTC
I'm tempted to just manually open the text file and edit all the 'in="2387" out="2484"' values to double (or halve?) them to fix this problem.

Is there a standards document that lists all the attributes, so I can find which ones are tied to the framerate?
Comment 2 Wegwerf 2017-03-05 19:52:14 UTC
@me...: All MLT frame positions are, erm, in (project) frames and thus tied to the framerate.

@OR: can you please attach a simple minimized project example? Does this trigger on any kind of clip, even on image, color, and title clips? Can you simply create a short video clip, just one or two seconds, then a project for this with 30fps, and finally attach that?

Thank you very much for your cooperation!
Comment 3 emohr 2021-02-28 15:42:02 UTC
This report is related to very old unmaintained version. A lot changed since then, especially the timeline got a complete rewrite.

Please try with the current Kdenlive AppImage version 20.12.2  https://download.kde.org/stable/kdenlive/20.12/linux/
Comment 4 Bug Janitor Service 2021-03-15 04:33:35 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2021-03-30 04:33:39 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!