AAC Gapless playback information

I use beets and tag and organize my FLAC files, then use the beet convert command to make AAC files. The convert process isn’t writing gapless playback information to the AAC file.

The fdkaac command line tool is able to do this, but that won’t do a direct conversion from FLAC to AAC. And it doesn’t convert metadata.

Is there some way to get beets to add these tags on conversion?

I’ve been trying to do this manually without beets, and I can only find 2 ways to do it:

  1. Use iTunes to do the conversion
  2. Use XLD on the Mac to do the conversion

So, I don’t think this is something the beets command will be able to pull off.