Transcoding is slow when uploading a file to Uploaded Movie field with Python API

Hi,

We are looking for the fastest way to have uploaded file transcoded and thumbnail generated when creating a new version using Python API. Our goal is to automatically create a version with a clip when aritists publish their work with our Maya custom tool.

When we upload a clip to Uploaded Movie field with Python, transcoding is very slow or sometimes never ends.
Our site’s transcoding is enabled, so we thought uploading a file to the field automatically transcodes it into a web streamable clip and generates thumbnails, but it seems they don’t.

Even on browser, manually creating a version from “+ Version” button and attaching a clip to Uploaded Movie field works perfect, while uploading a clip to the existing version’s same field ends up in the situation we had when using Python API.

In our Python script, we first create a version with sg.create(), then upload a clip to Uploaded Movie field with sg.upload().
The clip’s format is H.264 - MP4 - 720 as recommended by Shotgun.

What are causing these differences?
Do we have to disable the transcoding and have ‘sg_uploaded_movie_webm’ field available if we work with Python?

The file format is H.264 - MP4 - 720 as recommended by Shotgun.

Thanks,

Yu

1 Like