I'm trying to find out if for a given media of a given track in a
given
movie QuickTime has a suitable codec for it.
I can iterate the tracks, get media, get media handlers and even media
data handlers, but I cannot figure out exactly how to find out if
there
is a codec installed that will decode a given media.
IIRC, you can read a media sample from the track then read the
compressor (type and vendor) in the sample.
Once you have this info, you can look for a codec using this
compression format (the "type" in the sample description) as the
subtype.
Maybe it will not be an universal solution, depending of the media,
but it should work pretty well for video and sound.
Hope this helps,
Olivier _______________________________________________
Do not post admin requests to the list. They will be ignored.
QuickTime-API mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quicktime-api/email@hidden