mirror of
https://github.com/vdr-projects/vdr.git
synced 2025-03-01 10:50:46 +00:00
- Removed an unused variable from cTimer::GetWDayFromMDay() (thanks to Wayne Keer for reporting this one). - Some more changes to the 'childTid' handling in cThread (based on suggestions by Stefan Huelswitt). - Fixed the spelling of 'canceling' (thanks to Wayne Keer for reporting this one). - Re-introduced a sleep to cDvbPlayer::Action() to avoid high CPU load in still picture mode (thanks to Reinhard Nissl for reporting this one). - Fixed a possible race condition in generating the DVB device names (thanks to Rainer Zocholl for reporting this one). - Changed the way PES packets are played to allow replay of AC3 sound over the full featured DVB cards (partially based on a patch from Werner Fink). + The new function cDevice::PlayPes() is now called with the complete PES data stream and calls PlayVideo() and PlayAudio() as necessary. + cDevice::PlayVideo() is now only called with actual video PES packets. + cDevice::PlayAudio() is now called with the actual audio PES packets, which can be either "normal" audio or AC3 data. You need at least firmware version 0x261d to replay AC3 sound over a full featured DVB card. This function now has an 'int' return value. + PlayAudio() of derived cDevice classes shall no longer call the base class function. It shall just play the given data as audio. + cPlayer::PlayVideo() and cPlayer::PlayAudio() are now obsolete and have been replaced with cPlayer::PlayPes(). + All StripAudioPackets() functions are now obsolete. The functionality has been moved into cDevice::PlayPes(), where only the video and audio packets that are actually required will be processed. + All audio track handling is now done by cDevice; cTransfer and cDvbPlayer no longer care about audio tracks. cPlayer, however, still has the virtual hooks for audio track handling in order to allow plugins to implement players that have their own idea about this. + cChannel::[AD]pid[12]() have been replaced with cChannel::[AD]pid(int i) to allow access to all available PIDs. - Escaped the '-' and 'ö' characters in the man pages (thanks to Darren Salt for pointing this out). - Completed the Italian OSD texts (thanks to Sean Carlos). - Fixed setting 'synced' in cRemux when recording radio channels (thanks to Laurence Abbott). - Removed the LOCK_THREAD from the LIRC thread (thanks to Ludwig Nussel). - Fixed genfontfile.c (sometimes the character width was wrong, and the codes were shifted one too far to the left). - Fixed the character width and shifted the codes one to the right in all font files. - Renamed font???.c to font???-iso8859-1.c for symmetry. - Switched the character set to iso8859-15 for English, German and Finnish (thanks to Andreas Brugger for reporting the missing Euro sign in iso8859-1). - Added 'channels.conf.terr' entries for Lübeck (thanks to Stefan Hußfeldt). - Fixed a race condition in starting a thread (thanks to Reinhard Nissl for reporting this one). - Replaced non-threadsafe library functions with their threadsafe versions (thanks to Rainer Zocholl for pointing this out). - Other non-threadsafe functions have been replaced by threadsafe classes that hide the actual buffering. In particular these are: readdir() -> cReadDir readline() -> cReadLine - Several formerly non-threadsafe functions now have a return type of cString: cChannel::ToText() tChannelID::ToString() cEvent::GetDateString() cEvent::GetTimeString() cEvent::GetEndTimeString() cEvent::GetVpsString() cMark::ToText() cTimer::ToText() cSource::ToString() cTimer::PrintDay() cTimer::PrintFirstDay() PrefixVideoFileName() IndexToHMSF() ChannelString() strescape() AddDirectory() itoa() WeekDayName() DayDateTime() When using these functions in a 'const char *' context there is nothing special to consider, except that you can no longer have a pointer to the return value, as in const char *date = DayDateTime(); Although this will compile without error message, the resulting 'date' will not be valid after this line. Use this instead: cString date = DayDateTime(); In a 'const void *' context (as in printf() etc.) the result needs to be dereferenced with a '*', as in printf("%s", *DayDateTime()); to make it a 'const char *'. - Removed delay_ms(), using cCondWait::SleepMs() instead. - Replaced time_ms() with a threadsafe and non-overflowing cTimeMs (thanks to Rainer Zocholl for pointing out this problem). - Added cDevice::mutexReceiver to avoid a race condition when attaching/detaching receivers from different threads. - The new remote control button "Audio" can be used to switch between different audio tracks. The "Green" button in the "Main" menu has been changed from "Language" to "Audio", since it now also controls switching between normal and Dolby Digital audio tracks (see MANUAL for details). - The description of the audio tracks is now taken from the "component descriptors" that are broadcast in the EPG data. However (as no big surprise), not all channels actually provide useful data here, so there are now some additional EPG bugfixes, which can be activated by setting the "EPG bugfix level" to 3. - The format of the 'epg.data' files has been extended by the new tag 'X', which contains the stream components of an event (see man vdr(5) for details). - The cStatus class now has the new member function SetAudioTrack(), which can be used to get notified when the audio track has been switched, and the new member function SetAudioChannel() which is called when the audio channel is changed. - Skins need to implement the new cSkinDisplayTrack class to display the audio track menu. - The ST:TNG skin now displays the current audio track description (if any) at the botton left side. - The new setup option "DVB/Audio languages" can be used to control which audio language shall be selected in case a channel broadcasts in different languages (see MANUAL for details). - The "Left" and "Right" keys in the "Audio" menu can be used to switch between the left and right stereo channels in case there are different audio tracks in these channels (see MANUAL for details). - Fixed a possible race condition in cDevice::Action() (thanks to Mattias Grönlund). - Fixed the default quality value when grabbing a JPEG image (thanks to Patrick Gleichmann). - Fixed deleting a menu item in case the next item is not selectable (thanks to Dino Ravnic). - Implemented displaying mandatory subtitles in the SPU decoder (thanks to Marco Schlüßler). - The setup option "Recording/Record Dolby Digital" has been renamed and moved to "DVB/Use Dolby Digital". It now controls whether Dolby Digital is recorded and whether an available DD audio track will appear in the "Audio" menu. - Added support for circular polarization (thanks to Jonan Santiago). - Thanks to Werner Fink, Reinhard Nissl, Sascha Volkenandt and Bjørnar Nilsen for their support in testing and fine tuning this version.
195 lines
6.1 KiB
Groff
195 lines
6.1 KiB
Groff
'\" t
|
|
.\" ** The above line should force tbl to be a preprocessor **
|
|
.\" Man page for vdr
|
|
.\"
|
|
.\" Copyright (C) 2004 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 1.13 2004/12/19 09:36:25 kls Exp $
|
|
.\"
|
|
.TH vdr 1 "19 Dec 2004" "1.3.18" "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, but in order
|
|
to watch one broadcast while recording another, or to start watching
|
|
a recorded programme before the live broadcast has ended (\fBtime shifting\fR),
|
|
two DVB cards are necessary. By default \fBvdr\fR can support up to four
|
|
DVB cards. The primary DVB card (the one your tv set is connected to) has
|
|
to be a "full featured" card, which means it must contain an MPEG decoder
|
|
and provide audio and video signal outputs.
|
|
|
|
\fBvdr\fR uses the On Screen Display of the DVB card to display its menus.
|
|
It can be controlled by the PC keyboard, a home built "Remote Control Unit"
|
|
(RCU) or the "Linux Infrared Remote Control" (LIRC).
|
|
|
|
Remote access is possible via the "Simple Video Disk Recorder Protocol" (SVDRP),
|
|
which can be accessed on port 2001, 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 \-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.
|
|
.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 \-E\ file ,\ \-\-epgfile= file
|
|
Write the EPG data into the given \fIfile\fR
|
|
(default is \fI/video/epg.data\fR).
|
|
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
|
|
.B \-h, \-\-help
|
|
Print a help message and exit.
|
|
.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_LOCALn 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
|
|
.B \-m, \-\-mute
|
|
Mute audio of the primary DVB device at startup.
|
|
.TP
|
|
.BI \-p\ port ,\ \-\-port= port
|
|
Use \fIport\fR for SVDRP. A value of \fB0\fR turns off SVDRP.
|
|
The default SVDRP port is \fB2001\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.
|
|
.TP
|
|
.BI \-s\ cmd ,\ \-\-shutdown= cmd
|
|
Call \fIcmd\fR to shutdown the computer.
|
|
.TP
|
|
.BI \-t\ tty ,\ \-\-terminal= tty
|
|
Set the controlling terminal.
|
|
.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.
|
|
.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 ca.conf
|
|
Conditional access 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.vdr
|
|
Contains the editing marks defined for a recording.
|
|
.TP
|
|
.I summary.vdr
|
|
Contains a description of the recording.
|
|
.TP
|
|
.I resume.vdr
|
|
Contains the index into the recording where the last replay session left off.
|
|
.TP
|
|
.I index.vdr
|
|
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 001.vdr\ ...\ 255.vdr
|
|
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)
|
|
.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@cadsoft.de>.
|
|
.SH COPYRIGHT
|
|
Copyright \(co 2004 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.
|