hi,
ich schreibe gerade ein neues plugin vdrrip. die erste (vorab-)version (0.0.7) koennt ihr unter www.a-land.de downloaden. mit diesem plugin koennen die aufnahmen individuell per osd in avi-files encodiert werden. weitere infos siehe README:
This is a "plugin" for the Video Disk Recorder (VDR).
Written by: herbert attenberger <herbsl@a-land.de>
Project's homepage: www.a-land.de
Latest version available at: www.a-land.de
See the file COPYING for license information.
Description:
============
Vdrrip is a plugin to encode the vdr-recordings into divx format. First you
have to select the (cutted !) movie in the recordings-menu with the red key
and the entry <select for vdrrip>. Then You can choose between lavc, xivd and
divx4/5 as video codec, and mp3 or stream-copy(e.g. for AC3) as audio codec.
The installed codecs are automatically detected by the plugin. If you input
the resulting movie size (and number of files), the video/audio bitrate is
calculated. If you change the video/audio bitrate, the file size is calculated.
If there is more then one audio-track in the recording, you can select (only)
one of them with the field Audio-ID.
You can choose between four scaling mechanism:
off: Don't scale, use the original resolution
auto: The scale value is calculated on a algorithm based on the bpp-value.
For more informations read DOCS/tech/encoding-tips.txt in your
MPlayer-source directory. The aspect ratio is used, too.
dvb: You can only choose values, which are supported by the DVB-Card with-
out needing a further scaling while playing. This option (together
with stream-copy as audio codec) is very useful for slow computers.
(it is possible to play those files on my Celeron 466)
manual: Select the resolution manually.
In the auto and manual-mode you can automatically detect and crop the black
movie-boarders with the green key. All settings are saved in the file
save.vdrrip in the movie directory. After this you can add the movie with the
red key to the encoding queue (file queue.vdrrip in the plugins-directory).
The script queuehandler.sh reads the data from the queue, joins the vdr-files
and encodes the movie. The movie name is detected from the vdr-directory name.
Some default-values can be set in the setup menu.
usage of the quehandler-script:
queuehandler.sh queuefile tempdir (-preview)
If you set the -preview option, there will be only $previewlength (see in the
section # initial definitions) seconds of the movie encoded.
While a encoding process is running, there is a file /tmp/encode.vdrrip
created. You can use it to keep vdr from an automatic shutdown. I added
my sample scripts vdrshutdown.sh and sleephalt.sh in the directory scripts.
Feel free to use it.
Installation:
=============
1) MPlayer (All codecs [see 2] have to be installed before the MPlayer installation):
The vdrrip plugin needs an installed mplayer/mencoder <http://www.mplayerhq.hu>
to encode the movies. The tested version is 0.90. To compile and install mplayer
I recommend the following sequence:
> cd /usr/local/src
> tar xjvf MPlayer-0.90.bz2
> cd MPlayer-0.90
> ./configure --with-extraincdir=<your path to the DVB-drivers>/include
> make
> make install
2) Codecs:
If you want to use xvid <http://www.xvid.org> as video codec, you have to run
the following commands before the mplayer installation:
> cd /usr/local/src
> tar xzvf xvidcore-0.9.1.tgz
> cd xvidcore-0.9.1/build/generic
> ./configure
> make
> make install
> ldconfig (/etc/ld.so.conf should include /usr/local/lib)
If you want to use divx4/5 <http://www.divx.org> as video codec, you have to run
the following commands before the mplayer installation. The version 20020418 is
the latest by mplayer supported version (the version 5.0.5 is supported
in mplayer 1.0) You can download it from:
<http://sourceforge.net/project/showfiles.php?group_id=11050>.
> cd /usr/local/src
> tar xzvf divx4linux-20020418.tgz
> cd divx4linux-20020418
> ./install.sh
If you want to use lame <http://lame.sourceforge.net> as audio codec, you have
to run the following commands before the mplayer installation:
> cd /usr/local/src
> tar xzvf lame-3.93.1.tgz
> cd lame-3.93.1
> ./configure
> make
> make install
> ldconfig (/etc/ld.so.conf should include /usr/local/lib)
3) And now lets install the vdrrip plugin:
> cd vdr/PLUGINS/src
> tar xzvf vdr-vdrrip-x.x.x.tgz
> ln -s vdrrip-x.x.x vdrrip
> cp vdrrip/scripts/queuehandler.sh /usr/local/bin (or e.g. /usr/bin)
> cp vdrrip/scripts/selectvdrrip.sh /usr/local/bin (or e.g. /usr/bin)
> cd ../..
> make plugins
optional:
> cp vdrrip/scripts/vdrshutdown.sh /usr/local/bin (or e.g. /usr/bin)
> cp vdrrip/scripts/sleephalt.sh /usr/local/bin (or e.g. /usr/bin)
At least add the line "select for vdrrip?: <path-to-selectvdrrip.sh>" to the file reccmds.conf
To load the plugin add the parameter '-Pvdrcd' to your vdr starting script. To use the shutdown
scripts, add -s <path-to-vdrshutdown.sh>.
Please read the files FAQ and TODO for further informations.
And beware of the dangerous file xaver.jpg ...