Skip to content

Instantly share code, notes, and snippets.

@jwo
Created December 6, 2011 21:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jwo/1440139 to your computer and use it in GitHub Desktop.
Save jwo/1440139 to your computer and use it in GitHub Desktop.
ZenCoder HTML5 creation for videos.com
POST https://app.zencoder.com/api/v2/jobs HTTP/1.1
Accept: application/json
Content-Type: application/json
{
"api_key": "API_KEY_HERE",
"input": "PUBLIC_FILE_URL_HERE",
"private": true,
"output": [
{
"video_codec": "theora",
"width": 450,
"height": 320,
"upscale": true,
"quality": 3,
"audio_quality": 4
},
{
"video_codec": "h264",
"width": 450,
"height": 320,
"upscale": true,
"quality": 3,
"audio_quality": 4
},
{
"video_codec": "vp8",
"width": 450,
"height": 320,
"upscale": true,
"quality": 3,
"audio_quality": 4
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment