-
Notifications
You must be signed in to change notification settings - Fork 196
Incorrect EDL in multi-fps playlists #786
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Incorrect EDL in multi-fps playlists #786
Conversation
Signed-off-by: Cédrik Fuoco <[email protected]>
9ce3969 to
e13dcdf
Compare
pbergeron-adsk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, but can you specify in your pr comment what are the other issues you intend to fix in other PRs?
|
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
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Please add the repro steps of SG-38200 for the post checkin test just to be safe.
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.