summaryrefslogtreecommitdiff
path: root/gtk-recordmydesktop/src/rmdConfig.py.in
blob: 2c5d873dd55b6f7523135d7032b6933a7d60fd57 (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
import os
VERSION='@VERSION@'
PREFIX='@PREFIX@'
locale_install_dir=os.path.join('@DATADIR@'.replace("${prefix}",PREFIX), 'locale')

#binary values expressed with 1 and zero instead of True and False
#are upside down. That means 0 is enabled and 1 disabled

default_values=[15,     #framerate
                0,      #cursor
                True,   #sound
                1,      #full shots,0 on 1 off
                os.path.join(os.getenv('HOME'),'out.ogg'), #filename
                [-1,-1,-1,-1],  #recording area(<0 means auto)
                0,          #delay ,unused on 0.3
                1,          #no of channels
                22050,      #frequency
                'hw:0,0',   #device
                63,         #video quality
                10,         #audio quality
                "$DISPLAY", #display, this is not interpreted as an env variable
                            #but when the value is set to this the argument is omitted
                0,          #shared memory,0 on 1 off
                1,          #drop frames,unused in 0.3,0 on 1 off
                75,         #shared threshold
                1,          #quick subsampling,0 on 1 off
                os.path.join(os.getenv('HOME')), #working directory
                1,          #on the fly encoding,0 on 1 off
                1,          #zero compression,0 on 1 off
                False       #overwrite existing files
                ]
© All Rights Reserved