Source
Any storage or URL
Qencode ingests your source video from any storage provider or URL.
Encrypt with Widevine, FairPlay, and PlayReady through BuyDRM's KeyOS — no license server to manage.
Qencode integrates with BuyDRM's KeyOS multi-DRM platform to deliver Widevine, FairPlay, and PlayReady encryption in a single transcoding workflow. Qencode handles encoding and packaging; KeyOS provides the key server and license delivery. BuyDRM is the most common DRM partner for Qencode customers, offering a fully managed license server that removes the complexity of running your own DRM infrastructure.
Any storage or URL
Qencode ingests your source video from any storage provider or URL.
Encode & Encrypt
Qencode transcodes the video and requests encryption keys from BuyDRM's KeyOS key server.
Key & license server
Qencode writes encrypted HLS and/or DASH output with KeyOS-managed keys to your storage.
Licensed playback
The viewer's device requests a license from KeyOS. BuyDRM validates and delivers the decryption key.
Register for a BuyDRM KeyOS account and obtain your API credentials and license server URLs for Widevine, FairPlay, and/or PlayReady.
This step is completed in the BuyDRM KeyOS dashboard — see BuyDRM documentation
In the Qencode dashboard, go to Settings → DRM and add your BuyDRM KeyOS API key and license server endpoints.
If you need FairPlay support, upload your Apple FairPlay Streaming certificate (.cer) to both BuyDRM KeyOS and Qencode.
You must obtain the FairPlay certificate directly from Apple — see Apple FairPlay Streaming
Add the buydrm_drm parameter to your format array, specifying the DRM type and BuyDRM as the provider.
Use a test player (Shaka Player for Widevine/PlayReady, Safari for FairPlay) to verify license acquisition and encrypted playback across all target DRM systems.
Widevine DRM via BuyDRM KeyOS
{
"query": {
"source": "https://your-storage.com/video.mp4",
"format": [
{
"output": "advanced_hls",
"separate_audio": 1,
"stream": [
{
"video_codec": "libx265",
"resolution": 2160,
"optimize_bitrate": 1,
"framerate": "30",
"keyframe": "90"
}
],
"segment_duration": "6",
"buydrm_drm": {
"request": "{cpix_request}"
}
}
]
}
}Replace placeholder credentials with your actual BuyDRM API key and KeyOS endpoint. Use environment variables in production.
For a step-by-step walkthrough, see Tutorial: BuyDRM Integration
We love creating powerful solutions that are aligned with the needs of your business.
Please send us a message if you have a question or Schedule a call for a demo to discuss your integration.
Contact us with any questions. We'd love to help.
Los Angeles, CA - (HQ)
San Francisco, CA
New York, NY