forked from stb-tester/stb-tester
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstbt.conf
58 lines (47 loc) · 1.51 KB
/
stbt.conf
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
[global]
source_pipeline=videotestsrc is-live=true
sink_pipeline=xvimagesink sync=false
transformation_pipeline = identity
control=error
verbose=0
power_outlet=none
v4l2_ctls=
# Handle loss of video (but without end-of-stream event) from the video capture
# device. Set to "True" if you're using the Hauppauge HD PVR.
restart_source = False
# stbt camera settings that have to be in global as Python's configparse
# doesn't allow substitutions between sections.
geometriccorrection_params =
contraststretch_params =
[camera]
# Format of the calibration videos that are generated by "stbt camera
# calibrate" to be played on your TV as part of the camera calibration process.
# Valid values are "ts" (for MPEG-TS) and "mp4". This is configurable because
# my Panasonic TV doesn't like MPEG-TS and my Samsung TV doesn't like MP4.
video_format = mp4
[match]
match_method=sqdiff-normed
match_threshold=0.80
confirm_method=absdiff
erode_passes=1
confirm_threshold=0.16
# Downsample the video frame and the template image before matching, as a
# performance optimisation. Once found, the match is always confirmed against
# the full-sized images, so this should never affect the outcome of a match,
# only its speed. Set to `1` to disable this optimisation.
pyramid_levels = 3
[press]
interpress_delay_secs = 0
[press_until_match]
interval_secs = 3
max_presses = 10
[motion]
noise_threshold=0.84
consecutive_frames=10/20
[is_screen_black]
threshold = 10
[run]
save_video =
[record]
output_file=test.py
control_recorder=file:///dev/stdin