• 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: writing raw data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: writing raw data


  • Subject: Re: writing raw data
  • From: Brad Ford <email@hidden>
  • Date: Sun, 10 Sep 2006 23:02:11 -0700


On Sep 10, 2006, at 10:47 PM, Sandeep Chandna wrote:

I have to encode raw samples of Audio data using Quicktime 7 API (scaudiofillbuffer etc).

The scaudiocompress example uses a function 'MovieAudioExtractionFillBuffer' which (correct me if i am wrong) takes a MovieAudioExtractionRef as argument and writes encoded data in the AudioBufferList.

In the scaudiocompress example, you've got the following input / output scenarios:


INPUT to SCAudioFillBuffer():
QuickTime Movie using MovieAudioExtraction (in this case the input format is always PCM)
AudioFile API (in this case the input format is the format encoded in the source file, which may be compressed)


OUTPUT from SCAudioFillBuffer():
QuickTime Movie using AddMediaSample2 (data may be any format, compressed or uncompressed)
.CAF file using AudioFileWritePackets (data may be any format).



I need to encode the raw data and write into AudioBufferList without using MovieAudioExtraction APIs. Can anyone help?

Not sure I understand the question. What's your source format? What format do you want to produce? Are you asking how to properly fill out an AudioStreamBasicDescription for some flavor of PCM?


-Brad Ford
QuickTime Engineering


Thanks Sandeep _______________________________________________ Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden

_______________________________________________ Do not post admin requests to the list. They will be ignored. Coreaudio-api mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: writing raw data
      • From: "Sandeep Chandna" <email@hidden>
References: 
 >writing raw data (From: "Sandeep Chandna" <email@hidden>)

  • Prev by Date: writing raw data
  • Next by Date: Re: CAAudioFile writing on Panther
  • Previous by thread: writing raw data
  • Next by thread: Re: writing raw data
  • Index(es):
    • Date
    • Thread