Re: adding audio to a movie file
Re: adding audio to a movie file
- Subject: Re: adding audio to a movie file
- From: Robert Martin <email@hidden>
- Date: Tue, 11 Jul 2006 12:03:44 -0400
I think you'll have more luck asking this question on the QuickTime
list - there really doesn't seem to be a Cocoa issue here
On Jul 11, 2006, at 10:28 AM, Jeffers wrote:
Hi,
I'm trying to capture audio, by using the sequence grabber from
existing code from the Whacked TV example, and add that to a video
track, video captured from the iSight camera based on existing code in
the QuartzComposerTV example.
In the QuartzComposerTV it creates a movie by:
//Create movie file
theError = QTNewDataReferenceFromFullPathCFString((CFStringRef)path,
kQTNativeDefaultPathStyle, 0, &dataRef, &dataRefType);
theError = CreateMovieStorage(dataRef, dataRefType, 'TVOD',
smCurrentScript, createMovieFileDeleteCurFile, &_dataHandler,
&_movie);
//Add track
_track = NewMovieTrack(_movie, width << 16, height << 16, 0);
//Create track media
_media = NewTrackMedia(_track, VideoMediaType,
ICMCompressionSessionGetTimeScale(_compressionSession), 0, 0);
How can i create a track for the audio captured by the sequence
grabber in Whacked TV example?
Any help would be greatly appreciated.
Thanks,
Jeff
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40frontiernet.net
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden