Re: Mix video and audio
Re: Mix video and audio
- Subject: Re: Mix video and audio
- From: douglas welton <email@hidden>
- Date: Tue, 20 Jan 2009 17:02:00 -0500
Don't create "two" files. Create one movie, then record the video on
one track and the audio on a separate track. This can be done in real
time (better for synchronization) or you can put the two tracks into
the movie after everything has been recorded. Have you taken a look
at the WhackedTV sample code which shows how to populate a movie with
audio and video samples simultaneously.
On Jan 20, 2009, at 4:23 PM, Jonathan Selander wrote:
Yeah, i used code from this one to implement a video export. The
problem now is to mix the video together with to audio files. One
recorded via microphone at the same time as the video, and a
separate one.
20 jan 2009 kl. 21.51 skrev douglas welton:
Yes. You can use the rendered frame from your openGL view as
samples for compressing video. This is what happens in the QCTV
sample code.
On Jan 20, 2009, at 3:24 PM, Jonathan Selander wrote:
Ahh, that seems to do what i want to audio, but as far as i can
read it can only use a camera as input device, and i use a qcview
(which i of course should have stated in my previous post)
Could i use my current opengl rendering to get the video, qtkit to
get the audio, and then somehow mix them both together using qtkit?
20 jan 2009 kl. 20.32 skrev douglas welton:
Take a look at the QTKit Capture Programming Guide: <http://developer.apple.com/documentation/QuickTime/Conceptual/QTKitCaptureProgrammingGuide/Introduction/chapter_1_section_1.html
>
On Jan 20, 2009, at 1:38 PM, Jonathan Selander wrote:
Hi,
My application records video using opengl, but i need to add two
audio tracks to it. First i need to add microphone recorded
audio to a short muic track, and then add the result to the
video. How should i go about to accomplish this?
Thanks
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden