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

Re: playing mp2 files


  • Subject: Re: playing mp2 files
  • From: "tahome izwah" <email@hidden>
  • Date: Mon, 4 Sep 2006 05:25:42 +0200

Yeah, CoreAudio and QuickTime are two separate pairs of boots. I
wonder why CoreAudio doesn't simply support all formats that QuickTime
does, this seems really inconsistent (and weird) to me.

--th

2006/8/12, Stephen Davis <email@hidden>:
No, it can't.  To see a list of files that can be handled, build the
afconvert example and run it with no arguments.  You'll see something
like this:

Usage:
afconvert [option...] input_file [output_file]

Options: (may appear before or after arguments)
     { -f | --file } file_format:
         'adts' = AAC ADTS (.aac, .adts)
                    data_formats: 'aac '
         'ac-3' = AC3 (.ac3)
                    data_formats: 'ac-3'
         'AIFC' = AIFC (.aif, .aiff, .aifc)
                    data_formats: BEI8 BEI16 BEI24 BEI32 BEF32
                                  BEF64 'ulaw' 'alaw' 'MAC3' 'MAC6'
'ima4'
                                  'QDMC' 'QDM2' 'Qclp' 'agsm'
         'AIFF' = AIFF (.aif, .aiff)
                    data_formats: BEI8 BEI16 BEI24 BEI32
         'caff' = Apple CAF File (.caf)
                    data_formats: '.mp3' 'MAC3' 'MAC6' 'QDM2' 'QDMC'
                                  'Qclp' 'Qclq' 'aac ' 'agsm' 'alac'
'alaw'
                                  'drms' 'dvca' 'dvi ' 'ima4' 'lpc '
BEI8
                                  BEI16 BEI24 BEI32 BEF32 BEF64 LEI16
                                  LEI24 LEI32 LEF32 LEF64 'ms\x00
\x02' 'ms\x00\x11'
                                  'ms\x001' 'ms\x00U' 'samr' 'ulaw'
'vdva'
         'MPG3' = MPEG Layer 3 (.mp3, .mpeg)
                    data_formats: '.mp3'
         'mp4f' = MPEG4 Audio (.mp4)
                    data_formats: 'aac '
         'm4af' = MPEG4 Audio (.m4a)
                    data_formats: 'aac ' 'alac'
         'NeXT' = NeXT/Sun (.snd, .au)
                    data_formats: BEI8 BEI16 BEI24 BEI32 BEF32
                                  BEF64 'ulaw'
         'Sd2f' = Sound Designer II (.sd2)
                    data_formats: BEI8 BEI16 BEI24 BEI32
         'WAVE' = WAVE (.wav)
                    data_formats: LEUI8 LEI16 LEI24 LEI32 LEF32
                                  LEF64 'ulaw' 'alaw'
... etc ...

As for solving your problem, I think you'll need to use VLC if it
supports format conversion or some other 3rd party tool.  It sounds
like you have the QuickTime MPEG-2 support product installed but I'm
not sure if that includes support for format conversion of the
MPEG-2, as you noted.  Is your MPEG-2 component up-to-date?

stephen

On Aug 12, 2006, at 4:29 AM, Simon James wrote:

> I am having problems playing mp2 audio files generated from a HD
> camera stream. All the core audio examples generate the same
> kAudioFileUnsupportedFileTypeError error. A typical example...
>
> ./playfile ~/Desktop/captured.mp2
> error 'typ?': AudioFileOpen
>
> terminate called after throwing an instance of 'CAXException'
> Abort trap
>
> This mp2 file can be played in VLC, quicktime (but unable to export
> using quicktime functions/app for some reason). I need to be able
> to change it into a wav file or something more usable as I need to
> edit/join it. Can the core audio SDK handle mp2?
>
> Thanks
> Simon
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Coreaudio-api mailing list      (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> 40apple.com
>
> 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

_______________________________________________
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: playing mp2 files
      • From: Herbie Robinson <email@hidden>
  • Prev by Date: Re: Microsoft ADPCM encoding
  • Next by Date: Re: playing mp2 files
  • Previous by thread: Re: Microsoft ADPCM encoding
  • Next by thread: Re: playing mp2 files
  • Index(es):
    • Date
    • Thread