Nero AAC Encoder

The Nero AAC Encoder is a fully functional, high quality, commandline LC and HE AAC encoder and is free for non-commercial use. There are versions for both Windows and Linux (x86)

./neroAacEnc [options] -if <input-file> -of <output-file>

<input-file>
Path to source file to encode.
The file must be in Microsoft WAV format and contain PCM data.
Specify - to encode from stdin.
Note that multiple input files can be specified, they will be encoded together into a single output file with chapter marks indicating source file divisions.
<output-file>
Path to output file to encode to, in MP4 format.

NeroAacEnc部分参数介绍:

Quality/bitrate control

-br <number>
Specifies "target bitrate" mode. (ABR)
<number> is target bitrate in bits per second ranging from 8000 to 400000.

Multipass encoding

-2pass
Enables two-pass encoding mode.
Note that two-pass mode requires a physical file as input, rather than stdin.
Using two-pass encoding is not recommended when using VBR.

Q: What is the -2pass option good for?
A: Two pass encoding ensures that the output quality is constant (like VBR) while also ensuring that a specified output bitrate is achieved (like CBR).

Two pass使指定输出码率情况下编码输出的质量更稳定

Advanced features / troubleshooting

-ignorelength
Ignores length signaled by WAV headers of input file. Useful for certain frontends using stdin.
-lc
Forces use of LC AAC profile (HE features disabled). (LC = Low Complexity)

-he
Forces use of HE AAC profile (HEv2 features disabled). (HE = High Efficiency)
-hev2
Forces use of HEv2 AAC profile

使用举例:

./neroAacEnc -ignorelength -lc -br 128000 -2pass -if /data/input.wav -of /data/output.mp4  &> /dev/null

References:

https://www.audiocoding.com/nero_aacenc.html
http://wiki.hydrogenaud.io/index.php?title=Nero_AAC

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容

  • 盖千古人物,无以亲承为憾,徒留后人临风结想。 有人说,你太完美,所以不真实。更有人提点我,你...
    待曦阅读 580评论 26 14
  • 突然想到你,笑了笑自己 感谢你赠予我一场空欢喜 就像当初,我爱你,没有什么目的,只是爱你 你有没有过得很努力,很努...
    昌玉阅读 102评论 0 1
  • AFNetworking是iOS开发中最常用的第三方开源库之一,它主要用于进行网络请求。AFNetworking主...
    西瓜冰s阅读 15,824评论 5 28
  • 谁是谁的谁,谁是谁心口的那颗痣,谁是谁尘埃里的那朵花,谁是谁的永远,谁是谁,人生就像一列急速而过的列车,途径的风景...
    李思伟阅读 166评论 0 0
  • 就在刚才,我提醒儿子早点睡觉,并把脸伸给他说亲我一下吧,他真的亲了我一口!忘了多久没享受过这种高级待遇了,自从他小...
    陈庆chen阅读 219评论 2 11