Re: [Pyobjc-dev] QTMovie: userData, annotations, and types?
Brought to you by:
ronaldoussoren
From: Jep H. <je...@gm...> - 2010-01-16 20:57:08
|
Great suggestion for a starting point to get more familiar with the QTMovie class. The items I asked about are actually not covered on that page — I'm secretly hoping they are used to get around the use of the metadata API. Regarding the valid Types, I think they *may* be referring to this: inDataType A data type from the following list: kQTMetaDataTypeBinary = 0, kQTMetaDataTypeUTF8 = 1, kQTMetaDataTypeUTF16BE = 2, kQTMetaDataTypeMacEncodedText = 3, kQTMetaDataTypeSignedIntegerBE = 21, kQTMetaDataTypeUnsignedIntegerBE = 22, kQTMetaDataTypeFloat32BE = 23, kQTMetaDataTypeFloat64BE = 24 (from: http://developer.apple.com/legacy/mac/library/documentation/QuickTime/Conceptual/QT7UpdateGuide/Chapter03/03QT7_Update_Guide.html#//apple_ref/doc/uid/TP40001163-CH314-BCIIDGHE) Thank you for the help. Jep On Jan 16, 2010, at 3:42 PM, Orestis Markou wrote: >> Doing a 'help(QTKit.QTmovie)' I found several methods that appear to be promising: >> >> addUserData_ofType_() #<--- what are valid 'Types'? >> >> setUserData_ofType_() >> setUserData_ofType_atIndex_() >> >> setAnnotation_ofType_() >> setAnnotations_() >> >> Can anyone shed light on the proper way to use these methods? > > Your best bet is to have a look at the QTMovie class reference: > http://developer.apple.com/mac/library/documentation/QuickTime/Reference/QTKitFramework/Classes/QTMovie_Class/Reference/Reference.html > > It's a complicated beast, that's for sure. > > Orestis |