summaryrefslogtreecommitdiff
path: root/doc/man/en/xine.5
blob: 0c4cedc129a22b5c9892b1a68e85e8b372b1569f (plain)
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
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
.\" -*-Nroff-*-
.\""
.de Vb \" Begin verbatim text
.ft CW
.nf
.ne \\$1
..
.de Ve \" End verbatim text
.ft R

.fi
..
.TH XINE 5 2005-06-15 "The xine project"
.\" NAME should be all caps, SECTION should be 1-8, maybe w/ subsection
.\" other parms are allowed: see man(7), man(1)
.\""
.SH NAME
xine \- a free video player
.SH MRL (media resource locator)
MRLs are similar to URLs in your web browser. They describe the media
to read from. Valid MRLs may be plain file names or one of the following:
.TP
\(bu Filesystem:
.br
.BI file: <path>
.br
.BI fifo: <path>
.br
.BI stdin:/
.LP
.TP
\(bu CD and DVD:
.br
.BI dvd:/[<DVD_image>|<DVD_directory>|<device_name>][/<title>.<part>]
.br
.BI vcd://[<CD_image>|<device_name>][@[letter]<number>]
.br
.BI vcdo://...
.br
.BI cdda:/[<device>][/<track-number>]
.LP
.TP
\(bu Video devices:
.br
.BI v4l://[<tuner_device>/<frequency>]
.br
.BI dvb://<number_or_channel_name>
.br
.BI dvbc://<channel_name>:<tuning_parameters>
.br
.BI dvbs://<channel_name>:<tuning_parameters>
.br
.BI dvbt://<channel_name>:<tuning_parameters>
.br
.BR pvr:/<tmp_files_path>!<saved_files_path>!<max_page_age> " (for WinTV PVR 250 and 350)"
.LP
.TP
\(bu Network:
.br
.BI http://<host>...
.br
.BR tcp://<host>[:<port>] " (default port is 7658)"
.br
.BR udp://<host>[:<port>[?iface=<interface>]] " (default port is 7658)"
.br
.BR rtp://<host>[:<port>[?iface=<interface>]] " (default port is 7658)"
.br
.BI smb://...
.br
.BI mms://<host>...
.br
.BI pnm://<host>...
.br
.BR rtsp://<host>... " (requires Real codecs)"
.br
.LP
\fBNOTE:\fP where a file name is required, the \fIfull path must be
provided\fP - from a shell, you can use \fB$PWD/file\fP if the file
is in the current directory.

Several MRLs may be specified in order to play a number of consecutive
streams. Additional input plugins will provide additional MRL types. The ones
listed above are available with stock libxine...

As of xine-lib 1.1.3, the DVD title number may be 0 (select navigation) and
the chapter number may be 0 (full title).

.SS VCD MRL Syntax
A simple \fBvcd:/\fP runs the default item (e.g. perhaps track 1 or entry 0)
using the default VCD device (perhaps /dev/cdrom). Both the default item and
default device are user-configurable.

It is however also possible to specify both Video CD device/filename and item
explicitly in the MRL.

For example \fBvcd:/dev/dvd\fP specifies the default entry using device
/dev/dvd which might useful if this is your DVD which is different than your
CD-ROM device and your DVD drive can play CD's. And
\fBvcd://test_svcd_ntsc.cue\fP specifies the cue file for CD image on disk.
(test_svcd_ntsc.bin is the corresponding bin file, but using that won't
work.)

After the optional device name or file name, you can name the kind of unit,
preceded by a colon. An MRL which ends in a colon is like not adding it at
all: the default entry type and number is used. Items come in 4 flavours:
\fB"Track"\fP, \fB"Entry"\fP, \fB"Playback"\fP and \fB"Segment"\fP. These
units are indicated with the capital first letter of each type: \fBT\fP,
\fBE\fP, \fBP\fP, \fBS\fP, \fBs\fP. An uppercase \fBS\fP in the MRL display
indicates a NTS segment while a lowercase \fBS\fP indicates a PAL segment.
However when you enter an MRL, the case of these letters is insignificant.

Depending on the Video CD, you might not have any playable segments
(\fBS\fP,\fBs\fP) or playback control (\fBP\fP).  If you give a MRL that
refers to a playback control entry but there is no playback control, your
playback number will silently be converted into the corresponding entry
number.

You can configure various things that affect MRLs are selected when there is
some ambiguity in the MRL name. \fImedia.vcd.autoplay\fP sets what kind of
unit to to use in a MRL is none is given.  Another configuration setting,
\fIvcd.device\fP, determines what device to use if that part is not given.
When you hit the VCD button, that is equivalent to entering \fBvcd:/\fP and
thus these two configuration settings are used to expand the MRL.

Some examples of MRLs are given below. In the examples, we assume the
following configuration settings:

.TP
.BI vcd://
Play (navigate) default item (in this case Entry ID 0) from the default
device (in this case set to /dev/cdrom)
.TP
.BI vcd://@
Same as above
.TP
.BI vcd:///dev/cdrom@
Same effect as above since the default device is set to /dev/cdrom.
.TP
.BI vcd:///dev/cdrom@E0
Same as above. But note that this is because we have autoplay:entry which is
no longer the default value.
.TP
.BI vcd:///dev/cdrom2@
Play (navigate) the default item of /dev/cdrom2
.TP
.BI vcd:///dev/cdrom2
should be same as above but is currently broken?
.TP
.BI vcd:///dev/cdrom2@T1
Play Track 1 from /dev/cdrom2
.TP
.BI vcd:///dev/cdrom@S1
Play segment 1 from /dev/cdrom. This assumes that there *is* a segment 1.
Check the MRL list to see if that is the case.
.TP
.BI vcd://@P1
Play playlist item 1 from default device. If there is no playback control,
the MRL will be converted into vcd:/@E0.
Again check the MRL list to see if there is a P1.
.TP
.BI vcd://@P1*
Probably same as above.
.TP
.BI vcd:///dev/cdrom@E1
Play Entry id 1 from default device.
.TP
.BI vcd://@S0
Play segment 0 from default device.
.TP
.BI vcd://@3
Play track 3 from default device.
.TP
.BI vcd:///dev/cdrom2:1
Play track 1 from /dev/cdrom2.
.TP
.BI vcd:///tmp/ntsc.cue@
Play default item (E0) of /tmp/ntsc.bin. Note trailing \fB@\fP.
.TP
.BI vcd://ntsc.cue/@E0
Play entry 0 of ntsc.bin.
.TP
.BI vcd:///tmp/ntsc.nrg/@E0
Play entry 0 of /tmp/ntsc.nrg (Nero file). Works for some simple Nero images.
.br
.SS DVB
.PP
DVB MRLs require that ~/.xine/channels.conf exists and contains valid data.
This can be obtained by generating a tuning file using the LinuxTV DVB apps
utility "scan" (or "dvbscan" if you're using a version newer than 1.1.0):
.PP
.B scan -o zap /usr/share/doc/dvb-utils/examples/scan/dvb-t/uk-PontopPike
.PP
(This example is for the writer's local transmitter, using a file from the
Debian dvb-utils package.)
.PP
For the dvbc, dvbs and dvbt MRLs, tuning parameters are expected, taking one
of the following forms:
.TP
.B DVB-S
<frequency>:<polarisation>:<sat_no>:<sym_rate>:<vpid>:<apid>
.TP
.B DVB-C
<frequency>:<inversion>:<sym_rate>:<fec>:<qam>:<vpid>:<apid>
.TP
.B DVB-T
<frequency>:<inversion>:<bw>:<fec_hp>:<fec_lp>:<qam>:<transmission_mode>:<guardlist>:<hierarchy_info>:<vpid>:<apid>
.PP
The individual parameters are:
.TP 20
.B frequency
number, usually in kHz
.TP 20
.B polarisation
`v' or `h'
.TP 20
.B sat_no
unsigned long, usually 0
.TP 20
.B sym_rate
symbol rate in MSyms/sec
.TP 20
.B inversion
INVERSION_ON, INVERSION_OFF, INVERSION_AUTO
.TP 20
.B fec, fec_hp, fec_lp
FEC_1_2, FEC_2_3, FEC_3_4 ... FEC_8_9, FEC_AUTO, FEC_NONE
.TP 20
.B qam
QPSK, QAM_128, QAM_16 ...
.TP 20
.B bw
BANDWIDTH_6_MHZ, BANDWIDTH_7_MHZ, BANDWIDTH_8_MHZ
.TP 20
.B transmission_mode
TRANSMISSION_MODE_2K, TRANSMISSION_MODE_8K
.TP 20
.B guardlist
GUARD_INTERVAL_1_4, GUARD_INTERVAL_1_8, GUARD_INTERVAL_1_16, GUARD_INTERVAL_1_32,
.TP 20
.B hierarchy_info
HIERARCHY_1, HIERARCHY_2, HIERARCHY_4, HIERARCHY_NONE
.TP 20
.B vpid
video program ID
.TP 20
.B apid
audio program ID
.SH SUBTITLE
.B external subtitle files (any mrl)
.br
Text subtitle files may be appended to the MRL:.
.TP
.BI <mrl>#subtitle:<subtitlefile>
This is the normal way to define the subtitle file to use. The frontend will
not take any notice of the subtitle file.
.br
.SH STREAM OPTIONS
.br
After a delimiting \fB#\fP you can add several stream parameters:
.TP
.B novideo
Video will be ignored.
.TP
.B noaudio
Audio will be ignored.
.TP
.B nospu
Subpictures will be ignored.
.TP
.BI demux: <demux\ name>
Specify the demux plugin to use.
.TP
.BI volume: <level>
Set audio volume.
.TP
.BI compression: <level>
Set audio dynamic range compression.
.TP
.BI <config\ entry> : <config\ value>
Assign a new value to any config entry.
.TP
.B change configuration option 'on the fly':
.br
You can change a configuration option at any time, using the special
.B cfg:/
MRL style. The syntax is:
.br
	cfg:/<config\ entry> : <config\ value>
.br
Unlike stream config option, you can change anything \fIbefore\fP playing the
stream.

.SH "SEE ALSO"
\fBxine\fP(1), \fBaaxine\fP(1), \fBgxine\fP(1), \fBtoxine\fP(1),
\fBtotem\fP(1), \fBkaffeine\fP(1) ...

.br
The programs are documented fully on the xine home page:
.UR http://xinehq.de/
.IR "http://xinehq.de/"
.UE
.SH AUTHOR
This text was extracted from the xine man page by Darren Salt
<dsalt@users.sourceforge.net>.
The xine man page was written by Siggi Langauf <siggi@debian.org> for the
xine project.
Lots of additions by
Guenter Bartsch <guenter@users.sourceforge.net>,
Daniel Caujolle-Bert <f1rmb@users.sourceforge.net>,
Rocky Bernstein <rocky@panix.com>, and
Philipp Hahn <pmhahn@users.sourceforge.net>.