aboutsummaryrefslogtreecommitdiffstats
path: root/man/atracdenc.1
blob: 07351d27ac16d31b4c6038211925b9dddd488663 (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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
.\" Define V font for inline verbatim, using C font in formats
.\" that render this, and otherwise B font.
.ie "\f[CB]x\f[]"x" \{\
. ftr V B
. ftr VI BI
. ftr VB B
. ftr VBI BI
.\}
.el \{\
. ftr V CR
. ftr VI CI
. ftr VB CB
. ftr VBI CBI
.\}
.TH "ATRACDENC" "1" "9 November 2023" "atracdenc 0.1.0" "User Manual"
.hy
.SH NAME
.PP
atracdenc - encode to or decode from ATRAC format
.SH SYNOPSIS
.PP
atracdenc [options] {-e <codec> | \[en]encode=<codec> | -d |
\[en]decode} -i <in> -o <out>
.PP
.SH DESCRIPTION
.PP
atracdenc is an audio converter that can encode into ATRAC1
or ATRAC3 compatible format and decode from ATRAC1.
.PP
For ATRAC1 (also known as ATRAC SP on MiniDisk devices) AEA audio
container is used. Only one bitrate (292 kbit/s) is specified.
.PP
For ATRCA3 (also known as ATRAC LP on MiniDisk devices) OMA, AT3(riff)
and RealMedia container is supported. In the case of OMA and AT3 container, compatible bitrates are 66150 (LP4), 104738 and 132300 (LP2) bits/s. 
The RealMedia container supports 66150, 93713, 104738, 132300, 146081, 176400, 264600 and 352800 bits/s.
.SH OPTIONS
.TP
.B \-h
Display help.
.TP
.B \-i
Path to the input file. In case of encoding it should be WAV, AIFF or SND 44100 Khz 16 bit PCM file. \
Use - to read from stdin.
.TP
.B \-o
Path to the output file. The container format is chosen automaticaly according to the file extension. 
.TP
.B \-e <codec>
Encode mode. <codec> is a codec name must be one of atrac1, atrac3, atrac3_lp2, atrac3_lp4.
.TP
.B \--encode=<codec>
Alias for -e.
.TP
.B \-d
Decode mode. Only ATRAC1 is supported.
.TP
.B \--decode
Alias for -d.
.TP
.B \--bitrate
Specify using bitrate (kbit/s). It make sense only for ATRAC3.
.TP
.SH ADVANCED OPTIONS
.TP
.B \--bfuidxconst
Set constant amount of used BFU (ATRAC1, ATRAC3).
.TP
.B \--bfuidxfast
Enable fast search of BFU amount (ATRAC1).
.TP
.B \--notransient[=mask]
Disable transient detection and use an optional mask \
to set bands with a forced short MDCT window.
.TP
.SH EXAMPLES
.LP
ATRAC1 compatible encoding
.IP
.B atracdenc \-e atrac1
-i
.I in.wav
-o
.I out.aea

.LP
ATRAC3 LP2 compatible encoding
.IP
.B atracdenc \-e atrac3
-i
.I in.wav
-o
.I out.oma

.LP
ATRAC3 LP4 compatible encoding (low quality)
.IP
.B atracdenc \-e atrac3_lp4
-i
.I in.wav
-o
.I out.oma


.LP
ATRAC3 + RealAudio container + max supported bitrate
.IP
.B atracdenc \-e atrac3 --bitrate=344
-i
.I in.wav
-o
.I out.rm