I use a mac and am having the same problem. There are examples of this problem going back to 2006, but I never experienced it until a recent update.
All of my affected files were converted with FFmpeg. Most with Audacity. Some with another app, most likely using the same library. Libavcodec Checking the songs with COMMAND I to get information and going to the options tab revealed that they were encoded with Lavf55.33.100bbe
Audacity does not do batch conversions to AAC. Only one at a time. It does do batch conversions to mp3, wav and a couple of others. So you might try that.
I used FISSION by Rogue Amoeba software. $29. I am not affiliated with Rogue Amoeba. Just a user. It does have batch conversion available to AAC.
To do this:
- In iTunes Set View Options to display time and make sure to view as songs so you can see a column view.
- click the header column for time to sort by time.
- Select all the 789:57:13 and drag to a folder in the finder, then delete from iTunes and move to Trash, not just delete from library.
- perform your batch conversion to another folder and drag the converted songs back into iTunes.
- Delete both folders you just created from your mac to save space. I have never used Windows, but I assume the process can't be all that different. But Fission is Mac only software. As a windows user, I suppose using an Audacity macro to convert to wav or something might be your best choice. You can always convert back to AAC in iTunes if you want.