chiark / gitweb /
Add documentation and administrivia about `disorder-gstdecode'.
[disorder] / doc / disorder-gstdecode.8.in
CommitLineData
c764e832
MW
1.\" -*-nroff-*-
2.\"
3.\" Copyright (C) 2007, 2008 Richard Kettlewell
4.\" Copyright (C) 2016 Mark Wooding
5.\"
6.\" This program is free software: you can redistribute it and/or modify
7.\" it under the terms of the GNU General Public License as published by
8.\" the Free Software Foundation, either version 3 of the License, or
9.\" (at your option) any later version.
10.\"
11.\" This program is distributed in the hope that it will be useful,
12.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
13.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14.\" GNU General Public License for more details.
15.\"
16.\" You should have received a copy of the GNU General Public License
17.\" along with this program. If not, see <http://www.gnu.org/licenses/>.
18.\"
19.TH disorder-gstdecode 8
20.SH NAME
21disorder-gstdecode \- DisOrder audio decoder using GStreamer
22.SH SYNOPSIS
23.B disorder\-gstdecode
24.RB [ -c
25.IR CONFIGFILE ]
26.RB [ -d
27.IR DITHER ]
28.RB [ -f
29.IR GAIN ]
30.br
31\h'8n'\c
32.RB [ -n
33.IR SHAPE ]
34.RB [ -q
35.IR QUALITY ]
36.RB [ -r
37.IR MODE ]
38.I PATH
39.SH DESCRIPTION
40.B disorder\-gstdecode
41converts encoded audio files into DisOrder's "raw" format.
42It uses the GStreamer library for conversion,
43and can decode any kind of audio file
44for which the necessary GStreamer plugins are available.
45.PP
46It is suitable for use as an
47.B execraw
48player.
49.PP
50It is not intended to be used from the command line,
51but command-line options can usefully be provided
52in DisOrder's configuration file.
53.SH OPTIONS
54.TP
55.B \-\-help\fR, \fB\-h
56Display a usage message.
57.TP
58.B \-\-version\fR, \fB\-V
59Display version number.
60.TP
61.B \-\-config \fICONFIGFILE\fR, \fB\-c \fICONFIGFILE
62Set the configuration file.
63.TP
64.B \-\-dither \fITYPE\fR, \fB\-d \fIDITHER
65Set the dither type used during audio format conversion.
66This can be \fBnone\fR,
67\fBrpdf\fR for rectangular dithering,
68\fBtpdf\fR for triangular dithering, or
69\fBtpdf-hf\fR for high-frequency triangular dithering.
70Maybe the GStreamer documentation will explain what these mean.
71The default is to leave the decision
72to GStreamer's \fBaudioconvert\fR plugin.
73.TP
74.B \-\-fallback-gain \fIGAIN\fR, \fB\-f \fIGAIN
75Set the gain to be applied to tracks
76which don't have ReplayGain information.
77This is in decibels, and will usually be negative.
78The default is zero, which is probably wrong.
79.TP
80.B \-\-noise-shape \fITYPE\fR, \fB-n \fITYPE
81Set the noise shaping type used during audio format conversion.
82This can be \fBnone\fR,
83\fBerror-feedback\fR,
84\fBsimple\fR for 2-pole noise shaping,
85\fBmedium\fR for 5-pole noise shaping, or
86\fBhigh\fR for 8-pole noise shaping.
87Maybe the GStreamer documentation will explain what these mean.
88The default is to leave the decision
89to GStreamer's \fBaudioconvert\fR plugin.
90.TP
91.B \-\-quality \fIQUALITY\fR, \fB\-q \fIQUALITY
92Set the quality level to be used for resampling.
93This should be an integer between
940 (poor, but fast) and
9510 (good, but slow).
96See the GStreamer documentation for more information.
97The default is to leave the decision
98to GStreamer's \fBaudioresample\fR plugin.
99.TP
100.B \-\-replay-gain \fIMODE\fR, \fB\-r \fIMODE
101Set the ReplayGain mode.
102This can be \fBoff\fR to not bother with ReplayGain at all,
103\fBtrack\fR to use the per-track gain setting, or
104\fBalbum\fR to use the per-album gain setting
105(so that the volume level sounds consistent
106when playing an entire album).
107The default is \fBalbum\fR.
108.SH "SEE ALSO"
109.BR disorderd (8),
110.BR disorder_config (5)