⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 install

📁 asus U3100 DMBTH 電視棒反釋源碼
💻
📖 第 1 页 / 共 2 页
字号:
If the '-s' option is present, the VDR machine can be turned off by pressingthe "Power" key on the remote control.Executing commands before and after a recording:------------------------------------------------You can use the '-r' option to define a program or script that gets calledbefore and after a recording is performed, and after an editing processhas finished.The program will be called with two string parameters. The first parameteris one of  before      if this is *before* a recording starts  after       if this is *after* a recording has finished  edited      if this is after a recording has been *edited*and the second parameter contains the full name of the recording'sdirectory (which may not yet exists at that moment in the "before" case).In the "edited" case it will be the name of the edited version.Within this program you can do anything you would like to do before and/orafter a recording or after an editing process. However, the program must returnas soon as possible, because otherwise it will block further execution of VDR.Be especially careful to make sure the program returns before the watchdogtimeout you may have set up with the '-w' option! If the operation you want toperform will take longer, you will have to run it as a background job.An example script for use with the '-r' option could look like this:#!/bin/shcase "$1" in     before)            echo "Before recording $2"            ;;     after)            echo "After recording $2"            ;;     edited)            echo "Edited recording $2"            ;;     *)            echo "ERROR: unknown state: $1"            ;;     esacCommand line options:---------------------Use "vdr --help" for a list of available command line options.Replaying Dolby Digital audio:------------------------------If you have a "full featured" DVB card with SPDIF output you can replayDolby Digital audio directly through the DVB card.You can also use an external program that reads the DD datafrom stdin and processes it in a way suitable for your audio hardware.This program must be given to VDR with the '-a' option, as in  vdr -a ac3playThe video data directory:-------------------------All recordings are written into directories below "/video". Pleasemake sure this directory exists, and that the user who runs the 'vdr'program has read and write access to that directory.If you prefer a different location for your video files, you can usethe '-v' option to change that. Please make sure that the directoryname you use with '-v' is a clean and absolute path name (no '..' ormultiple slashes).Note that the file system need not be 64-bit proof, since the 'vdr'program splits video files into chunks of about 2GB. You should usea disk with several gigabytes of free space. One GB can store roughlyhalf an hour of video data.If you have more than one disk and don't want to combine them to formone large logical volume, you can set up several video directories asmount points for these disks. All of these directories must have thesame basic name and must end with a numeric part, which starts at 0 forthe main directory and has increasing values for the rest of thedirectories. For example   /video0   /video1   /video2would be a setup with three directories. You can use more than onenumeric digit, and the directories need not be directly under '/':   /mnt/MyVideos/vdr.00   /mnt/MyVideos/vdr.01   /mnt/MyVideos/vdr.02   ...   /mnt/MyVideos/vdr.11would set up twelve disks (wow, what a machine that would be!).To use such a multi directory setup, you need to add the '-v' optionwith the name of the basic directory when running 'vdr':   vdr -v /video0Note that you should not copy any non-VDR files into the /videoX directories,since this might cause a lot of unnecessary disk access when VDR cleans up thosedirectories and there is a large number of files and/or subdirectories inthere.If your video directory is mounted via a Samba share, and you are experiencingproblems with replaying in fast forward mode, you can comment out the line#define USE_FADVISEin the file tools.c, which may lead to better results.Configuration files:--------------------There are several configuration files that hold information aboutchannels, remote control keys, timers etc. By default these files areassumed to be located in the video directory, but a different directorycan be used with the '-c' option. Plugins assume their configuration filesin a subdirectory called "plugins" of this directory.For starters just copy all *.conf files from the VDR directory into yourvideo directory.The configuration files can be edited with any text editor, or will be writtenby the 'vdr' program if any changes are made inside the on-screen menus.Take a look at man page vdr(5) for information about the file formats.The files that come with this package contain the author's selections,so please make sure you adapt these to your personal taste. Also make surethat the channels defined in 'channels.conf' are correct before attemptingto record anything. Channel parameters may vary and not all of the channelslisted in the default 'channels.conf' file have been verified by the author.As a starting point you can copy the 'channels.conf' file that comes with theVDR archive into your video directory (or into your config directory,respectively, in case you have redirected it with the -c option).Setting up DiSEqC:------------------If you are using a DVB-S card with a satellite equipment that needs to beaccessed using DiSEqC, you have to go to the "Setup" menu and set the "DiSEqC"parameter to "on". You also need to set up the file 'diseqc.conf' to properlyaccess your DiSEqC equipment (see man vdr(5) for details).Running VDR with DVB-C (cable) or DVB-T (terrestrial):------------------------------------------------------VDR automatically recognizes if the DVB card in use is a cable or aterrestrial card. The only thing that needs to be different when using digitalcable or terrestrial reception is the 'channels.conf' file. The distributionarchive contains a default 'channels.conf.cable' and 'channels.conf.terr',respectively, which users of such cards can rename or copy to 'channels.conf'in order to receive digital cable or terrestrial channels. The format of thesefiles is mostly the same as for satellite channels, however, some fields havedifferent or extended meanings (see man vdr(5) for details).You can even use a mixture of DVB-S, DVB-C and DVB-T cards in the same system.All you need to do is to put all the channel definitions into one big'channels.conf' file. VDR will automatically know which channels can bereceived with which card(s) by evaluating the 'source' parameter.Learning the remote control keys:---------------------------------There is no default 'remote.conf' file, so you will have to go through a "teach-in"session that allows the program to learn your remote control codes.It will first attempt to determine the basic data transfer mode andtiming of your remote control unit, and then will ask you to press onekey after the other so that it can learn the various key codes. You willat least need to provide an "Up" and a "Down" key, so that you can switchchannels. The rest of the key definitions is optional, but the more keysyou define, the more you will be able to navigate through the menus andcontrol recording/replaying. The program uses only a very small numberof keys which have multiple meanings in the various modes (see MANUALfor a detailed description).The recommended PC key assignments are:  Up, Down, Left, Right     Crsr keys in numeric block  Menu                      'Home' in numeric block  Ok                        'Enter'  Back                      'End' in numeric block  Red, Green, Yellow, Blue  'F1'..'F4'  0..9                      '0'..'9' in top row  Power                     'P'  Volume+/-                 '+', '-'  Mute                      'm'If you prefer different key assignments, or if the default doesn't work foryour keyboard, simply delete the file 'remote.conf' and restart 'vdr' to getinto learning mode.Generating source code documentation:-------------------------------------You can do a 'make srcdoc' to generate source code documentation using theDoxygen tool. To do so you need the Doxygen package from http://www.doxygen.organd the Graphviz package from http://www.research.att.com/sw/tools/graphviz.After installing these two packages you can do 'make srcdoc' and then use yourHTML browser to read srcdoc/html/index.html.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -