Home » API Reference » Encoding Settings » Job » Outputs

outputs

:Array or Hash permalink

API Versions: V1, V2

Valid Values: An array of hashes or a single hash

Compatible Job Types: All

Example:

  • "outputs": [{}]
  • "output": {}

Description:

Our default output is a single video file with the following settings:

If you don't specify an output location, the file will be temporarily hosted by Zencoder. After 24 hours the file will no longer be available.

{
  "input": "s3://zencodertesting/test.mov",
  "outputs": [
    {
      "url": "s3://my-output-bucket/final-1.mp4"
    },
    {
      "url": "s3://my-output-bucket/final-2.webm"
    }
  ]
}
      
<api_request>
  <input>s3://zencodertesting/test.mov</input>
  <outputs type="array">
    <output>
      <url>s3://my-output-bucket/final-1.mp4</url>
    </output>
    <output>
      <url>s3://my-output-bucket/final-2.webm</url>
    </output>
  </outputs>
</api_request>