• 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
Help with afconvert
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help with afconvert


  • Subject: Help with afconvert
  • From: "Erickson, Mark C via Coreaudio-api" <email@hidden>
  • Date: Tue, 04 Jun 2019 20:08:37 +0000
  • Thread-topic: Help with afconvert

The following command works, but results in the rear channels getting mapped to
the front L & R speakers:


afconvert -v -f 'm4af' -d 'aac ' -c 8 -l MPEG_7_1_A -l AAC_7_1 -b 768000 -q 127
-s 2 in.caf out.mp4


   ( aside: ffprobe of out.mp4 results in: [aac @ 0x7f7fb4013a00] Assuming an
incorrectly encoded 7.1 channel layout instead of a spec-compliant 7.1(wide)
layout, use -strict 1 to decode according to the specification instead. )


   ( aside: ffplay -strict 1 out.mp4 plays correctly )



I think I need to be using a different channel layout in the afconvert call:

 -l AAC_7_1_B


This is defined:

-
https://developer.apple.com/documentation/coreaudiotypes/kaudiochannellayouttag_aac_7_1_b


I’m on Mojave, but:

afconvert -v -f 'm4af' -d 'aac ' -c 8 -l MPEG_7_1_A -l AAC_7_1_B -b 768000 -q
127 -s 2 in.caf out.mp4

Throws an error:

Error: ExtAudioFileSetProperty ('cfmt') failed ('!dat’)


Any help would be appreciated.

Thanks.

Mark
 _______________________________________________
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

  • Next by Date: Re: USB Audio fixed in iPad Pro USB-C on IOS 12.3
  • Next by thread: Re: USB Audio fixed in iPad Pro USB-C on IOS 12.3
  • Index(es):
    • Date
    • Thread