简体   繁体   中英

Cocoa way to edit id3 tag in .mp3 files?

Is there a way to edit id3 tags in mp3 files in Cocoa way on OSX without using C lib such as taglib or id3lib?

I've tried using AVAssets. But I just could read the tags in mp3 files, I can't write tags to mp3 files. Does it support m4a audio file only?

I've also tried using AudioToolbox(AudioFile Get/Set Property). But I always got errors says media type is not supported.

AVFoundation does not provide metadata keys or other functionality for MP3. You have to convert to MP4 to edit metadata within AVFoundation.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM