Incorrect EDL in multi-fps playlists#786
Open
cedrik-fuoco-adsk wants to merge 7 commits intoAcademySoftwareFoundation:mainfrom
Open
Incorrect EDL in multi-fps playlists#786cedrik-fuoco-adsk wants to merge 7 commits intoAcademySoftwareFoundation:mainfrom
cedrik-fuoco-adsk wants to merge 7 commits intoAcademySoftwareFoundation:mainfrom
Conversation
Signed-off-by: Cédrik Fuoco <[email protected]>
9ce3969 to
e13dcdf
Compare
pbergeron-adsk
previously requested changes
May 28, 2025
Contributor
pbergeron-adsk
left a comment
There was a problem hiding this comment.
Ok, but can you specify in your pr comment what are the other issues you intend to fix in other PRs?
Contributor
Author
|
It's one specific issue. There are some cases in a multi-fps playlists where RV and CR does not interpret a frame calculation the same way. For example, RV will do a calculation similar to a floor() while CR will be a ceil(). There are no fix until we decide which one is right. @bernie-laberge and me decided to deal with that later. |
bernie-laberge
approved these changes
May 29, 2025
Contributor
bernie-laberge
left a comment
There was a problem hiding this comment.
LGTM
Please add the repro steps of SG-38200 for the post checkin test just to be safe.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Incorrect EDL in multi-fps playlists
Linked issues
n/a
Summarize your change.
The calculation of the frame and out properties in the EDL was incorrect for playlists containing clips with varying frame rates.
In
_get_in_out_frame, the values for theinandoutframes were not what RV is expecting. For all playlists, the in values must be thestart_timeof the clip at its rate - not the rate of the sequence/timeline (which is the rate of the first clip).For the out value:
For the frame value in the EDL, I based the implementation on what RV is doing here:
OpenRV/src/lib/ip/IPBaseNodes/SequenceIPNode.cpp
Lines 785 to 800 in 673f2b7
Describe the reason for the change.
The current implementation of the EDL calculations for the
framesandoutwere wrong. The values were not what RV was expecting. The original issue was that the clip were stuck at the last frame of the clip because the EDL values are wrong.Note:
There are some cases in a multi-fps playlists where RV and CR does not interpret a frame calculation the same way. For example, RV will do a calculation similar to a floor() while CR will be a ceil()
Describe what you have tested and on which operating system.
MacOS, Linux
Add a list of changes, and note any that might need special attention during the review.
If possible, provide screenshots.