作者:闻汝婕环境_259 | 来源:互联网 | 2023-07-04 14:37
Ineedanencoderthatcanconvertmp3filestohe-aac(akaaac+).SofarthebestoneIhavefound
I need an encoder that can convert mp3 files to he-aac (aka aac+). So far the best one I have found is nero aac encoder . I have two problemes with it : - Only one input format : wav . It is a little bit slow to transform mp3 files to wav and then to he-aac. - a free license for non commercial use.
我需要一个可以将mp3文件转换为he-aac(又名aac +)的编码器。到目前为止,我发现的最好的是nero aac编码器。我有两个问题: - 只有一种输入格式:wav。将mp3文件转换为wav然后转换为he-aac有点慢。 - 非商业用途的免费许可。
Too bad ffmpeg does not support he-aac ... There is a commercial solution, on2 flix, but it seems to be a golden hammer for the simple task I need to do.
太糟糕的ffmpeg不支持he-aac ......有一个商业解决方案,on2 flix,但它似乎是我需要做的简单任务的金锤。
5 个解决方案
2
I've been using neroAacEnc
for quite a while now, and I'm largely satisfied with the results. If you're on Linux, making an .AAC
file out of an .MP3
or whatever else, is quite easy, all you need is a small wrapper script, that takes care of decoding into .WAV
and after encoding, removes the .WAV
file.
我一直在使用neroAacEnc已经有一段时间了,我对结果非常满意。如果你在Linux上,用.MP3或其他任何东西制作.AAC文件非常简单,你需要的只是一个小包装脚本,它负责解码成.WAV并在编码后删除.WAV文件。
Be advised: Converting from one lossy encoding to another further reduces quality. So when you can live with .MP3
and you don't have lossless sources, you better stick to them.
建议:从一个有损编码转换为另一个有损编码会进一步降低质量。因此,当你可以使用.MP3并且没有无损源时,你最好坚持使用它们。
Here's a small script, that converts from .FLAC
to .AAC
, it accepts only .FLAC
files as arguments:
这是一个小脚本,从.FLAC转换为.AAC,它只接受.FLAC文件作为参数:
#!/bin/zsh
for file in ${argv[*]}; do
flac -d ${file}
neroAacEnc -q 0.6 -if ${file%%.flac}.wav -of ${file%%.flac}.aac
rm ${file%%.flac}.wav
done
This script is sequential, but it can be easily made into a multithreaded script.
此脚本是顺序的,但它可以很容易地制作成多线程脚本。