🚀 Version 2.0 is now live! See our changelog for details
🚀 Version 2.0 is now live! See our changelog for details
curl --request PUT \
--url https://api.tenbyte.io/v1/stream/libraries/{libraryId}/transcoding/profiles/{profileId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Vidinfra Ultra Secure Profile x",
"description": "4K adaptive bitrate profile with AES encryption, DRM, watermark, and subtitle generation x.",
"transcoding": {
"format": [
"abr"
],
"resolutions": [
"144p",
"240p",
"360p",
"480p",
"720p",
"1080p",
"1440p"
],
"video_codec": [
"h265"
],
"per_title_encoding": true,
"image_overlay": {
"url": "https://cdn.vidinfra.com/watermark.png",
"position": "bottom-right",
"opacity": 0.8,
"size": {
"width": 100,
"height": 60
},
"margin": {
"x": 100,
"y": 60
}
},
"thumbnail": {
"mode": "auto",
"format": "jpeg",
"count": 6,
"spritesheet": true
},
"generate_subtitles": {
"audio_language": "en",
"subtitle_languages": [
"es",
"fr"
]
},
"drm": {
"enabled": true,
"widevine": {
"signing_secret": "YOUR_SECURE_PROXY_SECRET",
"license_proxy_url": "https://widevine.yourdomain.com/licence/"
},
"fairplay": {
"license_url": "https://license.fairplay.vidinfra.com",
"certificate_url": "https://yourdomain.com/fairplay.cer",
"application_service_key": "YOUR_APPLE_SERVICE_KEY",
"private_key_passphrase": "YOUR_PRIVATE_KEY_PASSPHRASE"
}
},
"basic_drm": true,
"mp4_access": false,
"keep_original": false
}
}
'{
"data": {
"updated_at": "2025-10-16T11:57:16.272724862+06:00",
"created_at": "2025-10-16T11:04:29.16848Z",
"created_by": "2fa3fe27-ffcd-470b-becf-83f6f22a93ab",
"updated_by": "2fa3fe27-ffcd-470b-becf-83f6f22a93ab",
"name": "Vidinfra Ultra Secure Profile",
"description": "4K adaptive bitrate profile with AES encryption, DRM, watermark, and subtitle generation.",
"transcoding": {
"drm": {
"widevine": {
"signing_secret": "YOUR_SECURE_PROXY_SECRET",
"license_proxy_url": "https://widevine.yourdomain.com/licence/"
},
"fairplay": {
"license_url": "https://license.fairplay.vidinfra.com",
"certificate_url": "https://yourdomain.com/fairplay.cer",
"application_service_key": "YOUR_APPLE_SERVICE_KEY",
"private_key_passphrase": "YOUR_PRIVATE_KEY_PASSPHRASE"
},
"enabled": true
},
"format": [
"abr"
],
"generate_subtitles": {
"audio_language": "en",
"subtitle_languages": [
"es",
"fr"
]
},
"resolutions": [
"144p",
"240p",
"360p",
"480p",
"720p",
"1080p",
"1440p",
"2160p"
],
"video_codec": [
"h264"
],
"thumbnail": {
"mode": "auto",
"format": "jpg",
"count": 6,
"spritesheet": true
},
"image_overlay": {
"url": "https://cdn.vidinfra.com/watermark.png",
"position": "bottom-right",
"opacity": 0.8,
"size": {
"width": 100,
"height": 60
},
"margin": {
"x": 100,
"y": 60
}
},
"per_title_encoding": true,
"basic_drm": true,
"mp4_access": false,
"keep_original": false
},
"id": "49f644c1-83cc-41cd-a1dd-19291b008ba4",
"organization_id": "677826f5-1aea-4cba-8973-043cdbc60f35",
"library_id": "3b06c833-b73c-43c3-8794-a123a0a6ef1d",
"is_default": false
},
"message": "Transcoding profile Updated Successfully",
"success": true
}Retrieve detailed configuration of a profile
curl --request PUT \
--url https://api.tenbyte.io/v1/stream/libraries/{libraryId}/transcoding/profiles/{profileId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "Vidinfra Ultra Secure Profile x",
"description": "4K adaptive bitrate profile with AES encryption, DRM, watermark, and subtitle generation x.",
"transcoding": {
"format": [
"abr"
],
"resolutions": [
"144p",
"240p",
"360p",
"480p",
"720p",
"1080p",
"1440p"
],
"video_codec": [
"h265"
],
"per_title_encoding": true,
"image_overlay": {
"url": "https://cdn.vidinfra.com/watermark.png",
"position": "bottom-right",
"opacity": 0.8,
"size": {
"width": 100,
"height": 60
},
"margin": {
"x": 100,
"y": 60
}
},
"thumbnail": {
"mode": "auto",
"format": "jpeg",
"count": 6,
"spritesheet": true
},
"generate_subtitles": {
"audio_language": "en",
"subtitle_languages": [
"es",
"fr"
]
},
"drm": {
"enabled": true,
"widevine": {
"signing_secret": "YOUR_SECURE_PROXY_SECRET",
"license_proxy_url": "https://widevine.yourdomain.com/licence/"
},
"fairplay": {
"license_url": "https://license.fairplay.vidinfra.com",
"certificate_url": "https://yourdomain.com/fairplay.cer",
"application_service_key": "YOUR_APPLE_SERVICE_KEY",
"private_key_passphrase": "YOUR_PRIVATE_KEY_PASSPHRASE"
}
},
"basic_drm": true,
"mp4_access": false,
"keep_original": false
}
}
'{
"data": {
"updated_at": "2025-10-16T11:57:16.272724862+06:00",
"created_at": "2025-10-16T11:04:29.16848Z",
"created_by": "2fa3fe27-ffcd-470b-becf-83f6f22a93ab",
"updated_by": "2fa3fe27-ffcd-470b-becf-83f6f22a93ab",
"name": "Vidinfra Ultra Secure Profile",
"description": "4K adaptive bitrate profile with AES encryption, DRM, watermark, and subtitle generation.",
"transcoding": {
"drm": {
"widevine": {
"signing_secret": "YOUR_SECURE_PROXY_SECRET",
"license_proxy_url": "https://widevine.yourdomain.com/licence/"
},
"fairplay": {
"license_url": "https://license.fairplay.vidinfra.com",
"certificate_url": "https://yourdomain.com/fairplay.cer",
"application_service_key": "YOUR_APPLE_SERVICE_KEY",
"private_key_passphrase": "YOUR_PRIVATE_KEY_PASSPHRASE"
},
"enabled": true
},
"format": [
"abr"
],
"generate_subtitles": {
"audio_language": "en",
"subtitle_languages": [
"es",
"fr"
]
},
"resolutions": [
"144p",
"240p",
"360p",
"480p",
"720p",
"1080p",
"1440p",
"2160p"
],
"video_codec": [
"h264"
],
"thumbnail": {
"mode": "auto",
"format": "jpg",
"count": 6,
"spritesheet": true
},
"image_overlay": {
"url": "https://cdn.vidinfra.com/watermark.png",
"position": "bottom-right",
"opacity": 0.8,
"size": {
"width": 100,
"height": 60
},
"margin": {
"x": 100,
"y": 60
}
},
"per_title_encoding": true,
"basic_drm": true,
"mp4_access": false,
"keep_original": false
},
"id": "49f644c1-83cc-41cd-a1dd-19291b008ba4",
"organization_id": "677826f5-1aea-4cba-8973-043cdbc60f35",
"library_id": "3b06c833-b73c-43c3-8794-a123a0a6ef1d",
"is_default": false
},
"message": "Transcoding profile Updated Successfully",
"success": true
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Unique identifier of the library.
Unique identifier of the targeted transcoding profile resource.
The name of the transcoding profile used to identify it within the library.
Transcoding property object.
Show child attributes
Output container formats to generate (e.g., hls, dash).
Video resolutions to produce (e.g., 720p, 1080p, 4k).
List of video codecs to use during encoding (e.g., h264).
Transcoding image overlay object.
Show child attributes
URL of the image to overlay (e.g., watermark or logo).
Position of the overlay image on the video (e.g., top-right, bottom-left).
Transparency level of the overlay image (0–1).
Enables per-title encoding optimization to improve quality and bitrate efficiency. Default value is true.
Transcoding thumbnails object.
Show child attributes
Thumbnail generation mode.
Output format for thumbnails (e.g., jpg, webp).
Number of thumbnails to generate.
Whether to generate a spritesheet containing multiple thumbnails.
Transcoding DRM object.
Show child attributes
Enables Digital Rights Management (DRM) for protected playback.
Show child attributes
License server URL for FairPlay DRM.
Certificate URL for FairPlay DRM authorization.
Application key used for FairPlay authentication.
Passphrase for the FairPlay private key.
Enables a simplified DRM protection mechanism.
Allows direct download or playback of MP4 files.
Keeps the original source file after transcoding completes.
Short summary describing the purpose or usage of this profile.
Show child attributes
Show child attributes
Show child attributes
Show child attributes