How to upload image sequences with API?

data = { "project": {"type": "Project", "id": 23}, "entity": {"type": "Asset", "id": asset['id']}, "sg_status_list": "cmpt", "code":fileName } pub = sg.create('PublishedFile',data) sg.upload('PublishedFile',pub['id'],os.path.join(Path, +"_P.####.exr"),field_name='path')

I’m having issues getting our image sequences to upload using the API. Any ideas on what I’m doing wrong?

The publish is being created but the upload is not working. I’ve also tried just uploading a single image and that didn’t work either.

This was working fine for versions but would only upload a single image. I did some testing by uploading manually and saw that image sequences are publishes and so moved to this hoping to get the sequences in.

2 Likes

Hi @Mike_Burgoyne,

Welcome to the community!

We don’t support image sequence uploads, we only store proxy media of it, i.e. a QT/mov. We recommend you store the image sequences locally and use the Path to Frames field to link them to a proxy Version.

-David

2 Likes


Just curious, whats happening when you upload an image sequence through the desktop app.

2 Likes

Hey @Mike_Burgoyne—jumping in for @DavidMason since it’s after hours in his part of the world! :slight_smile:

When you use the Desktop app, a QT movie proxy file of the image sequence is generated and uploaded to SG. The app also captures the local path (Path to Frames) so that tools that can access local media (RV, Shotgun Create) know where to look for playback.

3 Likes