本文介绍了有没有办法从 AIFF 文件中删除 IDV 标签?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为在 Ubuntu 服务器上运行的 rails 应用程序开发后端任务系统.

I'm working on a backend task system for a rails application running on an Ubuntu Server.

在将上传的 AIFF 文件转换为 FLAC 之前,我需要从中删除所有可能存在的标签.我怎样才能做到这一点?

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 目前没有涵盖 AIFF.是否有另一个 gem、命令行应用程序或类似的东西,我的 rails 应用程序可以调用,或者我必须完全自己编写代码?

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?

推荐答案

kid3 是一个同时具有 gui 的应用程序和 命令行 接口,允许编辑标签并支持多种音频文件格式,包括aiff.您可能可以在 ruby​​ 中围绕它编写一些脚本,并在您的 Rails 应用程序中使用它.我不确定它是否在标准 ubuntu 存储库中可用,但源代码似乎包含必要的元数据来构建 deb(以及 rpm)包,如果涉及到自己做的话.

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.

这篇关于有没有办法从 AIFF 文件中删除 IDV 标签?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-03 05:08