如何使用Java将FLAC文件转换为WAV文件? [英] How to convert a FLAC file to WAV file using java?

查看:451
本文介绍了如何使用Java将FLAC文件转换为WAV文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将给定的flac文件转换为wav文件.关于StackOverflow的大多数问题与我的问题相反.有谁知道如何解决这个问题?我听说过有关JavaFlacEncoder link 的内容,但是我找不到将flac转换为wave的方法.

I want to convert a given flac file to a wav file. Most of the questions on StackOverflow are the opposite of my question. Have anyone an idea how to solve this problem ? I heard something about JavaFlacEncoder link but I could not find a method to convert flac to wave.

推荐答案

使用flac -d来(从man页面开始)

Decode (the default behavior is to encode)

另一个选择是 JustFLAC 库,同样,您需要解码来自FLAC. WAV是未压缩的音频.

Another option would be the JustFLAC library, again you need to decode from FLAC. WAV is uncompressed audio.

这篇关于如何使用Java将FLAC文件转换为WAV文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆