summaryrefslogtreecommitdiff
path: root/contrib/vdr2jpeg/README
blob: abfee4916cd68baeda227611a2cdc7ecfb3d5e74 (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

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

Installation
------------

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 change to a other path of ffmpeg binary
$ make all FFMPEG_BIN=/usr/local/bin/ffmpeg

 
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
            -s 5000          : frame range, started at wanted frame (e.g 500 : 20s)
            -i 25            : space beetween frames at selected range (resolution at PAL - 1/25s)
            -c 5             : number of extracted frames of an recording or within the selected range 


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


same using with selected span of frames

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