We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent774937f commit11eb87dCopy full SHA for 11eb87d
README.md
@@ -28,5 +28,24 @@ Install httplib2 with pip or easy_install.
28
progress = zen.output.progress(job.body['outputs'][0]['id'])
29
print progress.body
30
31
+
32
+# configure your outputs with dictionaries
33
+iphone = {
34
+ 'label': 'iPhone',
35
+ 'url': 's3://output-bucket/output-file-1.mp4',
36
+ 'width': 480,
37
+ 'height': 320
38
+ }
39
+web = {
40
+ 'label': 'web',
41
+ 'url': 's3://output-bucket/output-file.vp8',
42
+ 'video_codec':, 'vp8
43
44
+# the outputs kwarg requires an iterable
45
+outputs = (iphone, web)
46
+another_job = zen.job.create(input_url, outputs=outputs)
47
48
49
50
**Note:** If you set the**ZENCODER\_API\_KEY** environment variable to your api key, you don't have to provide it when initializing Zencoder.
51