Zencoder Encoding Settings: Video Processing

Product(s)
Zencoder
Role(s)
API Developer
Topic(s)
Encoding Settings
API(s)
Zencoder API

This topic contains details for encoding settings related to video processing.

rotate

rotate:Integer

API Versions: V1, V2

Parent: outputs

Default: automatically detected

Valid Values: 0, 90, 180, 270. Leave unset if you want auto-rotation.

Compatible Job Types: vod

Example: 180

Description:

Explicitly rotate a movie. By default, Zencoder will automatically rotate rotated content (including rotated iPhone video), but you can also manually rotate a movie. If you set "rotate" to 0, we will not auto-rotate, so leave this option unset if you want auto-rotation.

{
  "input": "s3://zencodertesting/test.mov",
  "outputs": [
    {
      "rotate": 180
    }
  ]
}

deinterlace

deinterlace:String

API Versions: V1, V2

Parent: outputs

Default: detect

Valid Values: on, off, detect

Compatible Job Types: vod

Example: on

Description:

Determines whether or not to apply a deinterlacing filter. Default is "detect" – if the input file is detected as interlaced, it will be deinterlaced. Set this to "on" to force deinterlacing (which will reduce quality if the input is not interlaced), or "off" to avoid deinterlacing.

Note that Zencoder makes this determination based on file metadata. If interlaced content is re-encoded with an encoder that does not deinterlace the content, or flag it as interlaced, we may not be able to auto-deinterlace the content in "detect" mode.

{
  "input": "s3://zencodertesting/test.mov",
  "outputs": [
    {
      "deinterlace": "on"
    }
  ]
}

sharpen

sharpen:Boolean

API Versions: V1, V2

Parent: outputs

Default: false

Valid Values: true or false

Compatible Job Types: vod

Example: true

Description:

Apply a sharpen filter to the video.

{
  "input": "s3://zencodertesting/test.mov",
  "outputs": [
    {
      "sharpen": true
    }
  ]
}

denoise

denoise:String

API Versions: V1, V2

Parent: outputs

Valid Values: weak, medium, strong, or strongest

Compatible Job Types: vod

Example: weak

Description:

Apply a denoise filter to the video.

Valid options are 'weak', 'medium', 'strong', and 'strongest'. Typically reduces file size by 5%-20%, depending on denoising level, bitrate, and source video. Any denoising slows down encoding by about 20%.

Values above 'weak' should be used carefully, though animation can sometimes handle a high level of denoising.

{
  "input": "s3://zencodertesting/test.mov",
  "outputs": [
    {
      "denoise": "weak"
    }
  ]
}

autolevel

autolevel:Boolean

API Versions: V1, V2

Parent: outputs

Default: false

Valid Values: true or false

Compatible Job Types: vod

Example: true

Description:

Apply a color auto-level filter to the video. Note that this filter may cause unexpected color problems in some videos, so use carefully.

The VP6 video_codec does not support the autolevel option.

{
  "input": "s3://zencodertesting/test.mov",
  "outputs": [
    {
      "autolevel": true
    }
  ]
}

deblock

deblock:Boolean

API Versions: V1, V2

Parent: outputs

Default: false

Valid Values: true or false

Compatible Job Types: vod

Example: true

Description:

Apply a deblocking filter to the video.

{
  "input": "s3://zencodertesting/test.mov",
  "outputs": [
    {
      "deblock": true
    }
  ]
}