forked from plebioda/irena
-
Notifications
You must be signed in to change notification settings - Fork 0
/
benchmark.conf
159 lines (120 loc) · 3.16 KB
/
benchmark.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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
#
# This is an example of configuration file for testing video encoder
#
# General configuration
[General]
# Encoder command
Encoder =
# Encoder command arguments
EncoderArgs = encode -vv --progress-bar no --print-timers yes
# Decoder command arguments
DecoderArgs = decode --progress-bar no
# Decoder command
Decoder =
# PSNR command
PSNR =
# PSNR command arguments
PSNRArgs = psnr
# System info command
Info =
# System info command arguments
InfoArgs = info
# Tar command with wildcards
# %I will be replaced with input file name
# %O will be replaced with output file name
Tar =
# Sleep time after single run [seconds]
Sleep = 0
[Output]
# Indicated whether decoded video should be remove
RemoveDecoded = True
# Indicated whether encoded video should be remove
RemoveEncoded = True
# Indicates whether decoded files should be tarred
TarDecoded = False
# Indicates whether PSNR value should be computed for decoded sequence
ComputePSNR = True
# Results directory
# You can use following wildcards:
# %d - date
# %t - time
# %p - platform name
ResultsDir = results/%p_%d_%t
# Results file name
ResultsName = results.csv
# Indicates whether system information should be written
WriteSysInfo = True
# System information file name
SysInfoName = system.info
# Input configuration
[Input]
# Input videos directory
# Videos should be organized hierarchically by resolutions
# Example:
# video
# ├── 1024x768
# │ └── Cam_1024x768.yuv
# ├── 1920x1080
# │ ├── BasketballDrive_1920x1080_50.yuv
# │ ├── BQTerrace_1920x1080_60.yuv
# │ ├── Cactus_1920x1080_50.yuv
# │ ├── Kimono1_1920x1080_24.yuv
# │ └── ParkScene_1920x1080_24.yuv
# ├── 416x240
# │ ├── BasketballPass_416x240_50.yuv
# │ ├── BlowingBubbles_416x240_50.yuv
# │ ├── BQSquare_416x240_60.yuv
# │ └── RaceHorses_416x240_30.yuv
# └── 832x480
# └── BasketballDrill_832x480_50.avi
VideosDir = videos
# Videos format
VideosFormat = YUV420
# Videos extension filter
# Only files with specified extension will be
# treated as video files
VideosExt = .yuv
# Encoder options for benchmark
[Options]
# Interpolation options
Interpolation = 1 2
# Huffman options
Huffman = static
# Encoder Variants
EncoderVariant = 0 1 2 3
# Group Of Blocks options
GOP = 5
# Quantization coefficients
Q = 1 10
# Platform specific configuration for linux 2.x
[linux2]
# Encoder command
Encoder = ./irena
# Decoder command
Decoder = ./irena
# PSNR command
PSNR = ./irena
# System info command
Info = ./irena
# Tar command with wildcards
# %I will be replaced with input file name
# %O will be replaced with output file name
Tar = tar jcf %O.tar.bz2 %I
# Device type
Device = GPU
# Platform sepcific configuration for win32
[win32]
# Encoder command
Encoder = make.visual\Release\irena.exe
# Decoder command
Decoder = make.visual\Release\irena.exe
# PSNR command
PSNR = make.visual\Release\irena.exe
# System info command
Info = make.visual\Release\irena.exe
# Tar command with wildcards
# %I will be replaced with input file name
# %O will be replaced with output file name
Tar =
# Device type
Device = GPU CPU