Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NewMovieFromProperties and no audio channels setup?



If you provide an explicitly NULL AudioContext to NewMovieFromProperties(), then you will get the behavior you seek.

Remember that the property must contain a valid address, eg:
	QTAudioContextRef	ac = NULL;
	initProps[n].propClass = kQTPropertyClass_Context;
	initProps[n].propID = kQTContextPropertyID_AudioContext;
	initProps[n].propValueSize = sizeof (QTAudioContextRef);
	initProps[n].propValueAddress = ∾
	initProps[n].propStatus = 0;

Daniel Steinberg
QuickTime Engineering

At 12:11 AM -0400 9/27/06, Marc Van Olmen wrote:
Is there a way to set up:

NewMovieFromProperties

so that it doesn't attach any of the Audio Channels to a coreAudio output and same way with graphics. I just want to open movie for retrieving the native samples . So i don't care like setting up a QTVisualContext and CoreAudio

Didn't found anything for kQTContextPropertyID_AudioContext and setting no audio output.

QTAudioContextCreateForAudioDevice I'm not sure if you pass null it would create an 'empty' audiocontext?


regards,

marc


_______________________________________________ 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

_______________________________________________ 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
References: 
 >MovieExportComponent codecname (From: nick briggs <email@hidden>)
 >NewMovieFromProperties and no audio channels setup? (From: Marc Van Olmen <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.