Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9172417
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T16:20:28+00:00 2026-06-17T16:20:28+00:00

Enviroment iphone arm7/sdk6.0 xcode 4.5 Use-case Based on the AVCam sample Capture A/V into

  • 0

Enviroment

  • iphone
  • arm7/sdk6.0
  • xcode 4.5

Use-case

  1. Based on the AVCam sample
  2. Capture A/V into a file using AVCaptureMovieFileOutput
  3. Add an additional AVCaptureAudioDataOutput to intercept the audio being written to the file while recording

How-to

  1. Add Video input to the Capture session
  2. Add Audio input to the Capture session
  3. Add File Output to the Capture session
  4. Add Audio Output to the Capture session
  5. Configure
  6. Start recording

The problem

It seems the audio output is mutual exclusive, thus, either I get data being written to the disk, OR, I get AVCaptureAudioDataOutput capture delegate being called, when AVCaptureMovieFileOutput is added ( order doesn’t matter ), AVCaptureAudioDataOutput delegate is not called.

  • How can this be solved? how can I get ‘AVCaptureAudioDataOutput’ triggering it’s delegate/selector while, at the same time ‘AVCaptureMovieFileOutput’ is used to write data to the disk?
  • Can this be done in any way other way than using a lower level API such as eg. AVAssetWriter et al ?

Any help will be appreciated!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T16:20:29+00:00Added an answer on June 17, 2026 at 4:20 pm

    AVAssetWriter is to be used in conjunction with AVAssetWriterInputPixelBufferAdaptor, a good example of how this can be achieved can be found here.
    Then, upon ‘AVCaptureAudioDataOutputSampleBufferDelegate’ invocation, the raw audio buffer can be propagated out for further processing ( in parallel to having the data written to the disk ).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've created an ad hoc distribution build for my iPhone app using Xcode 4.1.
Apple doesn't want anyone to create iPhone apps outside of the Xcode/Objective-C environment. How
I'm creating an iPhone 5.0 project in Xcode 4.2 and would like to find
Possible Duplicate: How can I develop for iPhone using a Windows development machine? I
we have successfully created a decent phonegap application working on android and iphone. (using
What should I do an existing asp.net based web site for running under iphone
while typing in Xcode, (objective - c for iPhone dev) Suppose I write [mySprite
While walking through a sample code application for the iPhone, I found a pair
I've got a file, bigfile.gz, in the bundle of my iPhone app. At app
So I took the step upgrading to Xcode 3.2.5 (iPhone SDK 4.2) and now

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.