-
Notifications
You must be signed in to change notification settings - Fork 6
/
dir2ogg.1
111 lines (108 loc) · 4.62 KB
/
dir2ogg.1
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
.TH DIR2OGG 1 "2009-08-04" "dir2ogg 0.12"
.SH NAME
dir2ogg \- Convert MP3, WAV, and M4A files to OGG format
.SH SYNOPSIS
\fBdir2ogg\fP [ options ] \fIpath\fP [\fIpath\fP] ...
.SH DESCRIPTION
\fIdir2ogg\fP converts MP3, M4A, WMA and WAV files to the open\-source OGG format. \fIdir2ogg\fP is a python script that simply binds together mpg123, faad, and oggenc making it easier for the user to convert his/her music files. OGGs are about 15 to 20 percent smaller than MP3 files, with the same relative audio quality. \fIdir2ogg\fP can be called with the \fI\-d\fP flag at the command line to convert any number of directories at once, or given MP3, M4A, WMA,
and/or WAV filenames as arguments, \fIdir2ogg\fP will convert only those files. If converting WAV, M4A or WMA files with \fI\-d\fP you must add
the \fI\-w\fP, \fI\-m\fP or \fI\-W\fP command line flags respectively. These flags are not neccesary unless using \fI\-d\fP.
Note that converting M4A files requires you to have faad installed, and converting WMA files requires mplayer.
Keep in mind that converting from MP3 or M4A to OGG is a conversion between two lossy formats. This is fine if you just want to free up some disk space, but if you're a hard\-core audiophile you may be disappointed. I really can't notice a difference in quality with 'naked' ears myself.
.SS General Options
.TP
\fB\-h or \-\-help\fP
print quick usage details to the screen.
.TP
\fB\-d or \-\-directory\fP
convert all MP3 files in \fIdirectory\fP. WAV and M4A files will be converted
if used with the \fI\-w\fP and \fI\-m\fP command line flags. This option is for
compatibility purposes only and does not need to be specified anymore.
.TP
\fB\-r or \-\-recursive\fP
like \fI\-d\fP but descends recursively into directories.
.TP
\fB\-p or \-\-preserve-wav\fP
preserve all WAV files. By default they are deleted.
.TP
\fB\-P or \-\-no\-pipe\fP
Do not use pipes to send data from the decoder to the encoder, use temporary
wav files instead.
.TP
\fB\-\-delete-input\fP
Delete the input file after conversion
.TP
\fB\-v or \-\-verbose\fP
increase \fIdir2ogg\fP's verbosity.
.TP
\fB\-Q or \-\-quiet\fP
Do not display progress messages, except the name of the file which is
currently converted. Some decoders provide no way to disable messages and thus
may still display some.
.SS Conversion options
.TP
\fB\-\-convert-all\fP
Convert all supported audio files found in the directories given on the
command-line to Ogg Vorbis.
.TP
\fB\-f or \-\-convert-ape\fP
Convert all APE (Monkey's Audio) files found in the directories given on
the command-line to Ogg Vorbis, using either ogg123 or flac or mplayer.
.TP
\fB\-f or \-\-convert-flac\fP
Convert all FLAC (Free Lossless Audio Codec) files found in the directories
given on the command-line to Ogg Vorbis, using ogg123 or flac or mplayer.
.TP
\fB\-m or \-\-convert-m4a\fP
convert all M4A (MPEG-4 Audio) files found in the directories given on the
command-line to Ogg Vorbis, using faad or mplayer. For decoding ALAC
(Apple Lossless) files, 'alac-decoder' may be used.
.TP
\fB\-m or \-\-convert-mpc\fP
convert all MPC (MusePack) files found in the directories given on the
command-line to Ogg Vorbis, using mpcdec or mplayer.
.TP
\fB\-W or \-\-convert-wma\fP
Convert all WMA (Windows Media Audio) files found in the directories given
on the command-line to Ogg Vorbis, using mplayer.
.TP
\fB\-w or \-\-convert-wav\fP
Convert all WAV files found in the directories given on the command-line
to Ogg Vorbis.
.TP
\fB\-V or \-\-convert-wv\fP
Convert all WV (WavPack) files found in the directories given on the
command-line to Ogg Vorbis.
.TP
\fB\-n or \-\-no-mp3\fP
ingore all MP3 files found in directories given on the command-line.
.TP
\fB\-\-(ape|flac|m4a|mp3|mpc|wma|wv)\-decoder=COMMAND\fP
Set the decoder you want to use for one filetype, e.g.: \-\-mp3-decoder=lame.
Run dir2ogg \-\-help to see the available decoders.
.TP
\fB\-qN or \-\-quality=N\fP
OGG quality. N is a number between \-1 and 10. Default is 3. Decimals are OK (ie: 3.7)
.TP
\fB\-t or \-\-smart\-mp3
Try to use the same quality as the input file. MP3 input only!
.SH "EXIT CODES"
\fIdir2ogg\fP exits with 0 on success, 1 for most errors, and 2 if conversion
of one or more files failed (most likely due to an internal error).
.SH "SEE ALSO"
\fImpg123\fP(1), \fImplayer\fP(1), \fIoggenc\fP(1)
.SH BUGS
Enter you bug reports in Launchpad at https://bugs.launchpad.net/dir2ogg
.SH AUTHORS
.PD 0
.TP
\fB0.10 and newer:\fP Julian Andres Klode <jak@jak-linux.org>
.TP
\fB0.9.3 and older:\fP Darren Kirby <d@badcomputer.org>
.PD
.SH CONTRIBUTORS
.PD 0
.TP
\fBoriginal wma support:\fP Cameron Stone <camerons@cse.unsw.edu.au>
.TP
\fBsmart-mp3:\fP Marek Palatinus <marek@palatinus.cz>