-
Notifications
You must be signed in to change notification settings - Fork 82
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
OTIO loading: question about file reader #124
Comments
Does the media play that's loaded into the timeline ? Loading otio should be supported including loading / creating of media. |
Hi @alatdneg , no it doesn't actually play.
The result is that in Media "bin" I get "undefined" in some of the columns like Resolution, Created, Artist. There is no thumbnail, and nothing can be played. Btw, the timeline loads fine; I can see the shots lined up properly. I'm going to double check my OTIO libs to make sure they're in line with XS's. |
That would work with movies, but frames requires the use of the newer OTIO
standard with opentimelineio.schema.ImageSequenceReference
…On Wed, 6 Nov 2024 at 16:13, faulknermano ***@***.***> wrote:
Hi @alatdneg <https://github.com/alatdneg> , no it doesn't actually play.
This is the otio file.
{
"OTIO_SCHEMA": "Timeline.1",
"metadata": {},
"name": "SQ1100",
"global_start_time": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 24.0,
"value": 0.0
},
"tracks": {
"OTIO_SCHEMA": "Stack.1",
"metadata": {},
"name": "TrackStack",
"source_range": null,
"effects": [],
"markers": [],
"children": [
{
"OTIO_SCHEMA": "Track.1",
"metadata": {},
"name": "SQ1100",
"source_range": null,
"effects": [],
"markers": [],
"children": [
{
"OTIO_SCHEMA": "Clip.1",
"metadata": {},
"name": "SQ1100__0660",
"source_range": {
"OTIO_SCHEMA": "TimeRange.1",
"duration": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 24.0,
"value": 10.0
},
"start_time": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 24.0,
"value": 101.0
}
},
"effects": [],
"markers": [],
"media_reference": {
"OTIO_SCHEMA": "ExternalReference.1",
"metadata": {},
"name": "",
"available_range": {
"OTIO_SCHEMA": "TimeRange.1",
"duration": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 25.0,
"value": 10.0
},
"start_time": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 25.0,
"value": 101.0
}
},
"target_url": "file://localhost///vdisk/SMF/1100/0660/animation/published/images/img_seq__polish_cam_0660_shake/1100__0660__polish_cam_0660_shake__v003/frames/1920x804/1100__0660__polish_cam_0660_shake__v003.{:04d}.jpg"
}
},
{
"OTIO_SCHEMA": "Clip.1",
"metadata": {},
"name": "SQ1100__0460",
"source_range": {
"OTIO_SCHEMA": "TimeRange.1",
"duration": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 24.0,
"value": 162.0
},
"start_time": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 24.0,
"value": 101.0
}
},
"effects": [],
"markers": [],
"media_reference": {
"OTIO_SCHEMA": "ExternalReference.1",
"metadata": {},
"name": "",
"available_range": {
"OTIO_SCHEMA": "TimeRange.1",
"duration": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 25.0,
"value": 162.0
},
"start_time": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 25.0,
"value": 101.0
}
},
"target_url": "file://localhost///vdisk/SMF/1100/0460/animation/published/images/img_seq__polish_cam_0460_shake/1100__0460__polish_cam_0460_shake__v002/frames/1920x804/1100__0460__polish_cam_0460_shake__v002.{:04d}.jpg"
}
},
{
"OTIO_SCHEMA": "Clip.1",
"metadata": {},
"name": "SQ1100__0050",
"source_range": {
"OTIO_SCHEMA": "TimeRange.1",
"duration": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 24.0,
"value": 32.0
},
"start_time": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 24.0,
"value": 101.0
}
},
"effects": [],
"markers": [],
"media_reference": {
"OTIO_SCHEMA": "ExternalReference.1",
"metadata": {},
"name": "",
"available_range": {
"OTIO_SCHEMA": "TimeRange.1",
"duration": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 25.0,
"value": 32.0
},
"start_time": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 25.0,
"value": 101.0
}
},
"target_url": "file://localhost///vdisk/SMF/1100/0050/animation/published/images/shot_bundle__animation_out/1100__0050__animation_out__v003/frames/1920x804/1100__0050__animation_out__v003.{:04d}.exr"
}
},
{
"OTIO_SCHEMA": "Clip.1",
"metadata": {},
"name": "SQ1100__0420",
"source_range": {
"OTIO_SCHEMA": "TimeRange.1",
"duration": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 24.0,
"value": 57.0
},
"start_time": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 24.0,
"value": 101.0
}
},
"effects": [],
"markers": [],
"media_reference": {
"OTIO_SCHEMA": "ExternalReference.1",
"metadata": {},
"name": "",
"available_range": {
"OTIO_SCHEMA": "TimeRange.1",
"duration": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 25.0,
"value": 57.0
},
"start_time": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 25.0,
"value": 101.0
}
},
"target_url": "file://localhost///vdisk/SMF/1100/0420/animation/published/images/img_seq__polish_cam_0420_shake/1100__0420__polish_cam_0420_shake__v001/frames/1920x804/1100__0420__polish_cam_0420_shake__v001.{:04d}.jpg"
}
},
{
"OTIO_SCHEMA": "Clip.1",
"metadata": {},
"name": "SQ1100__0120",
"source_range": {
"OTIO_SCHEMA": "TimeRange.1",
"duration": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 24.0,
"value": 69.0
},
"start_time": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 24.0,
"value": 101.0
}
},
"effects": [],
"markers": [],
"media_reference": {
"OTIO_SCHEMA": "ExternalReference.1",
"metadata": {},
"name": "",
"available_range": {
"OTIO_SCHEMA": "TimeRange.1",
"duration": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 25.0,
"value": 69.0
},
"start_time": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 25.0,
"value": 101.0
}
},
"target_url": "file://localhost///vdisk/SMF/1100/0120/animation/published/images/shot_bundle__animation_out/1100__0120__animation_out__v001/frames/1920x804/1100__0120__animation_out__v001.{:04d}.exr"
}
},
{
"OTIO_SCHEMA": "Clip.1",
"metadata": {},
"name": "SQ1100__0040",
"source_range": {
"OTIO_SCHEMA": "TimeRange.1",
"duration": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 24.0,
"value": 24.0
},
"start_time": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 24.0,
"value": 101.0
}
},
"effects": [],
"markers": [],
"media_reference": {
"OTIO_SCHEMA": "ExternalReference.1",
"metadata": {},
"name": "",
"available_range": {
"OTIO_SCHEMA": "TimeRange.1",
"duration": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 25.0,
"value": 24.0
},
"start_time": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 25.0,
"value": 101.0
}
},
"target_url": "file://localhost///vdisk/SMF/1100/0040/animation/published/images/img_seq__polish_cam_0040_shake/1100__0040__polish_cam_0040_shake__v001/frames/1920x804/1100__0040__polish_cam_0040_shake__v001.{:04d}.jpg"
}
},
{
"OTIO_SCHEMA": "Clip.1",
"metadata": {},
"name": "SQ1100__0720",
"source_range": {
"OTIO_SCHEMA": "TimeRange.1",
"duration": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 24.0,
"value": 17.0
},
"start_time": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 24.0,
"value": 101.0
}
},
"effects": [],
"markers": [],
"media_reference": {
"OTIO_SCHEMA": "ExternalReference.1",
"metadata": {},
"name": "",
"available_range": {
"OTIO_SCHEMA": "TimeRange.1",
"duration": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 25.0,
"value": 17.0
},
"start_time": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 25.0,
"value": 101.0
}
},
"target_url": "file://localhost///vdisk/SMF/1100/0720/animation/published/images/shot_bundle__animation_out/1100__0720__animation_out__v007/frames/1920x804/1100__0720__animation_out__v007.{:04d}.exr"
}
},
{
"OTIO_SCHEMA": "Clip.1",
"metadata": {},
"name": "SQ1100__0130",
"source_range": {
"OTIO_SCHEMA": "TimeRange.1",
"duration": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 24.0,
"value": 39.0
},
"start_time": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 24.0,
"value": 101.0
}
},
"effects": [],
"markers": [],
"media_reference": {
"OTIO_SCHEMA": "ExternalReference.1",
"metadata": {},
"name": "",
"available_range": {
"OTIO_SCHEMA": "TimeRange.1",
"duration": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 25.0,
"value": 39.0
},
"start_time": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 25.0,
"value": 101.0
}
},
"target_url": "file://localhost///vdisk/SMF/1100/0130/animation/published/images/img_seq__polish_cam_0130_shake/1100__0130__polish_cam_0130_shake__v001/frames/1920x804/1100__0130__polish_cam_0130_shake__v001.{:04d}.jpg"
}
},
{
"OTIO_SCHEMA": "Clip.1",
"metadata": {},
"name": "SQ1100__0760",
"source_range": {
"OTIO_SCHEMA": "TimeRange.1",
"duration": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 24.0,
"value": 20.0
},
"start_time": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 24.0,
"value": 101.0
}
},
"effects": [],
"markers": [],
"media_reference": {
"OTIO_SCHEMA": "ExternalReference.1",
"metadata": {},
"name": "",
"available_range": {
"OTIO_SCHEMA": "TimeRange.1",
"duration": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 25.0,
"value": 20.0
},
"start_time": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 25.0,
"value": 101.0
}
},
"target_url": "file://localhost///vdisk/SMF/1100/0760/animation/published/images/img_seq__polish_cam_0760_shake/1100__0760__polish_cam_0760_shake__v004/frames/1920x804/1100__0760__polish_cam_0760_shake__v004.{:04d}.jpg"
}
},
{
"OTIO_SCHEMA": "Clip.1",
"metadata": {},
"name": "SQ1100__0740",
"source_range": {
"OTIO_SCHEMA": "TimeRange.1",
"duration": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 24.0,
"value": 10.0
},
"start_time": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 24.0,
"value": 101.0
}
},
"effects": [],
"markers": [],
"media_reference": {
"OTIO_SCHEMA": "ExternalReference.1",
"metadata": {},
"name": "",
"available_range": {
"OTIO_SCHEMA": "TimeRange.1",
"duration": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 25.0,
"value": 10.0
},
"start_time": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 25.0,
"value": 101.0
}
},
"target_url": "file://localhost///vdisk/SMF/1100/0740/animation/published/images/shot_bundle__animation_out/1100__0740__animation_out__v006/frames/1920x804/1100__0740__animation_out__v006.{:04d}.exr"
}
},
{
"OTIO_SCHEMA": "Clip.1",
"metadata": {},
"name": "SQ1100__0220",
"source_range": {
"OTIO_SCHEMA": "TimeRange.1",
"duration": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 24.0,
"value": 136.0
},
"start_time": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 24.0,
"value": 101.0
}
},
"effects": [],
"markers": [],
"media_reference": {
"OTIO_SCHEMA": "ExternalReference.1",
"metadata": {},
"name": "",
"available_range": {
"OTIO_SCHEMA": "TimeRange.1",
"duration": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 25.0,
"value": 136.0
},
"start_time": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 25.0,
"value": 101.0
}
},
"target_url": "file://localhost///vdisk/SMF/1100/0220/animation/published/images/shot_bundle__animation_out/1100__0220__animation_out__v004/frames/1920x804/1100__0220__animation_out__v004.{:04d}.exr"
}
},
{
"OTIO_SCHEMA": "Clip.1",
"metadata": {},
"name": "SQ1100__0440",
"source_range": {
"OTIO_SCHEMA": "TimeRange.1",
"duration": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 24.0,
"value": 28.0
},
"start_time": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 24.0,
"value": 101.0
}
},
"effects": [],
"markers": [],
"media_reference": {
"OTIO_SCHEMA": "ExternalReference.1",
"metadata": {},
"name": "",
"available_range": {
"OTIO_SCHEMA": "TimeRange.1",
"duration": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 25.0,
"value": 28.0
},
"start_time": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 25.0,
"value": 101.0
}
},
"target_url": "file://localhost///vdisk/SMF/1100/0440/animation/published/images/shot_bundle__animation_out/1100__0440__animation_out__v008/frames/1920x804/1100__0440__animation_out__v008.{:04d}.exr"
}
},
{
"OTIO_SCHEMA": "Clip.1",
"metadata": {},
"name": "SQ1100__0480",
"source_range": {
"OTIO_SCHEMA": "TimeRange.1",
"duration": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 24.0,
"value": 65.0
},
"start_time": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 24.0,
"value": 101.0
}
},
"effects": [],
"markers": [],
"media_reference": {
"OTIO_SCHEMA": "ExternalReference.1",
"metadata": {},
"name": "",
"available_range": {
"OTIO_SCHEMA": "TimeRange.1",
"duration": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 25.0,
"value": 65.0
},
"start_time": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 25.0,
"value": 101.0
}
},
"target_url": "file://localhost///vdisk/SMF/1100/0480/animation/published/images/shot_bundle__animation_out/1100__0480__animation_out__v010/frames/1920x804/1100__0480__animation_out__v010.{:04d}.exr"
}
},
{
"OTIO_SCHEMA": "Clip.1",
"metadata": {},
"name": "SQ1100__0110",
"source_range": {
"OTIO_SCHEMA": "TimeRange.1",
"duration": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 24.0,
"value": 34.0
},
"start_time": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 24.0,
"value": 101.0
}
},
"effects": [],
"markers": [],
"media_reference": {
"OTIO_SCHEMA": "ExternalReference.1",
"metadata": {},
"name": "",
"available_range": {
"OTIO_SCHEMA": "TimeRange.1",
"duration": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 25.0,
"value": 34.0
},
"start_time": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 25.0,
"value": 101.0
}
},
"target_url": "file://localhost///vdisk/SMF/1100/0110/animation/published/images/img_seq__polish_cam_0110_shake/1100__0110__polish_cam_0110_shake__v002/frames/1920x804/1100__0110__polish_cam_0110_shake__v002.{:04d}.jpg"
}
},
{
"OTIO_SCHEMA": "Clip.1",
"metadata": {},
"name": "SQ1100__0620",
"source_range": {
"OTIO_SCHEMA": "TimeRange.1",
"duration": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 24.0,
"value": 51.0
},
"start_time": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 24.0,
"value": 101.0
}
},
"effects": [],
"markers": [],
"media_reference": {
"OTIO_SCHEMA": "ExternalReference.1",
"metadata": {},
"name": "",
"available_range": {
"OTIO_SCHEMA": "TimeRange.1",
"duration": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 25.0,
"value": 51.0
},
"start_time": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 25.0,
"value": 101.0
}
},
"target_url": "file://localhost///vdisk/SMF/1100/0620/animation/published/images/img_seq__polish_cam_0620_shake/1100__0620__polish_cam_0620_shake__v001/frames/1920x804/1100__0620__polish_cam_0620_shake__v001.{:04d}.jpg"
}
},
{
"OTIO_SCHEMA": "Clip.1",
"metadata": {},
"name": "SQ1100__0190",
"source_range": {
"OTIO_SCHEMA": "TimeRange.1",
"duration": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 24.0,
"value": 46.0
},
"start_time": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 24.0,
"value": 101.0
}
},
"effects": [],
"markers": [],
"media_reference": {
"OTIO_SCHEMA": "ExternalReference.1",
"metadata": {},
"name": "",
"available_range": {
"OTIO_SCHEMA": "TimeRange.1",
"duration": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 25.0,
"value": 46.0
},
"start_time": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 25.0,
"value": 101.0
}
},
"target_url": "file://localhost///vdisk/SMF/1100/0190/animation/published/images/img_seq__polish_cam_0190_shake/1100__0190__polish_cam_0190_shake__v002/frames/1920x804/1100__0190__polish_cam_0190_shake__v002.{:04d}.jpg"
}
},
{
"OTIO_SCHEMA": "Clip.1",
"metadata": {},
"name": "SQ1100__0640",
"source_range": {
"OTIO_SCHEMA": "TimeRange.1",
"duration": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 24.0,
"value": 14.0
},
"start_time": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 24.0,
"value": 101.0
}
},
"effects": [],
"markers": [],
"media_reference": {
"OTIO_SCHEMA": "ExternalReference.1",
"metadata": {},
"name": "",
"available_range": {
"OTIO_SCHEMA": "TimeRange.1",
"duration": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 25.0,
"value": 14.0
},
"start_time": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 25.0,
"value": 101.0
}
},
"target_url": "file://localhost///vdisk/SMF/1100/0640/animation/published/images/img_seq__polish_cam_0640_shake/1100__0640__polish_cam_0640_shake__v003/frames/1920x804/1100__0640__polish_cam_0640_shake__v003.{:04d}.jpg"
}
},
{
"OTIO_SCHEMA": "Clip.1",
"metadata": {},
"name": "SQ1100__0240",
"source_range": {
"OTIO_SCHEMA": "TimeRange.1",
"duration": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 24.0,
"value": 63.0
},
"start_time": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 24.0,
"value": 101.0
}
},
"effects": [],
"markers": [],
"media_reference": {
"OTIO_SCHEMA": "ExternalReference.1",
"metadata": {},
"name": "",
"available_range": {
"OTIO_SCHEMA": "TimeRange.1",
"duration": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 25.0,
"value": 63.0
},
"start_time": {
"OTIO_SCHEMA": "RationalTime.1",
"rate": 25.0,
"value": 101.0
}
},
"target_url": "file://localhost///vdisk/SMF/1100/0240/animation/published/images/img_seq__polish_cam_0240_shake/1100__0240__polish_cam_0240_shake__v005/frames/1920x804/1100__0240__polish_cam_0240_shake__v005.{:04d}.jpg"
}
}
],
"kind": "Video"
}
]
}
}
The result is that in Media "bin" I get "undefined" in some of the columns
like Resolution, Created, Artist. There is no thumbnail, and nothing can be
played.
I'm going to double check my OTIO libs to make sure they're in line with
XS's.
—
Reply to this email directly, view it on GitHub
<#124 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AEUSEZ3GLZSQFGYHTHPSF5LZ7I5ZDAVCNFSM6AAAAABQ6SMQ26VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRQGIYDENJTGE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@alatdneg , thanks for that. I'm going to try out QTs first, and investigate image sequences afterwards. |
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.
The text was updated successfully, but these errors were encountered: