-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun2.rb
More file actions
17 lines (13 loc) · 702 Bytes
/
run2.rb
File metadata and controls
17 lines (13 loc) · 702 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
AVFILE_PATH = '/home/render_worker/current/lib'
FFMPEG_PATH = '/tmp/compression_tester'
$LOAD_PATH.unshift(AVFILE_PATH)
$LOAD_PATH.unshift(FFMPEG_PATH)
test_options = [ { :refs => 6, :bf => 16 },
{ :refs => 6, :bf => 16, :crf => 16},
{ :refs => 6, :bf => 16, :crf => 20},
{ :refs => 6, :bf => 16, :crf => 24}]
CompressionTest.run( 'U73dWfU0AYC0ZTdR5SKczA',
'/Users/stephenclifton/code/compression_tester/input/U73dWfU0AYC0ZTdR5SKczA/jpg/%06d.jpg',
'/Users/stephenclifton/code/compression_tester/output/U73dWfU0AYC0ZTdR5SKczA',
test_options
)