View Single Post
Old 27th April 2010, 20:19   #1  |  Link
b66pak
Registered User
 
b66pak's Avatar
 
Join Date: Aug 2008
Location: The Land Of Dracula (Romania - EU)
Posts: 934
qaac - a new command line AAC/ALAC encoder using QuickTime API

for who is interested...

http://sites.google.com/site/qaacpage/home

see also https://forum.doom9.org/showthread.p...01#post1925401

Quote:
qaac is a command line AAC/ALAC encoder using QuickTime API, strongly influenced by http://tmkk.hp.infoseek.co.jp/qtaacenc/.

* Can read WAV, AIFF, AU, RawPCM, FLAC, Wavpack, ALAC. W64. (see libsndfile [every PCM format supported by libsndfile is also supported by qaac]). Cuesheet(*.cue) is also supported from version 0.05. Support for +4gb .WAV form file/pipe added from version 0.12!
* Encodes as AAC-LC / AAC-HE / ALAC into standard ISO MP4 container.
* As for AAC, ADTS output is also supported from version 0.06.
* As for WAV, AIFF, AU, RawPCM: pipe input is supported.
* As for AIFF, FLAC, Wavpack, ALAC: embedded tags can be automatically pulled (not all).
* Can process multiple input files, wild card can be used.

Download latest version from here. You only have to download qaac-x.xx.zip, if you don't want to compile/browse source codes at all. Of course, you must install the latest Apple QuickTime to run the app.

qaac uses following libraries.

* Apple QuickTime SDK
* libmp4v2 (modified)
* libsndfile
* FLAC
* wavpack
* libid3tag
* GNU getopt (modified)
* boost
Code:
qaac 0.17
Usage: qaac [options] infiles....

"-" as infile means stdin.
In ADTS output mode, "-" as outfile means stdout.

Main options:
-d <dirname>           Output directory, default is cwd
-a, --abr <bitrate>    AAC ABR mode / bitrate
-V, --tvbr <n>         AAC True VBR mode / quality [0-127]
-v, --cvbr <bitrate>   AAC Constrained VBR mode / bitrate
-c, --cbr <bitrate>    AAC CBR mode / bitrate
--he                   HE AAC mode (Can't use TVBR)
-A, --alac             ALAC encoding mode
-q, --quality <n>      AAC encoding Quality [0-2]
-r, --rate <option>    Sample rate option (AAC only)
                       Specify one of the followings:
                       keep: Try to preserve the original rate
                       auto: Let QuickTime choose the optimal one
                       <number>: Literal rate in Hz
-s, --silent           Don't be verbose
-n, --nice             Give lower process priority
--downmix <mono|stereo>    Downmix to mono/stereo
--no-optimize          Don't optimize MP4 container file after encoding
--adts                 ADTS(raw AAC)output, instead of m4a(AAC only)
--ignorelength         Assume WAV input and ignore the data chunk length
-R, --raw              Raw PCM input
-S, --stat             Save bitrate statistics into file
Code:
Options for single input mode only:
-o <filename>          Output filename

Options for Raw PCM input only:
--raw-channels <n>     Number of channels, default 2
--raw-rate     <n>     Sample rate, default 44100
--raw-format   <str>   Sample format, default S16L
                       Sample format spec:
                       1st char: S(igned) | U(nsigned) | F(loat)
                       2nd part: Bitwidth
                       Last part: L(ittle Endian) | B(ig Endian)
                       Cases are ignored. u8b is OK.
Code:
Tagging options(single input only):
--title <string>
--artist <string>
--band <string>
--album <string>
--grouping <string>
--composer <string>
--comment <string>
--genre <string>
--date <string>
--track <number[/total]>
--disk <number[/total]>
--compilation
_

N.B. I am not the developer of this tool!
_
__________________
if you ask a question and somebody give you the correct answer don't forget to leave a "thank you" note...
Visit The Land Of Dracula (Romania - EU)!

Last edited by tebasuna51; 27th September 2021 at 00:35.
b66pak is offline   Reply With Quote