2002-03-24 14:32:39 +01:00
|
|
|
'\" t
|
|
|
|
.\" ** The above line should force tbl to be a preprocessor **
|
|
|
|
.\" Man page for vdr
|
|
|
|
.\"
|
2013-03-11 11:51:27 +01:00
|
|
|
.\" Copyright (C) 2013 Klaus Schmidinger
|
2002-03-24 14:32:39 +01:00
|
|
|
.\"
|
|
|
|
.\" You may distribute under the terms of the GNU General Public
|
|
|
|
.\" License as specified in the file COPYING that comes with the
|
|
|
|
.\" vdr distribution.
|
|
|
|
.\"
|
2015-04-19 12:50:26 +02:00
|
|
|
.\" $Id: vdr.1 4.2 2015/04/19 12:39:13 kls Exp $
|
2002-03-24 14:32:39 +01:00
|
|
|
.\"
|
2015-02-17 15:11:36 +01:00
|
|
|
.TH vdr 1 "19 Feb 2015" "2.2" "Video Disk Recorder"
|
2002-03-24 14:32:39 +01:00
|
|
|
.SH NAME
|
2008-03-09 16:07:46 +01:00
|
|
|
vdr \- the Video Disk Recorder
|
2002-03-24 14:32:39 +01:00
|
|
|
.SH SYNOPSIS
|
|
|
|
.B vdr
|
|
|
|
[options]
|
|
|
|
.SH DESCRIPTION
|
|
|
|
.B vdr
|
2004-12-19 09:36:25 +01:00
|
|
|
implements a complete digital Set-Top Box and Video Recorder.
|
2002-03-24 14:32:39 +01:00
|
|
|
It can work with signals received from satellites (DVB-S) as
|
|
|
|
well as cable (DVB-C) and terrestrial (DVB-T) signals.
|
|
|
|
|
2006-04-14 13:05:12 +02:00
|
|
|
At least one DVB card is required to run \fBvdr\fR. With it you can watch
|
2006-11-19 10:05:58 +01:00
|
|
|
live TV while recording one or more other broadcasts from the same transponder.
|
2006-04-14 13:05:12 +02:00
|
|
|
It is also possible to start watching a recorded programme before the live
|
|
|
|
broadcast has ended (\fBtime shifting\fR). In order to record from different
|
|
|
|
transponders simultaneously two or more DVB cards are necessary.
|
2013-03-12 13:43:04 +01:00
|
|
|
By default \fBvdr\fR can support up to eight DVB cards.
|
|
|
|
The primary DVB card (the one your TV set is connected to) can either
|
|
|
|
be a "full featured" card, which means it contains an MPEG decoder
|
|
|
|
and provides audio and video signal outputs, or you can use some third party
|
|
|
|
plugin that implements software decoding of the MPEG data and displays it via
|
|
|
|
the system's graphics adapter.
|
2002-03-24 14:32:39 +01:00
|
|
|
|
2013-03-12 13:43:04 +01:00
|
|
|
\fBvdr\fR uses an On Screen Display (OSD) to display its menus.
|
|
|
|
It can be controlled by the PC keyboard, the "Linux Infrared Remote Control" (LIRC),
|
|
|
|
or any other means of remote control, implemented by a third party plugin.
|
2002-03-24 14:32:39 +01:00
|
|
|
|
|
|
|
Remote access is possible via the "Simple Video Disk Recorder Protocol" (SVDRP),
|
2010-04-02 12:25:50 +02:00
|
|
|
which can be accessed on port 6419, for instance by \fBtelnet\fR.
|
2002-03-24 14:32:39 +01:00
|
|
|
.SH OPTIONS
|
|
|
|
.TP
|
2004-12-18 12:42:41 +01:00
|
|
|
.BI \-a\ cmd ,\ \-\-audio= cmd
|
2002-03-24 14:32:39 +01:00
|
|
|
Send Dolby Digital audio to stdin of command \fIcmd\fR.
|
|
|
|
.TP
|
2012-09-01 14:03:45 +02:00
|
|
|
.BI \-\-cachedir= dir
|
2013-02-08 10:40:00 +01:00
|
|
|
Save cache files in \fIdir\fR
|
2012-09-01 14:03:45 +02:00
|
|
|
(default is to save them in the video directory).
|
|
|
|
.TP
|
2015-02-10 14:29:27 +01:00
|
|
|
.BI \-\-chartab= character_table
|
|
|
|
Set the character table to use for strings in the DVB data stream that don't begin
|
|
|
|
with a character table indicator, but don't use the standard default character table
|
|
|
|
(for instance ISO-8859-9).
|
|
|
|
.TP
|
2004-12-18 12:42:41 +01:00
|
|
|
.BI \-c\ dir ,\ \-\-config= dir
|
2002-03-24 14:32:39 +01:00
|
|
|
Read config files from directory \fIdir\fR
|
|
|
|
(default is to read them from the video directory).
|
|
|
|
.TP
|
2004-12-18 12:42:41 +01:00
|
|
|
.B \-d, \-\-daemon
|
2005-07-31 11:38:40 +02:00
|
|
|
Run in daemon mode (implies \-\-no\-kbd).
|
2002-03-24 14:32:39 +01:00
|
|
|
.TP
|
2004-12-18 12:42:41 +01:00
|
|
|
.BI \-D\ num ,\ \-\-device= num
|
2002-03-24 14:32:39 +01:00
|
|
|
Use only the given DVB device (\fInum\fR = 0, 1, 2...).
|
2004-12-18 12:42:41 +01:00
|
|
|
There may be several \fB\-D\fR options (by default all DVB devices will be used).
|
2015-04-18 14:30:47 +02:00
|
|
|
If \fB\-D\-\fR is given, no DVB devices will be used at all, independent of any
|
|
|
|
other \-D options.
|
2002-03-24 14:32:39 +01:00
|
|
|
.TP
|
2013-03-12 09:44:46 +01:00
|
|
|
.BI \-\-dirnames= path [, name [, enc ]]
|
2013-02-08 09:24:55 +01:00
|
|
|
Set the maximum directory path length to \fIpath\fR (default is the maximum value
|
|
|
|
allowed on the system). If \fIname\fR is also given, it defines the maximum directory
|
|
|
|
name length (default is the maximum value allowed on the system). The optional
|
|
|
|
\fIenc\fR can be 0 or 1, and controls whether special characters in directory names
|
|
|
|
are encoded as hex values (default: 0).
|
2013-03-12 09:44:46 +01:00
|
|
|
If \fIpath\fR or \fIname\fR are left empty (as in ",,1" to only set \fIenc\fR), the defaults apply.
|
2013-02-08 09:24:55 +01:00
|
|
|
The length of the video directory name and that of the actual recording directory is
|
|
|
|
subtracted from \fIpath\fR, to make sure the directory path will never become too long.
|
|
|
|
.TP
|
2010-01-02 14:02:48 +01:00
|
|
|
.BI \-\-edit= rec
|
|
|
|
Edit the given recording.
|
|
|
|
\fIrec\fR must be the full path name of an existing recording.
|
|
|
|
The program will return immediately after editing the recording.
|
|
|
|
.TP
|
2004-12-18 12:42:41 +01:00
|
|
|
.BI \-E\ file ,\ \-\-epgfile= file
|
2002-03-24 14:32:39 +01:00
|
|
|
Write the EPG data into the given \fIfile\fR
|
2013-03-15 10:47:35 +01:00
|
|
|
(default is \fIepg.data\fR in the cache directory).
|
2004-12-18 12:42:41 +01:00
|
|
|
Use \fB\-E\-\fR to disable this.
|
2002-03-24 14:32:39 +01:00
|
|
|
If \fIfile\fR is a directory, the file \fIepg.data\fR
|
|
|
|
will be created in that directory.
|
|
|
|
.TP
|
2011-08-15 12:45:40 +02:00
|
|
|
.BI \-\-filesize= size
|
|
|
|
Limit video files to \fIsize\fR bytes (default is 2000M).
|
|
|
|
This option is only useful in conjunction with --edit, and must precede that
|
|
|
|
option to have an effect.
|
|
|
|
\fIsize\fR is an integer number and may be followed by one of the letters K, M, G or T
|
|
|
|
to abbreviate Kilo-, Mega-, Giga- or Terabyte, respectively.
|
|
|
|
The given value is silently limited to the program's internal minimum and
|
|
|
|
maximum values.
|
|
|
|
.TP
|
2010-01-02 14:02:48 +01:00
|
|
|
.BI \-\-genindex= rec
|
|
|
|
Generate the index file for the given recording.
|
|
|
|
\fIrec\fR must be the full path name of an existing recording.
|
|
|
|
The recording must be in TS format.
|
|
|
|
If the recording already has an index file, it will be deleted
|
|
|
|
before creating the new one.
|
|
|
|
The program will return immediately after generating the index.
|
|
|
|
Note that using this option while another instance of VDR is
|
|
|
|
currently replaying the given recording, or if the recording
|
|
|
|
has not been finished yet, may lead to unexpected results.
|
|
|
|
.TP
|
2005-12-30 15:11:16 +01:00
|
|
|
.BI \-g,\ \-\-grab= dir
|
|
|
|
Write images from the SVDRP command GRAB into the
|
|
|
|
given directory \fIdir\fR. \fIdir\fR must be the full path name of an
|
|
|
|
existing directory, without any "..", double '/'
|
|
|
|
or symlinks. By default, or if \fB\-g\-\fR is given,
|
|
|
|
grabbing images to disk is disabled.
|
|
|
|
.TP
|
2004-12-18 12:42:41 +01:00
|
|
|
.B \-h, \-\-help
|
2002-03-24 14:32:39 +01:00
|
|
|
Print a help message and exit.
|
|
|
|
.TP
|
2009-01-18 11:10:29 +01:00
|
|
|
.BI \-i\ instance ,\ \-\-instance= instance
|
|
|
|
Use \fIinstance\fR as the id of this VDR instance (default is 0).
|
|
|
|
In an environment where several instances of VDR use the same video
|
|
|
|
directory, this parameter can be set to a positive integer value
|
|
|
|
that's unique for each instance, so that they won't interfere with
|
|
|
|
each other in case they record exactly the same broadcast.
|
|
|
|
The number given here will be part of the directory name in which
|
|
|
|
the recordings will be stored.
|
|
|
|
.TP
|
2004-12-18 12:42:41 +01:00
|
|
|
.BI \-l\ level ,\ \-\-log= level
|
2002-03-24 14:32:39 +01:00
|
|
|
Set logging to \fIlevel\fR.
|
|
|
|
\fB0\fR\ =\ no logging, \fB1\fR\ =\ errors only,
|
|
|
|
\fB2\fR\ =\ errors and info, \fB3\fR\ =\ errors, info and debug.
|
|
|
|
The default logging level is \fB3\fR.
|
2006-11-19 10:05:58 +01:00
|
|
|
If logging should be done to LOG_LOCAL\fIn\fR instead of
|
2002-11-24 15:56:24 +01:00
|
|
|
LOG_USER, add '.n' to LEVEL, as in 3.7 (n=0..7).
|
2002-03-24 14:32:39 +01:00
|
|
|
.TP
|
2004-12-18 12:42:41 +01:00
|
|
|
.BI \-L\ dir ,\ \-\-lib= dir
|
2002-05-09 16:26:56 +02:00
|
|
|
Search for plugins in directory \fIdir\fR (default is ./PLUGINS/lib).
|
2004-12-18 12:42:41 +01:00
|
|
|
There can be several \fB\-L\fR options with different \fIdir\fR values.
|
|
|
|
Each of them will apply to the \fB\-P\fR options following it.
|
2002-05-09 16:26:56 +02:00
|
|
|
.TP
|
2005-07-31 11:38:40 +02:00
|
|
|
.BI \-\-lirc[= path ]
|
|
|
|
Use a LIRC remote control device.
|
2011-12-04 14:43:13 +01:00
|
|
|
If \fIpath\fR is omitted, vdr uses \fI/var/run/lirc/lircd\fR.
|
2005-07-31 11:38:40 +02:00
|
|
|
.TP
|
2008-02-08 15:58:59 +01:00
|
|
|
.BI \-\-localedir= dir
|
|
|
|
Search for locale files in \fIdir\fR (default is ./locale).
|
|
|
|
.TP
|
2004-12-18 12:42:41 +01:00
|
|
|
.B \-m, \-\-mute
|
2002-03-24 14:32:39 +01:00
|
|
|
Mute audio of the primary DVB device at startup.
|
|
|
|
.TP
|
2005-07-31 11:38:40 +02:00
|
|
|
.B \-\-no\-kbd
|
|
|
|
Don't use the keyboard as an input device.
|
|
|
|
.TP
|
2004-12-18 12:42:41 +01:00
|
|
|
.BI \-p\ port ,\ \-\-port= port
|
2002-03-24 14:32:39 +01:00
|
|
|
Use \fIport\fR for SVDRP. A value of \fB0\fR turns off SVDRP.
|
2010-04-02 12:25:50 +02:00
|
|
|
The default SVDRP port is \fB6419\fR.
|
2002-03-24 14:32:39 +01:00
|
|
|
You need to edit the file \fIsvdrphosts.conf\fR in order to enable
|
|
|
|
access to the SVDRP port.
|
|
|
|
.TP
|
2004-12-18 12:42:41 +01:00
|
|
|
.BI \-P\ options ,\ \-\-plugin= options
|
2002-05-09 16:26:56 +02:00
|
|
|
Load a plugin, defined by the given \fIoptions\fR.
|
|
|
|
The first word in \fIoptions\fR must be the name of an existing \fBvdr\fR
|
|
|
|
plugin, optionally followed by a blank separated list of command line options
|
|
|
|
for that plugin. If \fIoptions\fR contains any blanks, you need to enclose it
|
|
|
|
in quotes, like for example
|
|
|
|
|
2004-12-18 12:42:41 +01:00
|
|
|
\fBvdr \-P "abc \-a \-b xyz"\fR
|
2002-05-09 16:26:56 +02:00
|
|
|
|
|
|
|
which would load a plugin named \fBabc\fR, giving it the command line options
|
2004-12-18 12:42:41 +01:00
|
|
|
\fB\-a\ \-b\ xyz\fR. If you want to load all available plugins (without any
|
2003-05-03 16:16:05 +02:00
|
|
|
particular options) you can use
|
|
|
|
|
2004-12-18 12:42:41 +01:00
|
|
|
\fBvdr \-P "*"\fR
|
2003-05-03 16:16:05 +02:00
|
|
|
|
|
|
|
(note the quotes around the asterisk to prevent wildcard expansion).
|
2002-05-09 16:26:56 +02:00
|
|
|
.TP
|
2004-12-18 12:42:41 +01:00
|
|
|
.BI \-r\ cmd ,\ \-\-record= cmd
|
2006-11-19 10:05:58 +01:00
|
|
|
Call \fIcmd\fR before and after a recording. See the file \fIINSTALL\fR for
|
|
|
|
more information.
|
2002-03-24 14:32:39 +01:00
|
|
|
.TP
|
2012-09-01 14:03:45 +02:00
|
|
|
.BI \-\-resdir= dir
|
2013-02-08 10:40:00 +01:00
|
|
|
Read resource files from \fIdir\fR
|
2012-09-01 14:03:45 +02:00
|
|
|
(default is to read them from the config directory).
|
|
|
|
.TP
|
2014-04-14 13:15:34 +02:00
|
|
|
.BI \-\-showargs[= dir ]
|
|
|
|
Read command line arguments from \fIdir\fR (default is \fI/etc/vdr/conf.d\fR),
|
|
|
|
display them to the console and exit.
|
|
|
|
.TP
|
2004-12-18 12:42:41 +01:00
|
|
|
.BI \-s\ cmd ,\ \-\-shutdown= cmd
|
2006-11-19 10:05:58 +01:00
|
|
|
Call \fIcmd\fR to shutdown the computer. See the file \fIINSTALL\fR for more
|
|
|
|
information.
|
2002-03-24 14:32:39 +01:00
|
|
|
.TP
|
2011-08-15 12:45:40 +02:00
|
|
|
.BI \-\-split
|
|
|
|
Split edited files at the editing marks.
|
|
|
|
This option is only useful in conjunction with --edit, and must precede that
|
|
|
|
option to have an effect.
|
|
|
|
.TP
|
2004-12-18 12:42:41 +01:00
|
|
|
.BI \-t\ tty ,\ \-\-terminal= tty
|
2002-03-24 14:32:39 +01:00
|
|
|
Set the controlling terminal.
|
|
|
|
.TP
|
2005-12-31 13:30:11 +01:00
|
|
|
.BI \-u\ user ,\ \-\-user= user
|
|
|
|
Run as user \fIuser\fR in case vdr was started as user 'root'.
|
|
|
|
Starting vdr as 'root' is necessary if the system time shall
|
|
|
|
be set from the transponder data, but for security reasons
|
2006-01-13 16:16:32 +01:00
|
|
|
vdr can switch to a lesser privileged user id during normal
|
2015-04-19 12:50:26 +02:00
|
|
|
operation. \fIuser\fR can be a user name or a numerical id.
|
2005-12-31 13:30:11 +01:00
|
|
|
.TP
|
2015-01-17 15:03:01 +01:00
|
|
|
.BI \-\-updindex= rec
|
|
|
|
Update the index file for the given recording.
|
|
|
|
\fIrec\fR must be the full path name of an existing recording.
|
|
|
|
The recording must be in TS format.
|
|
|
|
If the recording already has an index file, it will be checked
|
|
|
|
whether it is complete, and will be updated if it isn't. If
|
|
|
|
there is no index file yet, a new one will be generated.
|
|
|
|
The program will return immediately after updating the index.
|
|
|
|
Note that using this option while another instance of VDR is
|
|
|
|
currently replaying the given recording, or if the recording
|
|
|
|
has not been finished yet, may lead to unexpected results.
|
|
|
|
.TP
|
2008-02-08 15:55:30 +01:00
|
|
|
.BI \-\-userdump
|
2013-02-08 10:40:00 +01:00
|
|
|
Allow coredumps if -u is given (only for debugging).
|
2008-02-08 15:55:30 +01:00
|
|
|
.TP
|
2006-06-24 10:08:35 +02:00
|
|
|
.BI \-\-vfat
|
2013-12-25 11:04:25 +01:00
|
|
|
For backwards compatibility (same as \-\-dirnames= 250,40,1).
|
2006-06-24 10:08:35 +02:00
|
|
|
.TP
|
2004-12-18 12:42:41 +01:00
|
|
|
.BI \-v\ dir ,\ \-\-video= dir
|
2002-03-24 14:32:39 +01:00
|
|
|
Use \fIdir\fR as video directory.
|
|
|
|
The default is \fI/video\fR.
|
|
|
|
.TP
|
2004-12-18 12:42:41 +01:00
|
|
|
.B \-V, \-\-version
|
2002-03-29 10:10:04 +01:00
|
|
|
Print version information and exit.
|
|
|
|
.TP
|
2004-12-18 12:42:41 +01:00
|
|
|
.BI \-w\ sec ,\ \-\-watchdog= sec
|
2002-03-24 14:32:39 +01:00
|
|
|
Activate the watchdog timer with a timeout of \fIsec\fR seconds.
|
|
|
|
A value of \fB0\fR (default) disables the watchdog.
|
2014-04-14 13:15:34 +02:00
|
|
|
.P
|
|
|
|
If started without any options, vdr tries to read command line options
|
|
|
|
from files named '*.conf' in the directory /etc/vdr/conf.d. Files are
|
|
|
|
read in alphabetical order. See vdr(5) for details.
|
2007-02-25 10:56:29 +01:00
|
|
|
.SH SIGNALS
|
|
|
|
.TP
|
|
|
|
.B SIGINT, SIGTERM
|
|
|
|
Program exits with status 0.
|
|
|
|
.TP
|
|
|
|
.B SIGHUP
|
|
|
|
Program exits with status 1. This can be used to force a reload, for example
|
|
|
|
if an update has been installed.
|
2002-03-24 14:32:39 +01:00
|
|
|
.SH EXIT STATUS
|
|
|
|
.TP
|
|
|
|
.B 0
|
|
|
|
Successful program execution.
|
|
|
|
.TP
|
|
|
|
.B 1
|
|
|
|
An error has been detected which requires the DVB driver and \fBvdr\fR
|
2004-12-18 12:42:41 +01:00
|
|
|
to be reloaded.
|
2002-05-09 16:26:56 +02:00
|
|
|
.TP
|
|
|
|
.B 2
|
|
|
|
An non-recoverable error has been detected, \fBvdr\fR has given up.
|
2002-03-24 14:32:39 +01:00
|
|
|
.SH FILES
|
|
|
|
.TP
|
|
|
|
.I channels.conf
|
|
|
|
Channel configuration.
|
|
|
|
.TP
|
|
|
|
.I timers.conf
|
|
|
|
Timer configuration.
|
|
|
|
.TP
|
|
|
|
.I setup.conf
|
|
|
|
User definable setup.
|
|
|
|
.TP
|
|
|
|
.I commands.conf
|
|
|
|
User definable commands (executed from the \fBCommands\fR menu).
|
|
|
|
.TP
|
|
|
|
.I svdrphosts.conf
|
|
|
|
SVDRP host configuration, defining which hosts or networks are given
|
|
|
|
access to the SVDRP port.
|
|
|
|
.TP
|
2009-08-16 10:31:05 +02:00
|
|
|
.I marks
|
2002-03-24 14:32:39 +01:00
|
|
|
Contains the editing marks defined for a recording.
|
|
|
|
.TP
|
2009-08-16 10:31:05 +02:00
|
|
|
.I info
|
2002-03-24 14:32:39 +01:00
|
|
|
Contains a description of the recording.
|
|
|
|
.TP
|
2009-08-16 10:31:05 +02:00
|
|
|
.I resume
|
2002-03-24 14:32:39 +01:00
|
|
|
Contains the index into the recording where the last replay session left off.
|
|
|
|
.TP
|
2009-08-16 10:31:05 +02:00
|
|
|
.I index
|
2002-03-24 14:32:39 +01:00
|
|
|
Contains the file number, offset and type of each frame of the recording.
|
|
|
|
.TP
|
2004-04-02 08:47:34 +02:00
|
|
|
.I remote.conf
|
2002-03-24 14:32:39 +01:00
|
|
|
Contains the key assignments for the remote control.
|
|
|
|
.TP
|
2004-05-16 12:10:52 +02:00
|
|
|
.I keymacros.conf
|
|
|
|
Contains user defined remote control key macros.
|
|
|
|
.TP
|
2009-08-16 10:31:05 +02:00
|
|
|
.IR 00001.ts\ ...\ 65535.ts
|
2002-03-24 14:32:39 +01:00
|
|
|
The actual data files of a recording.
|
|
|
|
.TP
|
|
|
|
.I epg.data
|
|
|
|
Contains all current EPG data. Can be used for external processing and will
|
|
|
|
also be read at program startup to have the full EPG data available immediately.
|
2004-06-13 20:26:51 +02:00
|
|
|
.TP
|
|
|
|
.I .update
|
|
|
|
If this file is present in the video directory, its last modification time will
|
|
|
|
be used to trigger an update of the list of recordings in the "Recordings" menu.
|
2002-03-24 14:32:39 +01:00
|
|
|
.SH SEE ALSO
|
2015-01-20 15:35:44 +01:00
|
|
|
.BR vdr (5), svdrpsend (1)
|
2002-03-24 14:32:39 +01:00
|
|
|
.SH AUTHOR
|
|
|
|
Written by Klaus Schmidinger, with contributions from many others.
|
2002-03-29 10:10:04 +01:00
|
|
|
See the file \fICONTRIBUTORS\fR in the \fBvdr\fR source distribution.
|
2002-03-24 14:32:39 +01:00
|
|
|
.SH REPORTING BUGS
|
2009-10-18 14:18:22 +02:00
|
|
|
Report bugs to <vdr\-bugs@tvdr.de>.
|
2002-03-24 14:32:39 +01:00
|
|
|
.SH COPYRIGHT
|
2013-03-11 11:51:27 +01:00
|
|
|
Copyright \(co 2013 Klaus Schmidinger.
|
2002-03-24 14:32:39 +01:00
|
|
|
|
|
|
|
This is free software; see the source for copying conditions. There is NO
|
|
|
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|