AcademySoftwareFoundation / AcademySoftwareFoundation/xstudio
OTIO loading: question about file reader
- Dominant language
- C++
- Stars
- 769
- Forks
- 129
- Avg merge
- 9d 1m
- Merged PRs (30d)
- 10
Description
I have an OTIO file that seems to load ok in XS v2.0.0.dev insofar as building the timeline. However, the file's attributes (those found in the Media bin columns) are all undefined. I don't know to what extent the OTIO loader has been implemented.
(Btw, I was unusure about how the paths should be constructed. So I followed the way an .xst writes the file out, i.e. "file://localhost/disk/..../myimage.{:04d}.jpg")
If I use load media using XS's loading methods (e.g. Add media from clipboard), and then save out the .xst file, I see that my "media_ref" data dict is also filled out properly. The "reader" key reads "FFMPEG", also.
But I load the OTIO and save out the .xst file, the media_ref is filled with zero/default values, and the "reader" key is an empty string.
So, is there a way that I should I write my OTIO file for XS to read it? Or is file loading not fully implemented?
Thanks for reading.
Contributor guide
Research direction
Start with the OTIO loader and compare its results with XS's “Add media from clipboard” loading path and the saved .xst output. Check how media_ref attributes and the reader key are populated; done means OTIO-loaded media has populated attributes and a reader value such as FFMPEG instead of zero/default values and an empty string.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100