Determine if Perian is installed programmatically

The Perian forums have moved to Google Groups, this forum is read only.
DesertNomad
Harmless
Posts: 2
Joined: Thu Feb 18, 2010 12:01 am

Determine if Perian is installed programmatically

Postby DesertNomad » Thu Feb 18, 2010 12:06 am

Is there a supported way from within Cocoa to determine if Perian is installed?

Mr VacBob
Crema
Posts: 330
Joined: Thu Jan 04, 2007 11:14 pm
Contact:

Re: Determine if Perian is installed programmatically

Postby Mr VacBob » Fri Feb 19, 2010 5:24 am

Method 1:
Check if {~,}/Library/QuickTime/Perian.component exist. This is what the installer pref pane does.

Method 2:
Using Carbon, iterate through the component list and look for a component type like 'eat '/'VFW '/'Peri' or 'imdc'/'avc1'/'Peri'. This works if it was renamed (no reason to do that though).


Return to “Perian”

Who is online

Users browsing this forum: No registered users