HydrogenAudio

Lossy Audio Compression => AAC => Topic started by: Stone Free on 2017-02-16 16:13:05

Title: Cannot get gapless on converted AAC File
Post by: Stone Free on 2017-02-16 16:13:05
I have an album called Awakening: Live from Chicago that when on CD or ripped to FLAC does not have any gaps, when it is transcoded to AAC suddenly they are gaps.

I have other AAC tracks that do run into each other, so its not a playback problem.  I have been using dbPowerAmp to do the conversion
Title: Re: Cannot get gapless on converted AAC File
Post by: Apesbrain on 2017-02-16 17:43:11
You might try re-ripping the CD directly to AAC to see if better results.

Or try another app.  I just converted three gapless FLAC tracks from DSOTM to AAC (QAAC) and MP3 (LAME) using foobar2000.  Both play back gapless -- or so close I can't hear it -- in foobar2000.  It's possible they would not do so if played back in another app or on a portable player.  Not much you can do about that other than combine all the tracks into one big file and, if your player supports it, use a CUE sheet to index tracks.
Title: Re: Cannot get gapless on converted AAC File
Post by: JunkieXL on 2017-02-16 21:11:33
Try converting to ALAC and see if the gaps persist.  If not, you can then import the ALAC files into iTunes and convert them to AAC using iTunes AAC codec.
Title: Re: Cannot get gapless on converted AAC File
Post by: Stone Free on 2017-02-17 13:07:56
Try converting to ALAC and see if the gaps persist.  If not, you can then import the ALAC files into iTunes and convert them to AAC using iTunes AAC codec.
Ah, that sounds clever, will try that first
Title: Re: Cannot get gapless on converted AAC File
Post by: lozenge on 2017-02-26 16:39:10
The MP4 (.m4a) container has two different options for gapless playback; the ISO standard, and Apples "iTunes" implementation.

I think dBPowermp uses the FDK-AAC encoder by default, which has the ability to write either or both options when using the fdkaac frontend (using the "-G" option)... I'm not sure if the dBPoweramp GUI exposes this functionality to the user, but it might be worth investigating. Otherwise JunkieXLs suggestion of converting to ALAC then AAC with Apple tools seems a good idea.
Title: Re: Cannot get gapless on converted AAC File
Post by: spoon on 2017-02-27 16:28:48
You can try this version here which writes both ISO and iTunes gapless:

https://forum.dbpoweramp.com/showthread.php?39378-codec-m4a-AAC-FDK-Encoder-R5-windows&p=172537#post172537
Title: Re: Cannot get gapless on converted AAC File
Post by: Stone Free on 2017-08-13 19:33:11
Hi spoon,

Thanks, just tried that this morning, and they now play gaplessly phew!