Zencoder supports various forms of adaptive and segmented streaming.
Each streaming format uses a different subset of the API options listed below. Refer to the guides for each streaming type for more information.
|segment_seconds||10||Sets the maximum duration of each segment a segmented output|
|segment_size||none||Sets the maximum data size of each segment in a segmented output|
|streams||none||Provides a list of stream info to be reformatted as a playlist|
|path||none||Specifies the path to a stream manifest file|
|bandwidth||none||Specifies the bandwidth of a playlist stream|
|resolution||none||Specifies the resolution of a playlist stream|
|codecs||none||Specifies the codecs used in a playlist stream|
|segment_image_url||none||An image to display on audio-only segments|
|segment_video_snapshots||false||When segmenting a video file into audio-only segments, take snapshots of the video as thumbnails for each segment.|
|source||none||References a label on another job and uses the video created by that output for processing instead of the input file.|
|max_hls_protocol_version||3 for Live and Instant Play outputs; otherwise, 2.||The maximum HLS protocol to use.|
|hls_optimized_ts||true||Optimize TS segment files for HTTP Live Streaming on iOS.|
|prepare_for_segmenting||none||Include captions and keyframe timing for segmenting.|
|instant_play||false||Create an instant play output that is ready for playback within seconds.|
|smil_base_url||none||Add <meta base="smil_base_url_value"/> to the <head> section of an SMIL playlist.|
- A job must have at least one standard or segmented output; creating jobs with only playlist outputs will not work.
- Playlist outputs will ignore most output options, except for url, base_url, filename, streams, public, and type.
- If a segmented output is uploaded to temporary storage, it will be uploaded as a ZIP archive.