• 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
afconvert creating files that will not play
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

afconvert creating files that will not play


  • Subject: afconvert creating files that will not play
  • From: "David Brennan" <email@hidden>
  • Date: Thu, 24 Jan 2008 19:20:19 +0000

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: afconvert creating files that will not play
      • From: William Stewart <email@hidden>
  • Prev by Date: Re: Automation woes
  • Next by Date: Re: Garbage Collection vs Core Audio
  • Previous by thread: Re: Million Monkeys Disappeared in Leopard ?
  • Next by thread: Re: afconvert creating files that will not play
  • Index(es):
    • Date
    • Thread