Source
B2 bucket or URL
Qencode pulls your source video from a B2 bucket (or any URL).
Transcode and store video on Backblaze B2 — 75% less than AWS S3, with free egress to Cloudflare.
Qencode integrates with Backblaze B2 Cloud Storage as both a source and destination for video transcoding jobs. B2 provides an S3-compatible API, so configuring Qencode works the same as any S3-compatible provider — just point to your B2 endpoint. Pull source video from any B2 bucket, transcode it, and write the output back automatically. B2's low storage cost and free egress through Cloudflare’s Bandwidth Alliance make it one of the most cost-effective backends for video storage and delivery.
B2 bucket or URL
Qencode pulls your source video from a B2 bucket (or any URL).
Transcode & package
Qencode transcodes, encrypts, and packages the video per your job configuration.
Destination bucket
Encoded files are written directly to your destination B2 bucket.
Via any CDN
Serve via any CDN, or any HTTP endpoint pointing to the B2 bucket.
In the Backblaze web console go to Buckets, click “Create a bucket“. Set it to Private if you plan to use CDN or signed URLs for access control.
This step is completed in the Backblaze console — see B2 Cloud Storage documentation
In the Backblaze console, go to App Keys and create a new application key with read and write access scoped to your video bucket. Note the keyID and applicationKey.
Store your application key as an environment variable. Never commit credentials to source control.
In Transcode Media, go to Third-Party Storage and select Backblaze. Enter your Bucket Name, Access Key ID, and Secret Access Key. Enable Public permissions only if needed.
In your API request, set the destination parameter to your B2 bucket URL with the desired output path. Use the S3-compatible endpoint format.
After the job completes, check your B2 bucket for the encoded files. Qencode sends a webhook notification when writing is complete.
MP4 output to Backblaze B2
{
"query": {
"source": "https://myserver.com/my-source-folder/input.mov",
"format": [
{
"output": "mp4",
"destination": {
"url": "b2://backblaze.com/my-bucket/folder/output.mp4",
"key": "YOUR_ACCOUNT_KEY",
"secret": "YOUR_ACCOUNT_SECRET",
"permissions": "public-read"
}
}
]
}
}Replace placeholder credentials with your actual Backblaze access key and secret. Use environment variables in production.
For a step-by-step walkthrough, see Tutorial: Backblaze B2 Integration
Qencode transcoding (HLS, H.264)
~$1.80
B2 Storage (1 GB encoded output)
~$0.006/mo
Cloudflare CDN delivery (100 viewers × 1 GB)
$0.00 (Bandwidth Alliance)
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