Command-line Tools

From CUETools wiki
Jump to: navigation, search


CUETools.exe

Usage: CUETools.exe [/<profile>] <filename>

CUETools.exe <filename>     opens the usual dialog with input box set to <filename>.

<filename>   Any supported input file such as a CUE file, audio file with Embedded CUE,
             M3U file, ZIP or RAR archive (containing a CUE file + audio file(s)), or
             the first of a group of audio track files. Folders are not supported when
             a profile is specified.

profile options:

             A settings file for a profile must exist. A settings file is created 
             when a profile is opened in the GUI for the first time then exited.

/verify      starts automatic AccurateRip verification 
             default profile settings include; Action: 'Verify' with Script: 'only if found'
/convert     starts a conversion
             default profile settings include; Action: 'Encode' with Script: 'default'
/fix         starts AccurateRip verification and conversion (with possible offset correction).
             default profile settings include; Action: 'Encode' with Script: 'fix offset'
/<custom>    starts action set in user created profile with custom settings.

             CUETools will not close when complete so you can't run in a loop. This 
             command-line was intended for use in a Windows 'Send to' shortcut. 

CUETools Settings#Profile

Known issues

No CTDB verification when a profile is specified.

CUETools.ALACEnc.exe

Usage    : CUETools.ALACEnc.exe [options] <input.wav>

Options:

 -0 .. -10            Compression level, default 5.
 -o <file>            Output filename, or "-" for stdout, or nul.
 -q --quiet           Quiet mode.
 --verify             Verify during encoding.

Advanced Options:

 -b #                 Block size (samples).
 -p #                 Padding (bytes).
 -s <method>          Stereo decorrelation (independent,estimate,evaluate,search).
 --history-modifier # Rice history modifier {max} or {min},{max}, default 4,4.

LPC options:

 -m <method>          Prediction order search (estimate,estsearch,logfast,search).
 -e #                 Estimation depth (1..30).
 -w <func>[,<func>]   One or more window functions (welch,hann,flattop,tukey).
    --window-method   Window selection method (estimate,evaluate,search).
 -l #[,#]             Prediction order {max} or {min},{max} (1..30).

CUETools.ARCUE.exe (former ArCueDotNet.exe)

Usage: CUETools.ARCUE.exe [options] <filename>

Options:

 -v --verbose         Verbose mode

CUETools.Converter.exe

CUETools.Converter, Copyright (C) 2009-2018 Grigory Chudov.
This is free software under the GNU GPLv3+ license; There is NO WARRANTY, to
the extent permitted by law. <http://www.gnu.org/licenses/> for details.

Usage     : CUETools.Converter.exe [options] <infile> <outfile>

Options:

 --decoder <name>       Use non-default decoder.
 --encoder <name>       Use non-default encoder.
 --encoder-format <ext> Use encoder format different from file extension.
 --lossy                Use lossy encoder/mode.
 --lossless             Use lossless encoder/mode (default).
 --ignore-chunk-sizes   Ignore WAV length (for pipe input)
 -p #                   Padding bytes.
 -m <mode>              Encoder mode (0..8 for flac, V0..V9 for mp3, etc)

CUETools.eac3to.exe

CUETools.eac3to, Copyright (C) 2018 Grigory Chudov.
This is free software under the GNU GPLv3+ license; There is NO WARRANTY, to
the extent permitted by law. <http://www.gnu.org/licenses/> for details.

Usage     : CUETools.eac3to.exe [options] <sourcefile> [trackno:] [destfile]

Options:

 --ctdb                 Query CTDB for metadata.
 --encoder <name>       Use non-default encoder.
 --encoder-format <ext> Use encoder format different from file extension.
 --lossy                Use lossy encoder/mode.
 --lossless             Use lossless encoder/mode (default).
 -p #                   Padding bytes.
 -m <mode>              Encoder mode (0..8 for flac, V0..V9 for mp3, etc)

CUETools.FLACCL.cmd.exe (former CUETools.FlaCuda.exe)

CUETools FLACCL 2.1.7, Copyright (C) 2010-2013 Grigory Chudov.
This is free software under the GNU GPLv3+ license; There is NO WARRANTY, to
the extent permitted by law. <http://www.gnu.org/licenses/> for details.

Usage    : CUETools.FLACCL.cmd.exe [options] <input.wav>

Options:

 -0 .. -11             Compression level, default 8; 9..11 require --lax
 -o <file>             Output filename, or "-" for stdout, or nul
 -p #                  Padding bytes
 -q --quiet            Quiet mode
 --lax                 Allow non-subset modes
 --verify              Verify during encoding
 --no-md5              Don't compute MD5 hash
 --no-seektable        Don't generate a seektable
 --ignore-chunk-sizes  Ignore WAV length (for pipe input)
 --cpu-threads         Use additional CPU threads

OpenCL Options:

 --opencl-type <X>     CPU or GPU, default GPU
 --opencl-platform <X> No OpenCL platforms detected
 --group-size #        Set GPU workgroup size (64,128,256)
 --task-size #         Set number of frames per multiprocessor, default 8
 --slow-gpu            Some encoding stages are done on CPU
 --fast-gpu            Experimental mode, not recommended
 --define <X> <Y>      OpenCL preprocessor definition

Advanced Options:

 -b #                  Block size
 -s <method>           Stereo decorrelation (independent,search)
 -r #[,#]              Rice partition order {max} or {min},{max} (0..8)

LPC options:

 -w <func>[,<func>]    Window functions (bartlett,welch,hann,flattop,tukey)
 -l #[,#]              Prediction order {max} or {min},{max} (1..32)
 --max-precision       Coefficients precision search (0..1)

CUETools.Flake.exe

Usage    : CUETools.Flake.exe [options] <input.wav>

Options:

 -0 .. -11            Compression level, default 5; 9..11 require --lax
 -o <file>            Output filename, or "-" for stdout, or nul.
 -P, --padding #      Padding bytes.
 -q, --quiet          Quiet mode.
 -f, --force          Overwrite existing files.
 -V, --verify         Verify a correct encoding.
 -T, --tag FIELD=VAL  Add a FLAC tag; may appear multiple times
 --lax                Allow encoder to generate non-Subset files
 --no-md5             Don't compute MD5 hash.
 --no-seektable       Don't generate a seektable.
 --ignore-chunk-sizes Ignore data chunk sizes in WAVE files (for pipe input)

Advanced Options:

 -b #                 Block size.
 -t <type>            Prediction type (fixed,levinson,search).
 -s <method>          Stereo decorrelation (independent,estimate,evaluate,search).
 -r #[,#]             Rice partition order {max} or {min},{max} (0..8).
 --vbr #              Variable block size mode (0,4).

LPC options:

 -m <method>          Prediction order search (akaike).
 -e #                 Prediction order search depth (1..32).
 -w <func>[,<func>]   One or more window functions (tukey,partialtukey,
                      punchouttukey,bartlett,welch,hann,flattop).
 -l #[,#]             Prediction order {max} or {min},{max} (1..32).
 --window-method <wm> Window selection method (estimate,estimateN,
                      evaluate,evaluateN,search).
 --max-precision #,#  Coefficients precision search (0..1).

Fixed prediction options:

 -f #[,#]             Prediction order {max} or {min},{max} (0..4).

CUETools.Ripper.Console.exe (former CUETools.ConsoleRipper.exe)

CUERipper v2.1.7 Copyright (C) 2008-10 Grigory Chudov
This is free software under the GNU GPLv3+ license; There is NO WARRANTY, to
the extent permitted by law. <http://www.gnu.org/licenses/> for details.

Usage    : CUETools.Ripper.Console.exe <options>

Options:

-S, --secure             secure mode, read each block twice (default);
-B, --burst              burst (1 pass) mode;
-P, --paranoid           maximum level of error correction;
-D, --drive <letter>     use a specific CD drive, e.g. M: ;
-O, --offset <samples>   use specific drive read offset;
-T, --test               detect read command;
--d8                     force D8h read command;
--be                     force BEh read command;