mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
VDR developer version 2.1.7 is now available at ftp://ftp.tvdr.de/vdr/Developer/vdr-2.1.7.tar.bz2 A 'diff' against the previous version is available at ftp://ftp.tvdr.de/vdr/Developer/vdr-2.1.6-2.1.7.diff MD5 checksums: 1c954bad31ce74cd1cbd7987e62d2a98 vdr-2.1.7.tar.bz2 88a90327a75833b7723942d3bd25f954 vdr-2.1.6-2.1.7.diff WARNING: ======== This is a *developer* version. Even though *I* use it in my productive environment, I strongly recommend that you only use it under controlled conditions and for testing and debugging. From the HISTORY file: - No longer logging an error message in DirSizeMB() if the given directory doesn't exist. This avoids lots of log entries in case several VDRs use the same video directory and one of them has already physically removed a recording directory, while the others still have it in their list of deleted recordings. - Updated the Italian OSD texts (thanks to Diego Pierotto). - A cCamSlot that has WantsTsData set to true in its constructor now also gets the CAT and EMM PIDs data. - Fixed a possible division by zero in frame rate detection. - VDR now reads command line options from *.conf files in /etc/vdr/conf.d (thanks to Lars Hanisch). See vdr.1 and vdr.5 for details. - Fixed a possible crash in the LCARS skin (thanks to Thomas Reufer). - Updated the dvbhddevice plugin source. - Fixed a bug in the Makefile when installing plugins with LCLBLD=1 (thanks to Stefan Huelswitt). - The pid of the PMT in which the CA descriptors of a given channel are broadcast is now stored together with the CA descriptors and can be retrieved by calling GetPmtPid() (this information is only required to receive encrypted channels with the OctopusNet receiver via the 'satip' plugin). - Channels that are not listed in the SDT are now only marked as OBSOLETE if "Setup/DVB/Update channels" is set to a value other than "no" or "PIDs only". - Fixed multiple OBSOLETE marks in channels that are not listed in the SDT in case "Setup/Miscellaneous/Show channel names with source" is set to "yes". - The new function cOsd::DrawScaledBitmap() is now used for drawing subtitles. This function can be reimplemented by high level OSDs which may be able to do the scaling in hardware or otherwise more efficiently (thanks to Thomas Reufer). - Fixed detaching receivers from devices in case a CAM needs to receive the TS (reported by Dietmar Spingler). - Fixed resetting the receiver for EMM pids for CAMs that need to receive the TS (reported by Dietmar Spingler). - Fixed (well, actually worked around) a problem with subtitles not being displayed because the broadcaster doesn't set the data's version numbers as required by the DVB standard (thanks to Rolf Ahrenberg). - Fixed support for systemd (thanks to Christopher Reimer). - Added a missing backslash to the help text of the SVDRP command MOVR (thanks to Lars Hanisch). - Added subsystem id support for DVB devices connected via USB (thanks to Jose Alberto Reguero). - Added the functions IndexOf(), InsertUnique(), AppendUnique() and RemoveElement() to the cVector class (thanks to Stefan Schallenberg). - Fixed a possible out-of-bounds access in cVector::Remove(). - Added functions to set and retrieve the priority of a cReceiver (suggested by Frank Schmirler). - Added the new parameters "Setup/Miscellaneous/Volume steps" and ".../Volume linearize" (thanks to Claus Muus). See the MANUAL for details. - Fixed jumping to an absolute position via the Red key in case replay was paused (reported by Dieter Ferdinand). - Changed the German weekday names from "MonDieMitDonFreSamSon" to "Mo.Di.Mi.Do.Fr.Sa.So." (thanks to Stefan Blochberger). - Now handling CAT sections that consist of more than one TS packet. - Added handling for DTS audio tracks to cPatPmtParser::ParsePmt() (thanks to Thomas Reufer). - Added support for PGS subtitles (thanks to Thomas Reufer). - Use of the function cOsd::GetBitmap() outside of derived classes is now deprecated, and it may be made 'protected' in a future version, since it doesn't work with TrueColor OSDs. Plugin authors may want to modify their code so that it works without this function. - Modified the descriptions of several threads, so that the important information (like device or frontend numbers) is within the first 15 characters of the string, because only these are displayed in thread listings. Plugin authors may want to do the same. - Added the channel name to log messages that reference a channel (suggested by Dietmar Spingler). - Modified the CAM API so that it is possible to implement CAMs that can be freely assigned to any devices (thanks to Jasmin Jessich). - Plugins can now implement the function SetMenuSortMode() in their skin objects derived from cSkinDisplayMenu, to get informed about the currently used sort mode, if applicable (suggested by Martin Schirrmacher). - Added cOsdProvider::OsdSizeChanged(), which plugins that implement an output device can call to signal a change in the OSD that requires a redraw of the currently displayed object (thanks to Thomas Reufer). - Added a comment to cRecorder::Activate() about the need to call Detach() in the destructor (suggested by Eike Sauer). - Now returning from removing deleted recordings after at most 10 seconds, or if the user presses a remote control key, to keep the system from getting unresponsive when removing a huge number of files (reported by Dieter Ferdinand). - Fixed generating the index file of an existing recording in case at the of a TS file there is less data in the buffer than needed by the frame detector. In such a case it was possible that frames were missed, and there was most likely a distortion when replaying that part of a recording. This is mostly a problem for recordings that consist of more than one *.ts file. Single file recordings could only lose some frames at their very end, which probably doesn't matter. At any rate, if you have generated an index file with VDR version 2.0.6, 2.1.5 or 2.1.6, you may want to do so again with this version to make sure the index is OK. - Added the new command line option --updindex, which can be used to update an incomplete index of a recording (based on a patch from Helmut Auer).
313 lines
11 KiB
Groff
313 lines
11 KiB
Groff
'\" t
|
|
.\" ** The above line should force tbl to be a preprocessor **
|
|
.\" Man page for vdr
|
|
.\"
|
|
.\" Copyright (C) 2013 Klaus Schmidinger
|
|
.\"
|
|
.\" You may distribute under the terms of the GNU General Public
|
|
.\" License as specified in the file COPYING that comes with the
|
|
.\" vdr distribution.
|
|
.\"
|
|
.\" $Id: vdr.1 3.3 2015/01/17 14:46:22 kls Exp $
|
|
.\"
|
|
.TH vdr 1 "31 Mar 2013" "2.0" "Video Disk Recorder"
|
|
.SH NAME
|
|
vdr \- the Video Disk Recorder
|
|
.SH SYNOPSIS
|
|
.B vdr
|
|
[options]
|
|
.SH DESCRIPTION
|
|
.B vdr
|
|
implements a complete digital Set-Top Box and Video Recorder.
|
|
It can work with signals received from satellites (DVB-S) as
|
|
well as cable (DVB-C) and terrestrial (DVB-T) signals.
|
|
|
|
At least one DVB card is required to run \fBvdr\fR. With it you can watch
|
|
live TV while recording one or more other broadcasts from the same transponder.
|
|
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.
|
|
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.
|
|
|
|
\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.
|
|
|
|
Remote access is possible via the "Simple Video Disk Recorder Protocol" (SVDRP),
|
|
which can be accessed on port 6419, for instance by \fBtelnet\fR.
|
|
.SH OPTIONS
|
|
.TP
|
|
.BI \-a\ cmd ,\ \-\-audio= cmd
|
|
Send Dolby Digital audio to stdin of command \fIcmd\fR.
|
|
.TP
|
|
.BI \-\-cachedir= dir
|
|
Save cache files in \fIdir\fR
|
|
(default is to save them in the video directory).
|
|
.TP
|
|
.BI \-c\ dir ,\ \-\-config= dir
|
|
Read config files from directory \fIdir\fR
|
|
(default is to read them from the video directory).
|
|
.TP
|
|
.B \-d, \-\-daemon
|
|
Run in daemon mode (implies \-\-no\-kbd).
|
|
.TP
|
|
.BI \-D\ num ,\ \-\-device= num
|
|
Use only the given DVB device (\fInum\fR = 0, 1, 2...).
|
|
There may be several \fB\-D\fR options (by default all DVB devices will be used).
|
|
.TP
|
|
.BI \-\-dirnames= path [, name [, enc ]]
|
|
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).
|
|
If \fIpath\fR or \fIname\fR are left empty (as in ",,1" to only set \fIenc\fR), the defaults apply.
|
|
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
|
|
.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
|
|
.BI \-E\ file ,\ \-\-epgfile= file
|
|
Write the EPG data into the given \fIfile\fR
|
|
(default is \fIepg.data\fR in the cache directory).
|
|
Use \fB\-E\-\fR to disable this.
|
|
If \fIfile\fR is a directory, the file \fIepg.data\fR
|
|
will be created in that directory.
|
|
.TP
|
|
.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
|
|
.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
|
|
.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
|
|
.B \-h, \-\-help
|
|
Print a help message and exit.
|
|
.TP
|
|
.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
|
|
.BI \-l\ level ,\ \-\-log= level
|
|
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.
|
|
If logging should be done to LOG_LOCAL\fIn\fR instead of
|
|
LOG_USER, add '.n' to LEVEL, as in 3.7 (n=0..7).
|
|
.TP
|
|
.BI \-L\ dir ,\ \-\-lib= dir
|
|
Search for plugins in directory \fIdir\fR (default is ./PLUGINS/lib).
|
|
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.
|
|
.TP
|
|
.BI \-\-lirc[= path ]
|
|
Use a LIRC remote control device.
|
|
If \fIpath\fR is omitted, vdr uses \fI/var/run/lirc/lircd\fR.
|
|
.TP
|
|
.BI \-\-localedir= dir
|
|
Search for locale files in \fIdir\fR (default is ./locale).
|
|
.TP
|
|
.B \-m, \-\-mute
|
|
Mute audio of the primary DVB device at startup.
|
|
.TP
|
|
.B \-\-no\-kbd
|
|
Don't use the keyboard as an input device.
|
|
.TP
|
|
.BI \-p\ port ,\ \-\-port= port
|
|
Use \fIport\fR for SVDRP. A value of \fB0\fR turns off SVDRP.
|
|
The default SVDRP port is \fB6419\fR.
|
|
You need to edit the file \fIsvdrphosts.conf\fR in order to enable
|
|
access to the SVDRP port.
|
|
.TP
|
|
.BI \-P\ options ,\ \-\-plugin= options
|
|
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
|
|
|
|
\fBvdr \-P "abc \-a \-b xyz"\fR
|
|
|
|
which would load a plugin named \fBabc\fR, giving it the command line options
|
|
\fB\-a\ \-b\ xyz\fR. If you want to load all available plugins (without any
|
|
particular options) you can use
|
|
|
|
\fBvdr \-P "*"\fR
|
|
|
|
(note the quotes around the asterisk to prevent wildcard expansion).
|
|
.TP
|
|
.BI \-r\ cmd ,\ \-\-record= cmd
|
|
Call \fIcmd\fR before and after a recording. See the file \fIINSTALL\fR for
|
|
more information.
|
|
.TP
|
|
.BI \-\-resdir= dir
|
|
Read resource files from \fIdir\fR
|
|
(default is to read them from the config directory).
|
|
.TP
|
|
.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
|
|
.BI \-s\ cmd ,\ \-\-shutdown= cmd
|
|
Call \fIcmd\fR to shutdown the computer. See the file \fIINSTALL\fR for more
|
|
information.
|
|
.TP
|
|
.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
|
|
.BI \-t\ tty ,\ \-\-terminal= tty
|
|
Set the controlling terminal.
|
|
.TP
|
|
.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
|
|
vdr can switch to a lesser privileged user id during normal
|
|
operation.
|
|
.TP
|
|
.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
|
|
.BI \-\-userdump
|
|
Allow coredumps if -u is given (only for debugging).
|
|
.TP
|
|
.BI \-\-vfat
|
|
For backwards compatibility (same as \-\-dirnames= 250,40,1).
|
|
.TP
|
|
.BI \-v\ dir ,\ \-\-video= dir
|
|
Use \fIdir\fR as video directory.
|
|
The default is \fI/video\fR.
|
|
.TP
|
|
.B \-V, \-\-version
|
|
Print version information and exit.
|
|
.TP
|
|
.BI \-w\ sec ,\ \-\-watchdog= sec
|
|
Activate the watchdog timer with a timeout of \fIsec\fR seconds.
|
|
A value of \fB0\fR (default) disables the watchdog.
|
|
.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.
|
|
.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.
|
|
.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
|
|
to be reloaded.
|
|
.TP
|
|
.B 2
|
|
An non-recoverable error has been detected, \fBvdr\fR has given up.
|
|
.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
|
|
.I marks
|
|
Contains the editing marks defined for a recording.
|
|
.TP
|
|
.I info
|
|
Contains a description of the recording.
|
|
.TP
|
|
.I resume
|
|
Contains the index into the recording where the last replay session left off.
|
|
.TP
|
|
.I index
|
|
Contains the file number, offset and type of each frame of the recording.
|
|
.TP
|
|
.I remote.conf
|
|
Contains the key assignments for the remote control.
|
|
.TP
|
|
.I keymacros.conf
|
|
Contains user defined remote control key macros.
|
|
.TP
|
|
.IR 00001.ts\ ...\ 65535.ts
|
|
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.
|
|
.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.
|
|
.SH SEE ALSO
|
|
.BR vdr (5), svdrp(1)
|
|
.SH AUTHOR
|
|
Written by Klaus Schmidinger, with contributions from many others.
|
|
See the file \fICONTRIBUTORS\fR in the \fBvdr\fR source distribution.
|
|
.SH REPORTING BUGS
|
|
Report bugs to <vdr\-bugs@tvdr.de>.
|
|
.SH COPYRIGHT
|
|
Copyright \(co 2013 Klaus Schmidinger.
|
|
|
|
This is free software; see the source for copying conditions. There is NO
|
|
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
|