[go: up one dir, main page]

File: track2track.xml

package info (click to toggle)
audiotools 3.1.1-1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 18,200 kB
  • sloc: ansic: 417,746; python: 59,089; xml: 1,639; makefile: 303; sh: 99
file content (138 lines) | stat: -rw-r--r-- 5,127 bytes parent folder | download | duplicates (2)
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2007-2015  Brian Langenberger
This work is licensed under the
Creative Commons Attribution-Share Alike 3.0 United States License.
To view a copy of this license, visit
http://creativecommons.org/licenses/by-sa/3.0/us/ or send a letter to
Creative Commons,
171 Second Street, Suite 300,
San Francisco, California, 94105, USA.
-->
<manpage>
  <utility>track2track</utility>
  <author>Brian Langenberger</author>
  <section>1</section>
  <name>convert audio tracks</name>
  <title>Audio File Converter</title>
  <synopsis>[OPTIONS] &lt;track 1&gt; [track 2] ...</synopsis>
  <description>
    track2track converts audio tracks from one format to another.
  </description>
  <options>
    <option short="h" long="help">show a list of options and exit</option>
    <option short="I" long="interactive">
      edit metadata and encoding options in interactive mode
      prior to converting tracks
    </option>
    <option short="V" long="verbose" arg="verbosity">
      The level of output to display.
      Choose between 'normal', 'quiet' and 'debug'.
    </option>
  </options>
  <options category="conversion">
    <option short="t" long="type" arg="type">
      The audio format to convert the given tracks to.
      For a list of available audio formats, try: -t help.
    </option>
    <option short="q" long="quality" arg="quality">
      The desired quality of the converted tracks.
      For a list of available quality modes for a given format, try: -q help
    </option>
    <option short="d" long="dir" arg="directory">
      The target directory for the converted tracks.
      If none is given, the current working directory is used.
      If the target directory does not exist,
      it will be created automatically.
      This option is not compatible with -o
    </option>
    <option long="format" arg="string">
      The format string to use for new filenames.
      Template fields are replaced with metadata values when
      new tracks are created.  All other text is left as-is.
      If this option is omitted, a default format string is used.
    </option>
    <option short="o" long="output" arg="filename">
      An explicit output filename for the converted track.
      With this option, only a single input track is allowed.
      It overrides the -d option and the default output filename.
    </option>
    <option short="j" long="joint" arg="processes">
      The maximum number of tracks to convert at one time.
      If one has multiple CPUs or CPU cores, allowing
      track2track(1)
      to use all of them simultaneously can greatly increase encoding speed.
    </option>
  </options>
  <options category="Format">
    <option long="sample-rate" arg="rate">
     convert all output files to the given sample rate, in Hz
   </option>
   <option long="channels" arg="channels">
     convert all output files to the given number of channels
   </option>
   <option long="bits-per-sample" arg="bits">
     convert all output files to the given number of bits-per-sample
   </option>
  </options>
  <options category="CD lookup">
    <option short="M" long="metadata-lookup">
      perform metadata lookup for converted tracks
    </option>
    <option long="musicbrainz-server" arg="hostname">
      the MusicBrainz server name to query for metadata
    </option>
    <option long="musicbrainz-port" arg="port">
      the MusicBrainz port to query for metadata
    </option>
    <option long="no-musicbrainz">
      don't query MusicBrainz for metadata
    </option>
    <option long="freedb-server" arg="hostname">
      the FreeDB server name to query for metadata
    </option>
    <option long="freedb-port" arg="port">
      the FreeDB port to query for metadata
    </option>
    <option long="no-freedb">
      don't query FreeDB for metadata
    </option>
    <option short="D" long="default">
      When multiple metadata choices are available,
      select the first one automatically.
      This option has no effect when used with -I
    </option>
  </options>
  <options category="metadata">
    <option long="replay-gain">
      add ReplayGain metadata to newly created tracks
    </option>
    <option long="no-replay-gain">
      do not add ReplayGain metadata to newly created tracks
    </option>
  </options>
  <examples>
    <example>
      <description>
        Convert all the WAVE files in the current working directory to MP3s
        at the default quality:
      </description>
      <command>track2track -t mp3 *.wav</command>
    </example>
    <example>
      <description>
        Convert all of the FLAC files in sourcedir to
        Ogg Vorbis files and place them in targetdir:
      </description>
      <command>track2track -t ogg -d targetdir sourcedir/*.flac</command>
    </example>
    <example>
      <description>
        Convert all of the WAVE files in sourcedir to
        FLAC files, 2 at a time and at the highest possible compression
        (quality 8):
      </description>
      <command>track2track -t flac -j 2 -q 8 sourcedir/*.wav</command>
    </example>
  </examples>
</manpage>