Jump to content

Nuke freezes up while running encode_media to ftrack


smack

Recommended Posts

Hello,

I'm fairly new to working in the ftrack_api but thanks to the tutorials and forum posts I've been able to search the selected Read Node in Nuke and find whether it has been rendered into an mov. If so, it encodes the mov to the appropriate shot and task in ftrack. I'm wondering if anybody else here has gotten something similar to work, and if so have they made it work so that NUKE doesn't freeze up? I tried using threading.Thread(target=mysubmitfunction).start() and Nuke still freezes up.

Thanks

 

 

 

Link to comment
Share on other sites

Hey Smack,

 

Is encode_media the only call that freezes up like that? What if you copy the file to the ftrack.server Location yourself? Also, consider something like what we do with Connect where we rely on the event system to handle submitting the encode_media call.

 

https://bitbucket.org/ftrack/ftrack-recipes/src/master/python/events/make_non_encoding_web_playable/

https://bitbucket.org/ftrack/ftrack-connect/src/ae049819a555b67750f2deabc9af9ae7867c3208/source/ftrack_connect/ui/widget/publisher.py#lines-309

Link to comment
Share on other sites

On 3/11/2020 at 7:07 PM, Steve Petterborg said:

Hey Steve,

Thanks for the reply back. I'm not sure if copy the original file(mov) to the ftrack.server is feasible. Our studio has already used up a lot of our ftrack server storage. It seems like we would just want to keep the encoded video on ftrack for now. Unfortunately we're not currently working with Connect and going about building an in house production tool instead. I've decided to go with an approach to run the encoding from a pyQT application instead which shouldn't take up Nuke's processing. Thank again.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...