summaryrefslogtreecommitdiffstats
path: root/src/help.cpp
blob: 511a272617778f675c3918e7446a68c076cf3b38 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#include "help.h"
#include <string>

const std::string& GetHelp() {
    const static std::string txt = R"(
atracdenc is a tool to encode in to ATRAC1 or ATRAC3, ATRAC3PLUS, decode from ATRAC1 formats

Usage:
atracdenc {-e <codec> | --encode=<codec> | -d | --decode} -i <in> -o <out>

-e or --encode		encode file using one of codecs
	{atrac1 | atrac3 | atrac3_lp | atrac3plus}
-d or --decode		decode file (only ATRAC1 supported for decoding)
-i			path to input file
-o			path to output file
-h			print help and exit

--container		explicitly select output container: aea, oma, riff, rm, raw
			valid combinations:
			ATRAC1: aea, raw
			ATRAC3: oma, riff, rm, raw
			ATRAC3PLUS: oma, riff, raw

--bitrate		allow to specify bitrate (for ATRAC3 + RealMedia container only)

Advanced options:
--bfuidxconst		Set constant amount of used BFU (ATRAC1, ATRAC3).
--notransient[=mask]	Disable transient detection and use optional mask
			to set bands with forced short MDCT window (ATRAC1)

Examples:
Encode in to ATRAC1 (SP)
	atracdenc -e atrac1 -i my_file.wav -o my_file.aea
Encode in to ATRAC3 (LP2)
	atracdenc -e atrac3 -i my_file.wav -o my_file.oma
Encode in to ATRAC3PLUS
	atracdenc -e atrac3plus -i my_file.wav -o my_file.oma

)";

    return txt;
}