diff options
author | Daniil Cherednik <dan.cherednik@gmail.com> | 2023-09-08 01:07:38 +0200 |
---|---|---|
committer | Daniil Cherednik <dan.cherednik@gmail.com> | 2023-09-08 01:07:38 +0200 |
commit | f0456e6642047976b407a80cafec3ccb473e3332 (patch) | |
tree | 119a50ef1bddbc04d641bf2564d93f35f07bee23 /src/help.cpp | |
parent | 52271de4d7dbb11379cfc1b3dddc0a35852a06d8 (diff) | |
download | atracdenc-f0456e6642047976b407a80cafec3ccb473e3332.tar.gz |
Some ux improvements
- help page
- remove noise messages
Diffstat (limited to 'src/help.cpp')
-rw-r--r-- | src/help.cpp | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/src/help.cpp b/src/help.cpp new file mode 100644 index 0000000..45d17b3 --- /dev/null +++ b/src/help.cpp @@ -0,0 +1,34 @@ +#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, 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} +-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 + +--bitrate allow to specify bitrate (for ATRAC3 + RealMedia container only) + +Advanced options: +--bfuidxconst Set constant amount of used BFU (ATRAC1, ATRAC3). +--bfuidxfast Enable fast search of BFU amount (ATRAC1) +--notransient[=mask] Disable transient detection and use optional mask + to set bands with forced short MDCT window + +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 +)"; + + return txt; +} |