Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

afconvert creating files that will not play



Hi,

I am using the sample app afconvert to convert aiff to AAC. It seems
to work for large files, but when I try it on small files, the result
will not play.

Here is how I call afconvert

afconvert -f adts -v /Users/david/Desktop/small.aiff
/Users/david/Desktop/small.aac

This is it's output

Input file: small.aiff, 18297 frames
Formats:
  Input file     1 ch,  22050 Hz, 'lpcm' (0x0000000E) 16-bit
big-endian signed integer
  Output file    1 ch,  22050 Hz, 'aac ' (0x00000000) 0 bits/channel,
0 bytes/packet, 1024 frames/packet, 0 bytes/frame
                 Mono
  Output client  1 ch,  22050 Hz, 'lpcm' (0x0000000E) 16-bit
big-endian signed integer
AudioConverter 0x810a34 [0x124420]:
  PCMConverter 0x128640
    Input:    1 ch,  22050 Hz, 'lpcm' (0x0000000E) 16-bit big-endian
signed integer
    Output:   1 ch,  22050 Hz, 'lpcm' (0x0000000C) 16-bit
little-endian signed integer
  CodecConverter 0x1286c0
    Input:    1 ch,  22050 Hz, 'lpcm' (0x0000000C) 16-bit
little-endian signed integer
    Output:   1 ch,  22050 Hz, 'aac ' (0x00000000) 0 bits/channel, 0
bytes/packet, 1024 frames/packet, 0 bytes/frame
    Input layout tag: 640001
    Output layout tag: 640001
Output file: small.aac, 20480 frames


And when I try to play the file with QuickTime Player I get an error
message saying:
The movie could not be opened.
The file is not a movie file.

What am I doing wrong?

Kind regards,
Dave.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/coreaudio-api/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.