
This is a simple c++ program to grab jpeg images from VDR-Recordings. 
It's based on vdrsync.pl and ffmain, and was design as little study to enhance xxv.
vdr2jpeg are used from xxv to generated preview images of recordings.

Requirements
-------------
ffmpeg-0.4.9-pre1/ffmpeg-svn (tested with r5812)

Recommended
------------
ffmpeg as shared libary, but not real required
$ cd ffmpeg && ./configure --enable-shared && make && make install

Installation
------------
optional check Makefile and adjust some values e.g. FFMDIR = /usr/src/ffmpeg
if'nt ffmpeg installed 

to build, type simple
$ make all

for install on /usr/bin/local :
$ make install

or build with more diagnostic
$ make all DEBUG=1 

or to link vdr2jpeg static, if build ffmpeg too static (without --enable-shared)
if your want that no external libraries are needed at run-time
$ make all STATIC=1 


Usage 
----------
$ ./vdr2jpeg
Usage: ./vdr2jpeg
            -r recordings    : VDR recording folder
            -f frame         : Wanted frame (resolution at PAL - 1/25s)
            -o outdirectory  : output folder
            -x 160           : scaled width of output image
            -y 120           : scaled height of output image


e.g. to extract frames 5000,10000,15000 (at 3,6,9 Minutes)

$ ./vdr2jpeg -r /video/Auf_der_Flucht/2004-12-28.22:10.50.99.rec \
	-f 5000 -f 10000 -f 15000

