title
Products            Buy            Support Forum            Professional            About            Codec Central
 
Results 1 to 6 of 6

Thread: Issue with Apple AAC encoder

  1. #1
    dBpoweramp Enthusiast
    Join Date
    Jan 2006
    Location
    Norway
    Posts
    93

    Issue with Apple AAC encoder

    Interesting error just now:
    Code:
    Error converting to Apple AAC, '/path/to/myfile.flac' to '/path/to/myfile.m4a'
       Unable to tag file '/path/to/myfile.m4a'
    Converting from FLAC to Apple AAC, CBR.
    If I select VBR, it works without issues.

    Tested in both DMC 16.2 and 16.3 on macOS 10.13.4.

  2. #2
    Super Moderator
    Join Date
    Jul 2011
    Posts
    1,363

    Re: Issue with Apple AAC encoder

    Thanks for the bug report.

    Apart from the error messages, what happens with the output file?
    Is it playable (but untagged) / unplayable (corrupted) or missing entirely?

    Is there anything specific about the original file? Is it perhaps a long track causing the destination m4a file to be several gigabytes in size?
    Can you please email related files to peter@dbpoweramp.com if possible?

    Thanks.

  3. #3
    dBpoweramp Enthusiast
    Join Date
    Jan 2006
    Location
    Norway
    Posts
    93

    Re: Issue with Apple AAC encoder

    Hi again.
    The file is missing entirely. (It looks like there's a .tmp file there momentarily, before it disappears.)
    The original file is a short/small FLAC of 23.7 MB, mono 22050 samplerate. (Saved from Twisted Wave.)
    (Sending you the flac file)

  4. #4
    Super Moderator
    Join Date
    Jul 2011
    Posts
    1,363

    Re: Issue with Apple AAC encoder

    Thanks, problem recreated.

    It appears that the Apple AAC codec does not support this combination of parameters - 128kbps CBR bitrate for 22050Hz mono input:
    $ afconvert -f mp4f -d aac -b 128000 mono-22k.wav test.m4a
    An unknown error occurred.

    Resampling to a higher sample rate prior to encoding fixes it.
    I'm working on fixing this on our end, at least the error message needs to make more sense, it did not fail to tag the file but created no output file at all.

  5. #5
    dBpoweramp Enthusiast
    Join Date
    Jan 2006
    Location
    Norway
    Posts
    93

    Re: Issue with Apple AAC encoder

    Thanks!

  6. #6
    Super Moderator
    Join Date
    Jul 2011
    Posts
    1,363

    Re: Issue with Apple AAC encoder

    Handling of this scenario has been improved in the new beta version-
    https://forum.dbpoweramp.com/showthr...ion-R16-4-beta

    When trying to make CBR files from low sample rate content, the sample rate will be automatically increased. This only affects scenarios where the Apple AAC codec would refuse to work.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •