Hi,
I realise that this has come up here before, but unfortunately the
information in that thread hasn't helped me.
I want to do the following:
1) display a compression settings dialog via SCRequestSequenceSettings
2) capture all the information about the configuration into 'straight C' data
3) in separate code, start image compression using
CompressSequenceBegin, and have the compression of this sequence use
the settings specified in '2'
The interface between '2' and '3' cannot be QT-specific.
Everything seems OK as regards the standard settings. However, I can't
see how to get the extended data from the codec after displaying the
dialog.
I would like to use ImageCodecGetSettings to get the extended data,
but how to get at the codec instance via SCGetInfo?
I can access the 'codec' field in the SCSpatialSettings struct, but
this isn't a ComponentInstance.
scSettingsStateType looks like it returns more than just the codec state.
As for specifying the extended settings, CompressSequenceBegin accepts
a parameter 'CompressorComponent codec', which I guess is the same as
a 'CodecComponent' type. The discussion of this parameter mentions
that
'Specify a particular compressor by setting this parameter to its
compressor identifier. Alternatively, you may use a special identifier
(see below). Specifying a component instance may be useful if you have
previously set some parameter on a specific instance of a codec field
and want to make sure that the specified instance is used for that
operation.
--- but how to specify an instance? Passing a ComponentInstance where
a CodecComponent is required reports cannot "convert
'ComponentRecord*' to 'ComponentInstanceRecord*'"
Any help with these questions greatly appreciated.
Hugh Denman
--
email@hidden
+353876290136
_______________________________________________
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
This email sent to email@hidden