Re: Re: playing mp2 files
Re: Re: playing mp2 files
- Subject: Re: Re: playing mp2 files
- From: Simon James <email@hidden>
- Date: Sun, 13 Aug 2006 16:37:16 +1000
Thanks Stephen.
I have installed the FireWireSDK, demuxed the m2t into its video and
audio, installed the mpeg2 quicktime extension (which I believe is up
to date) and can view and therefore recompress the video to a
different format. The problem is the audio. I am unable to edit the
mp2 audio in quicktime (I now see the statement on the quicktime page
about it is unable to audio transcode) and was hoping the core audio
SDK could solve my problem. It would be disappointing to have users
install a 3rd party open source program in a commercial environment
so they can view HD. It just seams a little crazy that such a
standard audio format is not fully supported.
My question is given my current need to edit mp2 audio, what is my
best course of action.
Thanks
Simon
On 13/08/2006, at 3:08 AM, Stephen Davis wrote:
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