• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: adding audio to a movie file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >adding audio to a movie file (From: Jeffers <email@hidden>)

  • Prev by Date: Re: copy vs mutableCopy?
  • Next by Date: Re: copy vs mutableCopy?
  • Previous by thread: adding audio to a movie file
  • Next by thread: View disappears with NSViewAnimation
  • Index(es):
    • Date
    • Thread