-
Notifications
You must be signed in to change notification settings - Fork 293
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
Only one clip added to track when they have the same duration #1796
Comments
Hi, @stephanedebove Could you please try to add |
Hi @apetrynet ,
|
Does the otio file itself display the two clips as expected in otioview or another app supporting otio natively? |
Unfortunately I don’t have any other app supporting otio and I was not able to make otioview work, even following these instructions ( But it looks like when I export in .otio, the two clips are present (two clips of duration 75 each):
whereas when I export in xml, only one clip is added:
so that would mean it’s an adapter problem? Should I move my bug report somewhere else? |
Yeah, sounds like we might be in adapter territory. Just out of curiosity, what happens if you add a gap or another clip between the two "twin clips"? |
Same thing: the twin clip appearing last on the track is not displayed. |
OK, thanks for checking. Unless anyone else suspects this is an otio core thing I guess we can close this issue as you've opened one in the adapter repo? I'll let the TSC make the call in the upcoming meeting. Thanks for submitting @stephanedebove |
Required:
[ x] I believe this isn't a duplicate topic
[ x] This report is not related to an adapter (I’m not sure, it might now be related to an adapter, but I had this problem in the previous OpenTimelineIO versions, before I was using the fcp_xml adapter)
Select One:
[x ] Incorrect Functionality or bug
Description
I’m using a python script to generate a timeline exported to an xml file. I think I’ve encountered a bug: when I add two clips of the same duration on the same track on my timeline, only one of them is added to my xml file. For instance, this timeline is exported correctly, with two distinct
<clipitem>
generated in the xml:(notice both clips have a different duration)
But this timeline is NOT exported correctly, I get only one
<clipitem>
in my xml file (the behavior I’m expecting is two clips of the same duration following each other on video track 1. Both clips are made from the same file):I simply export the timeline with
otio.adapters.write_to_file(timeline, file.xml)
Optional
Environment
Operating System: Windows
Python version if appropriate: 3.10.14
OpentimelineIO version: opentimelineio-0.17.0 (but I was having the same problem with 0.16)
The text was updated successfully, but these errors were encountered: