Playblasting with qt format giving strange error

Playblasting with qt format giving strange error

prmeily
Explorer Explorer
2,340 Views
5 Replies
Message 1 of 6

Playblasting with qt format giving strange error

prmeily
Explorer
Explorer

Hello everyone, 

I am trying to playblast a movie with the following parameters:

cmds.playblast(filename='pathtofilename.mov', format='qt', widthHeight=resolution,
showOrnaments=1, percent=100, quality=100, startTime=101, endTime=125,
compression='png',fo=True,viewer=False, offScreen=True)

but i keep getting this error when trying to playblast on the farm (it works locally with no error whatsoever):

[codecinfo] Error: Cannot open plugin directory /home/mayadev/libquicktime/1.2.4/install/lib/libquicktime (forgot make install?)
RuntimeError: Unable to initialize codec.

Any  idea what that would be the case? Tried setting the LD_LIBRARY_PATH env and still nothing. Any help would be greatly appreciated.

Thanks a lot!

0 Likes
2,341 Views
5 Replies
Replies (5)
Message 2 of 6

prmeily
Explorer
Explorer

Any help is greatly appreciated. Is there anything else maybe you need me to provide that might make it easier for you to help me out?

0 Likes
Message 3 of 6

viru.gupta8
Enthusiast
Enthusiast
Have you tried playblast manually ?
If still you are getting errors then it must be codec issue.
0 Likes
Message 4 of 6

prmeily
Explorer
Explorer

I am able to do a normal playblast on my machine. it is trying to run it on a farm that gives the codec error. Very strange, i do not know what i am missing.

0 Likes
Message 5 of 6

prmeily
Explorer
Explorer

Directly sending a playblast from the terminal outside of our envs using maya's default compression and format (i didnt set them):

 

import os
os.environ['MAYA_DISABLE_CIP'] = '1'
import maya.standalone
maya.standalone.initialize()
import tempfile
import maya.cmds as cmds
temp = tempfile.NamedTemporaryFile(delete=False, suffix='.mov')
cmds.file(filename, open=True, force=True)
mayaPB = cmds.playblast(filename=temp.name, fo=True, startTime=100, endTime=126)
maya.standalone.uninitialize()
os.exit(0)

 

 

sent it tractor and got same error:

[codecinfo] Error: Cannot open plugin directory /home/mayadev/libquicktime/1.2.4/install/lib/libquicktime (forgot make install?)
RuntimeError: Unable to initialize codec.
0 Likes
Message 6 of 6

tom-ma
Community Visitor
Community Visitor

I'm getting the same "Unable to initialize codec" error, as well as the same "(forgot make install?)" error with libquicktime when running the SGTK "Playblast to Create..." command.

 

Steps to reproduce:

* Open/create a scene in SGTK in Maya (I'm using Maya 2023.2 with tk-maya v0.12.1 and tk-multi-reviewsubmission v1.3.0)

* Select ShotGrid > Playblast to Create...

 

Expected behaviour:

A playblast is created and submitted to ShotGrid Create.

 

Actual behaviour:

Script editor shows this error:

 

// Error: SG tk_multi_reviewsubmission: Unable to initialize codec.

 

Terminal shows this error:

 

 

[codecinfo] Error: Cannot open plugin directory /home/mayadev/libquicktime/1.2.4/install/lib/libquicktime (forgot make install?)

 

 

 

Anyone have any thoughts on how I make it find the codec correctly?

0 Likes