Learn how to pick an appropriate encoding tier and control the encoding tier of assets.
Introducing encoding tiers
Learn about encoding tiers and their use cases.
Set an encoding tier when creating an asset
Learn how to create assets with a specific encoding tier.
Feature availiability within encoding tiers
Learn which features are availiable with which encoding tiers.
Mux Video supports ingesting content with different encoding tiers. The encoding tier informs the cost, quality, and available platform features for the asset.
The default is encoding tier is smart
, which offers both a high visual quality and comprehensive scalability, and is optimized for video-centric applications.
Baseline assets are a cost-effective option for video applications that have simpler quality needs. You can learn more about the baseline encoding tier in the annoucement blog.
The encoding tier of an asset is controlled by setting the encoding_tier
attribute on your create-asset API callAPI, so to ingest an asset with the baseline
encoding tier, you should set "encoding_tier": "baseline"
as shown below.
// POST /video/v1/assets
{
"input": "https://storage.googleapis.com/muxdemofiles/mux.mp4",
"playback_policy": [
"public"
],
"encoding_tier": "baseline"
}
And of course you can also select the encoding_tier
within Direct Uploads, too; you just need to set the same "encoding_tier": "baseline"
field in the new_asset_settings
of your create-direct-upload API callAPI.
// POST /video/v1/uploads
{
"new_asset_settings": {
"playback_policy": [
"public"
],
"encoding_tier": "baseline"
},
"cors_origin": "*"
}
Assets in different encoding tiers have different features or limits available to them. Refer to the below table for more details:
Feature | Smart | Baseline |
---|---|---|
JIT encoding | ✅ | ✅ |
Multi CDN delivery | ✅ | ✅ |
Mux Data included | ✅ | ✅ |
Mux Player included | ✅ | ✅ |
Thumbnails, Gifs, Storyboards | ✅ | ✅ |
Watermarking | ✅ | ✅ |
Signed playback IDs and playback restrictions | ✅ | ✅ |
On-Demand | ✅ | ✅ |
Live Streaming | ✅ | ❌ |
Adaptive bitrate ladder | Extended | Reduced |
Maximum streaming resolution | 2160p (4K) | 1080p |
MP4 support | ✅ | ❌ |
Multi-track audio | ✅ | ❌ |
Auto-generated captions | ✅ | ❌ |
While you can create clips from assets of either encoding tier, the resulting clipped asset must utilize the smart
encoding tier.