QTCaptureConnectionEnabledAudioChannelsAttribute read only
QTCaptureConnectionEnabledAudioChannelsAttribute read only
- Subject: QTCaptureConnectionEnabledAudioChannelsAttribute read only
- From: "Bram Loogman" <email@hidden>
- Date: Mon, 1 Sep 2008 13:28:56 +0200
Hi,
Currently I'm working with a DV camera to capture video using the
QTCapture class. Now I have a problem with processing the audio. When
I check the movie properties of the recorded movie in Quicktime it
tells me it contains 4 audio channels, 2 of them 'unused'. Now the
problem is that the movie converter I'm using, doesn't support movies
with 4 audio channels. I tried different DV cameras but they just act
normal, they output just a common stereo track. Apparently it has
something to do with this model, but I will have to use it anyway
since we already bought a couple of them.
So I was looking for a way to limit the the audio to two channels. I
found the QTCaptureConnectionEnabledAudioChannelsAttribute for a
QTCaptureConnection, but when I try
[connection attributeIsReadOnly:QTCaptureConnectionEnabledAudioChannelsAttribute]
it tells me that it is read only. I tried this for the
QTCaptureDeviceInput connections and the QTCaptureMovieFileOutput
connections, but none of them works. Although in the
QTCaptureConnection Reference it says: "This attribute allows
applications to selectively disable certain audio channels from being
sent rhough the connection".
So I would like to know if there is a simple solution for my problem.
Thanks,
Bram Loogman
_______________________________________________
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