Qencode + Google Cloud

Transcode and deliver video directly to Google Cloud Storage buckets.

Overview

What This Integration Does

Qencode integrates with Google Cloud Storage (GCS) as both a source and destination for video transcoding jobs. Pull source video from any GCS bucket, transcode it with any Qencode feature, and write encoded output back automatically. GCS offers multi-regional redundancy, strong consistency, and direct integration with Cloud CDN for global delivery.

Architecture

How the Integration Works

Source

GCS bucket or URL

Qencode pulls your source video from a GCS bucket (or any URL).

Process

Transcode & package

Qencode transcodes, encrypts, and packages the video per your job configuration.

Deliver

Destination bucket

Encoded files are written directly to your destination GCS bucket.

Serve

Via Cloud CDN

Serve via Cloud CDN, or any HTTP endpoint pointing to the GCS bucket.

Getting Started

Setup Steps

  1. Create your storage bucket

    Create a GCS bucket in your preferred region and storage class.

    This step is completed in the Google Cloud Console — see GCS documentation

  2. Configure a service account

    Create a service account with storage.objects.create and storage.objects.get permissions. Generate a JSON key file.

    Store service account credentials securely. Never commit key files to source control.

  3. Add credentials to Qencode

    In Transcode Media, go to Third-Party Storage and select Google Cloud. Enter your Bucket Name, Access Key ID, and Secret Access Key. Enable Public permissions only if needed.

  4. Set destination in your transcode job

    In your API request, set the destination parameter to your GCS bucket URL.

  5. Verify the output

    After the job completes, check your GCS bucket for the encoded files. Qencode sends a webhook notification when writing is complete.

Implementation

Code Example

Request Example

MP4 output to GCS

{
  "query": {
    "source": "https://storage.googleapis.com/my-source-bucket/folder/input.mov",
    "format": [
      {
        "output": "mp4",
        "destination": {
          "url": "s3://storage.googleapis.com/my-bucket/folder/output.mp4",
          "key": "YOUR_ACCOUNT_KEY",
          "secret": "YOUR_ACCOUNT_SECRET",
          "permissions": "public-read"
        }
      }
    ]
  }
}

Replace placeholder credentials with your actual GCS service account credentials. Use environment variables in production.

For a step-by-step walkthrough, see Tutorial: Google Cloud Storage Integration

Pricing

Cost Context

Storage costs at Google Cloud

  • GCS Standard runs approximately $0.020/GB/month.
  • Nearline drops to $0.010/GB/month for infrequently accessed archives.
  • Pair with Cloud CDN for delivery.
See GCS pricingfor current rates.

Estimated total cost per hour of 1080p video

Qencode transcoding (HLS, H.264)

~$1.80


GCS storage (1 GB encoded output)

~$0.020/mo


Cloud CDN delivery (100 viewers × 1 GB)

~$8.00

Estimates based on standard configurations. Actual costs vary with codec, resolution, and encoding features. See Qencode pricing

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.

Let's talk

First Name
Last Name
Company
Email
Your Message

Contact us with any questions. We'd love to help.

Los Angeles, CA - (HQ)

San Francisco, CA

New York, NY