summaryrefslogtreecommitdiff
path: root/README
blob: eae6037ff3d1f55cdccf356d162ce1af7d8c20b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
This is a "plugin" for the Video Disk Recorder (VDR).

Written by:                  Sascha Volkenandt <sascha@akv-soft.de>

Project's homepage:          http://www.magoa.net/linux/index.php?view=osdpip

Latest version available at: http://www.magoa.net/linux/index.php?view=osdpip

See the file COPYING for license information.


Requirements:

- libmpeg2 (http://libmpeg2.sourceforge.net) version 0.4.0 (OLDER VERSIONS 
  DON'T WORK)


Description:

OSD Picture-in-Picture is a PlugIn that displays the current channel in a 
small box on the screen (default upper right corner). You can switch up and 
down now, watching the progress of the previous channel in the box. Quality is 
not too good yet, and only I-Frames are displayed. 
From 0.0.2 on, the plugin supports two modes: grayscaled and 256 colored. If 
you want 256 colors, you'll need to upgrade your VDR to support a 256 color OSD
with the provided patching instruction. You can choose the color depth in the 
setup menu. If you didn't patch VDR appropriately, you'll only be able to choose
grayscaled mode.
Also by 0.0.2, the plugin has the possibility to choose the PiP size (in the 
setup menu in factors of 1/x) and position (by moving it around using number 
keys) as well as crop dimensions.

ATTENTION: To use PiP size factor 2 in 256 color mode, you need to set all crop
values to >50 pixels.

ATTENTION: To have the position saved, you have to enter the plugin's setup menu
and hit the ok button.


Installation:

Let's say osdpip's version is 0.0.1 and vdr's version is 1.2.6. If you 
use anything else please exchange the version numbers appropriately (this
way I don't have to update this section all the times;) ).

cd vdr-1.2.6/PLUGINS/src
tar xvfz vdr-osdpip-0.0.1.tgz
ln -s osdpip-0.0.1 osdpip
cd ../..

Now, you have to call your favourite editor to open osdbase.h and jump to line
number 16. I don't provide a patch here because some patches already touch that
area. Well this one's easy, though. Just increase the number of colors in this
line to 256. If you don't want 256 color support, you can skip this part.

#define MAXNUMCOLORS 256

Now, you have to re-build VDR and Plugins.

make [options, if necessary] vdr
make [options, if necessary] plugins


Controls:

Up/Down    Switch Channel up/down
1-4,6-9    Move box around like with cursor keys
0          Switch back to PiP channel and exit PiP
Back       Exit PiP without switching back