-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathunit1.lfm
419 lines (419 loc) · 8.1 KB
/
unit1.lfm
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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
object Form1: TForm1
Left = 70
Height = 602
Top = 39
Width = 1126
ActiveControl = EditSend
Caption = 'Form1'
ClientHeight = 602
ClientWidth = 1126
OnClose = FormClose
OnCreate = FormCreate
LCLVersion = '2.1.0.0'
object EditIP: TEdit
Left = 560
Height = 23
Top = 5
Width = 113
OnChange = EditIPChange
ParentFont = False
TabOrder = 0
Text = 'localhost'
end
object EditPort: TEdit
Left = 674
Height = 23
Top = 5
Width = 80
ParentFont = False
TabOrder = 1
Text = '6666'
end
object ButtonListen: TButton
Left = 968
Height = 25
Top = 56
Width = 75
Anchors = [akTop, akRight]
Caption = 'Host'
OnClick = ButtonListenClick
ParentFont = False
TabOrder = 2
end
object CheckBoxSSL: TCheckBox
Left = 761
Height = 19
Top = 7
Width = 38
Caption = 'SSL'
ParentFont = False
TabOrder = 3
end
object MemoText: TMemo
Left = 816
Height = 492
Top = 92
Width = 302
Anchors = [akTop, akRight, akBottom]
Lines.Strings = (
''
)
ParentFont = False
TabOrder = 4
end
object ButtonDisconnect: TButton
Left = 1048
Height = 25
Top = 56
Width = 75
Anchors = [akTop, akRight]
Caption = 'Disconnect'
OnClick = ButtonDisconnectClick
ParentFont = False
TabOrder = 5
end
object EditSend: TEdit
Left = 904
Height = 23
Top = 5
Width = 136
Anchors = [akTop, akRight]
ParentFont = False
TabOrder = 6
end
object ButtonSend: TButton
Left = 1043
Height = 25
Top = 5
Width = 75
Anchors = [akTop, akRight]
Caption = 'Send'
OnClick = ButtonSendClick
ParentFont = False
TabOrder = 7
end
object EditVideoFile: TEdit
Left = 48
Height = 23
Top = 5
Width = 511
OnChange = EditVideoFileChange
ParentFont = False
TabOrder = 8
Text = '/scratchpad/test.mp4'
end
object ButtonNewProject: TButton
Left = 152
Height = 25
Top = 80
Width = 122
Caption = 'Add New Project'
OnClick = ButtonNewProjectClick
ParentFont = False
TabOrder = 9
end
object EditSceneThreshold: TEdit
Left = 81
Height = 23
Top = 36
Width = 40
ParentFont = False
TabOrder = 10
Text = '30'
end
object GridJobs: TStringGrid
Left = 394
Height = 492
Top = 92
Width = 416
Anchors = [akTop, akLeft, akRight, akBottom]
ColCount = 12
ColumnClickSorts = True
Enabled = False
Options = [goFixedVertLine, goFixedHorzLine, goVertLine, goHorzLine, goRangeSelect, goDblClickAutoSize, goSmoothScroll]
ParentFont = False
RowCount = 11
TabOrder = 11
TitleStyle = tsNative
Visible = False
OnMouseDown = GridJobsMouseDown
OnPrepareCanvas = GridJobsPrepareCanvas
OnSelectCell = GridJobsSelectCell
OnSetEditText = GridJobsSetEditText
ColWidths = (
40
87
85
56
93
73
73
73
73
73
75
64
)
end
object ListViewProjects: TListView
Left = 12
Height = 383
Top = 149
Width = 377
Anchors = [akTop, akLeft, akBottom]
Columns = <
item
AutoSize = True
Caption = 'Index'
Width = 44
end
item
AutoSize = True
Caption = 'Name'
Width = 47
end
item
AutoSize = True
Caption = 'Status'
Width = 47
end
item
AutoSize = True
Caption = 'Priority'
Width = 53
end>
ParentFont = False
TabOrder = 12
ViewStyle = vsReport
OnSelectItem = ListViewProjectsSelectItem
end
object EditVideoURL: TLabeledEdit
Left = 136
Height = 23
Top = 52
Width = 423
EditLabel.Height = 15
EditLabel.Width = 423
EditLabel.Caption = 'URL of the video file to be encode'
EditLabel.ParentColor = False
EditLabel.ParentFont = False
ParentFont = False
TabOrder = 13
OnChange = EditVideoURLChange
end
object EditSceneMinDuration: TEdit
Left = 81
Height = 23
Top = 65
Width = 40
ParentFont = False
TabOrder = 14
Text = '2'
end
object LabelThreshold: TLabel
Left = 8
Height = 15
Top = 41
Width = 52
Caption = 'Threshold'
ParentColor = False
ParentFont = False
end
object MinSceneS: TLabel
Left = 9
Height = 15
Top = 73
Width = 60
Caption = 'Min Scenes'
ParentColor = False
ParentFont = False
end
object KNEditPriority: TKNumberEdit
Left = 328
Height = 23
Top = 108
Width = 44
Caption = 'Priority'
DecimalSeparator = ','
LabelPosition = lpLeft
MaxAsInt = 1000
Font.Color = clWindowText
ParentFont = False
TabOrder = 15
OnChange = KNEditPriorityChange
end
object Button1: TButton
Left = 112
Height = 25
Top = 108
Width = 88
Caption = 'Save Projects'
OnClick = Button1Click
ParentFont = False
TabOrder = 17
end
object Button2: TButton
Left = 8
Height = 25
Top = 108
Width = 101
Caption = 'Load Projects'
OnClick = Button2Click
ParentFont = False
TabOrder = 18
end
object ButtonDelProject: TButton
Left = 200
Height = 25
Top = 108
Width = 75
Caption = 'Delete'
OnClick = ButtonDelProjectClick
ParentFont = False
TabOrder = 19
end
object EditCPU_USED: TEdit
Left = 298
Height = 23
Top = 566
Width = 80
Anchors = [akLeft, akBottom]
ParentFont = False
TabOrder = 20
Text = '3'
end
object Label1: TLabel
Left = 300
Height = 15
Top = 540
Width = 50
Anchors = [akLeft, akBottom]
Caption = 'cpu_used'
ParentColor = False
ParentFont = False
end
object EditBitInDepth: TEdit
Left = 15
Height = 23
Top = 566
Width = 80
Anchors = [akLeft, akBottom]
ParentFont = False
TabOrder = 21
Text = 'yuv420p'
end
object Label2: TLabel
Left = 20
Height = 15
Top = 544
Width = 79
Anchors = [akLeft, akBottom]
Caption = 'Input bit depth'
ParentColor = False
ParentFont = False
end
object EditCRF: TEdit
Left = 216
Height = 23
Top = 566
Width = 80
Anchors = [akLeft, akBottom]
TabOrder = 22
Text = '30'
end
object LabelCRF: TLabel
Left = 207
Height = 15
Top = 544
Width = 21
Anchors = [akLeft, akBottom]
Caption = 'CRF'
ParentColor = False
end
object EditBitOutDepth: TEdit
Left = 104
Height = 23
Top = 566
Width = 80
Anchors = [akLeft, akBottom]
TabOrder = 23
Text = '8'
end
object Label3: TLabel
Left = 104
Height = 15
Top = 544
Width = 89
Anchors = [akLeft, akBottom]
Caption = 'Output bit depth'
ParentColor = False
end
object Label4: TLabel
Left = 12
Height = 15
Top = 8
Width = 18
Caption = 'File'
ParentColor = False
end
object LTCP: TLTCPComponent
Port = 0
OnReceive = LTCPReceive
OnError = LTCPError
OnDisconnect = LTCPDisconnect
OnConnect = LTCPConnect
OnAccept = LTCPAccept
Timeout = 0
ReuseAddress = False
Left = 688
Top = 108
end
object TimerQuit: TTimer
Enabled = False
OnTimer = TimerQuitTimer
Left = 560
Top = 108
end
object TimerCheckQueue: TTimer
Enabled = False
OnTimer = TimerCheckQueueTimer
Left = 424
Top = 88
end
object SSL: TLSSLSessionComponent
Method = msTLSv1
SSLActive = False
Left = 628
Top = 108
end
object PopupMenu1: TPopupMenu
Left = 1200
Top = 392
object MenuItem1: TMenuItem
Caption = 'MenuItem1'
Enabled = False
end
object MenuItem2: TMenuItem
Caption = 'MenuItem2'
OnClick = MenuItem2Click
end
object MenuItem3: TMenuItem
Caption = 'MenuItem3'
OnClick = MenuItem3Click
end
object MenuItem4: TMenuItem
Caption = 'MenuItem4'
OnClick = gMenuItem4Click
end
object MenuItem5: TMenuItem
Caption = 'Download'
OnClick = MenuItem5Click
end
end
object TimerSave: TTimer
Interval = 60000
OnTimer = TimerSaveTimer
Left = 492
Top = 108
end
end