• 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
QTCaptureConnectionEnabledAudioChannelsAttribute read only
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: QTCaptureConnectionEnabledAudioChannelsAttribute read only
      • From: "Kyle Sluder" <email@hidden>
  • Prev by Date: Re: Increasing NSTextView's height
  • Next by Date: Re: I know this is a Studio question .. but I really need some help
  • Previous by thread: Re: how to delete the current user's directory?
  • Next by thread: Re: QTCaptureConnectionEnabledAudioChannelsAttribute read only
  • Index(es):
    • Date
    • Thread