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

Re: AudioFileComponents


  • Subject: Re: AudioFileComponents
  • From: Francisco Gimeno <email@hidden>
  • Date: Mon, 12 Sep 2005 21:27:58 +0200

Hello, 

yes... as its name is "Audio"Codec I wasn't hoping to support video codec ;). And for Core"Audio" too... But there is no Core"Video" nor Core"Media".

The Audio Codecs part was really clear for me. As far I know Ogg supports Vorbis, Speex and FLAC. 
but it also support  Theora Video Codec. So as I have to write an "FileComponent" I was wondering if a more generic than AudioFileComponent exists. 

I want to reuse the most  ( or to rewrite the less ) code as possible. So, you say to me there is nothing more generic than AudioFileComponent for other medias ( maybe this mail should go into another mailing list ).

So, I launch now another question. Is there any news on a "Core Media/Core Video" API? will that support a more Generic AudioFileComponent?

Thx for your fast response,
Francisco Gimeno

AudioCodecs don't support video -- CoreAudio doesn't provide any API for doing video. Perhaps that was obvious.. But if you wanted to support for example two different audio codecs in Ogg, then you would need to return the proper AudioStreamBasicDescription as the data format with the appropriate 4 char format ID, Then an AudioCodec that supports that format ID will get instantiated by an AudioConverter. For example CAF (CoreAudio Format) files can contain any kind of audio data format for which there is an AudioCodec.
I have been studying how to impement Ogg Support for MacOsX. I have though that Ogg File Format should be inside into an AudioFileComponent, and Vorbis codec in a AudioCodecComponent.

As Ogg supports Video too ( with other VideoCodecs ) I wouldn't want to implement just another FileComponent for Video ( indeed, I haven't seen the Doc for it ).

So, what's the right way for supporting Ogg File Format for both Audio and Video Codecs reusing the most?

Attachment: PGP.sig
Description: Mensaje firmado digitalmente

 _______________________________________________
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: AudioFileComponents
      • From: William Stewart <email@hidden>
    • Re: AudioFileComponents
      • From: James McCartney <email@hidden>
References: 
 >AudioFileComponents (From: Francisco Gimeno <email@hidden>)
 >Re: AudioFileComponents (From: James McCartney <email@hidden>)

  • Prev by Date: Re: Playing aac files
  • Next by Date: Re: Where did my event, part I
  • Previous by thread: Re: AudioFileComponents
  • Next by thread: Re: AudioFileComponents
  • Index(es):
    • Date
    • Thread