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

📄 readme

📁 video disk recorder - linux
💻
字号:
This is a "plugin" for the Video Disk Recorder (VDR).Written by:                  Klaus Schmidinger <kls@cadsoft.de>Project's homepage:          www.cadsoft.de/vdrLatest version available at: www.cadsoft.de/vdrThis program is free software; you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation; either version 2 of the License, or(at your option) any later version.See the file COPYING for more information.Description:============The 'pictures' plugin implements a simple picture viewer.There is already an 'image' plugin out there which has a lot morefunctionality than this one, but it's way too complex for my taste,and also converts the image files on-the-fly, which makes it slowon slow hardware.This plugin assumes that the pictures have already been converted toMPEG frames (with the 'pic2mpg' script that comes with this archive),and doesn't implement any fancy features like zooming, panning ortiled previews. It's just a very simple viewer.It also assumes a rather particular directory structure (see below),which I have found to fit well for my needs. If you use a differentstructure, the plugin should still work, but the information displayedin the caption may not be as expected.Remote control key functions while in the Pictures menu:========================================================- Left/right/Up/Down:  navigate in the menu as usual.- Ok:                  opens a directory or displays the selected                       picture.- Red/Play:            start a slide show at the first picture in the                       selected directory (or at the selected picture).Remote control key functions while displaying pictures:=======================================================- Left/Right:  advances to the previous/next picture. At the end of a directory               it automatically advances to the first picture of the next               directory and displays the caption.- Up/Play:     start the slide show.- Down/Pause:  stop the slide show.- Blue/Stop:   exit from the picture viewer.- Green/Prev:  skip to the first picture in the previous directory.- Yellow/Next: skip to the first picture in the next directory.- Ok:          toggle the caption display.- Back:        return to the picture selection menu.The slide show starts with the picture immediately following the one thatis currently visible, and continues until the last available picture,automatically crossing directories as necessary.Pressing any of the Left/Right, Green/Prev, Yellow/Next or Back keysautomatically stops an ongoing slide show.Directory structure:====================The 'pictures' plugin requires a particular directory structure in order towork properly. Starting at some base directory (e.g. "/path/to/pictures"),there is one directory level marking the year in which the pictures weretaken, followed by a level with a properly sortable combination of monthand description, and finally the plain picture files, as in/path/to/pictures/YEAR/MONTH_DESCRIPTION/*.jpgFor example/path/to/pictures/2007/06a_Vacation_in_Colorado/dsc01234.jpg/path/to/pictures/2007/06a_Vacation_in_Colorado/dsc01235.jpg/path/to/pictures/2007/06b_Our_cat/dsc01236.jpgThe MONTH is "01" for January through "12" for December. If there is morethan one entry for one month, it should be followed by a letter to make themsort correctly. Note that this is just a suggestion on how to make thedirectories sort in the correct chronological order. Instead of the two digitmonth number, optionally followed by a letter, you can use anything else youlike. There must be an underscore between the MONTH and the DESCRIPTION part,and any underscores within the DESCRIPTION will be converted to blanks whendisplaying the description (this is done so that blanks can be avoided inthe directory names).Preparing the files:====================In order to display the pictures as "still pictures" on the DVB device, theyneed to be converted into MPEG frames. This procedure takes some time, andwould make viewing pictures sluggish, especially on slow hardware. Thereforethe script "pic2mpg" must be used to convert all picture files beforeusing this plugin, as inpic2mpg /path/to/pictures /path/to/pictures.MPGThis will recursively walk through all pictures in the source directory andconvert them into MPEG frames, stored in the destination directory. Theextension ".MPG" is just a suggestion, you can name the directory anythingyou like, and it doesn't have to start with the same path as the sourcedirectory. Just don't make the destination directory a subdirectory ofthe source directory, because this would surely lead to problems.See "pic2mpg -h" for a list of available options.The pic2mpg conversion can be run any time, even if converted picturesalready exist. It will only convert pictures that haven't been convertedyet. Any changes to the source directory will be reflected in the destinationdirectory accordingly after pic2mpg has finished (note that this especiallymeans that any files or directories in the destination tree that have nocorresponding entry in the source tree will be deleted!). So you can runpic2mpg, for instance, after copying new pictures into your picturedirectory, or after making any other kind of changes to your existingpictures. It might even be a good idea to run pic2mpg in a (nightly)cron job.

⌨️ 快捷键说明

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