问题
I'm working on a backend task system for a rails application running on an Ubuntu Server.
Before converting the uploaded AIFF files to FLAC, I need to strip all the possibly existing tags from it. How can I achieve that?
TagLib-Ruby doesn't have that covered for AIFF at this time. Is there another gem, a command line app or something similar that my rails app could call or do I have to code that fully on my own?
回答1:
kid3 is an application with both gui and command line interfaces that allows edition of tags and supports several audio file formats, including aiff
. You can probably script something around it in ruby and make use of it in your rails application. I am not sure if it's available in the standard ubuntu repositories, but the source code seems to include necessary metadata to build a deb (and also rpm) package, if it comes to doing it on your own.
来源:https://stackoverflow.com/questions/22542658/is-there-a-way-to-remove-idv-tags-from-an-aiff-file