Query if Quicktime is installed

Hey guys,

I would like to write a script for all of you and would need to query the information if the encoding 'H264' is installed or not. I need this information for a playblast script. Maybe you guys know a way around this?

Cheers! :slight_smile:

Hey there! I use this code for our Maya playblast pipeline. Gets the job done!

import os
def getQuickTime():
    if os.name == 'nt':
        installed = os.path.exists(os.environ['ProgramFiles(x86)'] + "\\QuickTime\\QuickTimePlayer.exe")
        return installed
    else:
        return None

Hope it helps!

This topic was automatically closed after 88 days. New replies are no longer allowed.