Introduction
Learn to transcode with formats and codecs: MP4 (H.264, H.265, AV1), WebM (VP9), HLS, and JPG thumbnails.
This guide documents the legacy Jobs API (/jobs). Existing Jobs API integrations remain supported during the transition. For automatic file encoding, see the transcode guides.
Choose the container format and codec through the job's format parameter.
You must specify exactly one format per transcoding job. Using no format or multiple formats will result in an error.
Basic transcode example
This example creates an MP4 file with H.264 video:
import Chunkify from '@chunkify/chunkify';
const client = new Chunkify({
projectAccessToken: 'My Project Access Token',
});
// Transcode using h264 format with 720p resolution
const job = await client.jobs.create({
source_id: source.id,
format: {
id: 'mp4_h264',
height: 720,
}
});
Format and codec configuration
After choosing a format and codec, configure its encoding settings. Some settings are shared across formats; others are codec-specific. Each format guide explains the available options:
Choose an MP4 codec and configure its encoding settings.
Configure WebM encoding with VP9.
Learn how to use HLS
Learn how to generate thumbnails in JPG format.