5

Is there any way to set metadata like artist, title, genre etc. for an AAC file recorded with AVAudioRecorder?

For MP3 files there is the ID3 tag. However, I haven't been able to find an equivalent for AAC files. I have searched through the Apple Developer Docs without success but there must be some way to set those attributes because when playing an AAC file downloaded from iTunes in an audio player like VLC or foobar2000 it does recognize the metadata and even the album art.

(For recording the AAC files I use the code from Apple's Multimedia Programming Guide.)

Mischa
  • 15,816
  • 8
  • 59
  • 117

1 Answers1

0

I don't think you can add metadata to your audio file when using AVAudioRecorder. I think you will have to use an extra AVAssetExportSession pass to do that, like is done in this question

Community
  • 1
  • 1
Rhythmic Fistman
  • 34,352
  • 5
  • 87
  • 159