title
Products            Buy            Support Forum            Professional            About            Codec Central
 

Issue with Apple AAC encoder

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • flips
    dBpoweramp Enthusiast

    • Jan 2006
    • 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.
  • PeterP
    Super Moderator
    • Jul 2011
    • 1464

    #2
    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.

    Comment

    • flips
      dBpoweramp Enthusiast

      • Jan 2006
      • 93

      #3
      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)

      Comment

      • PeterP
        Super Moderator
        • Jul 2011
        • 1464

        #4
        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.

        Comment

        • flips
          dBpoweramp Enthusiast

          • Jan 2006
          • 93

          #5
          Re: Issue with Apple AAC encoder

          Thanks!

          Comment

          • PeterP
            Super Moderator
            • Jul 2011
            • 1464

            #6
            Re: Issue with Apple AAC encoder

            Handling of this scenario has been improved in the new beta version-
            Current version: R16.4 beta 7 Download: <now released> Changes since R16.3: Re-introduced remembering of window positions Updated MP4/M4A codec with support for tagging files larger than 4 gigabytes Improved behavior when converting low sample rate audio files to Apple AAC CBR. Changes in beta 2: Dismissing


            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.

            Comment

            Working...

            ]]>