Setting up OCI Object Storage Output
Create a Bitmovin OCI Object Storage Output
To create a Bitmovin OCI output configuration for use with the encoding service, gather the credentials and storage details above.
Use the Dashboard UI
- Select the Encoding menu on the left and go to Outputs
- Click on Create in the upper right corner of the Outputs overview
- Select OCI Object Storage as the Output type
- Enter all required fields:
- Name: A descriptive name for this output
- Description: An optional description
- Namespace: Your Object Storage namespace
- Bucket Name: Your OCI bucket name
- Access Key: Your Customer Secret Key access key
- Secret Key: Your Customer Secret Key secret key
- Region: The OCI region where your bucket resides (e.g. us-ashburn-1)
- Click on Create
- Click on Create
Use a Bitmovin API SDK
Each of our Open API SDKs implements the Bitmovin API, making it easy to integrate with your project. Use the SDKs to create reusable output resources for your encodings.
Bitmovin API SDK - Output example:
const output = new GenericS3Output({
name: "my-oci-output-ts",
bucketName: BUCKET_NAME,
accessKey: ACCESS_KEY,
secretKey: SECRET_KEY,
host: `${NAMESPACE}.compat.objectstorage.${REGION}.oraclecloud.com`,
ssl: true,
port: 443,
signatureVersion: S3SignatureVersion.V4,
});
console.log("Sending request to Bitmovin API...");
const createdOutput =
await bitmovinApi.encoding.outputs.genericS3.create(output);See all available examples for each of our Bitmovin API SDKs in our GitHub Example Repository.
Using the Output in an Encoding
const encodingOutput = {
outputId: 'YOUR_OCI_OUTPUT_ID', // The ID returned when you created the output
outputPath: '/my-encoding-job/output/'
};OCI CDN vs. OCI Object Storage
Bitmovin outputs encoded files directly to OCI Object Storage, not to OCI CDN or any edge distribution layer.
To serve content via OCI CDN, configure your CDN origin to pull from the Object Storage bucket after encoding is complete. This is outside the scope of Bitmovin configuration and is managed through your OCI CDN settings.
Common Issues
Authentication failure on encoding:
The most common cause is an incorrectly formatted private key or mismatched fingerprint. Ensure the private key is in PEM format, includes the -----BEGIN RSA PRIVATE KEY----- header and footer, and corresponds to the fingerprint registered in OCI. Copy values directly from the OCI Console without introducing extra whitespace or line breaks.
Region mismatch error:
The region specified in your Bitmovin output configuration must exactly match the region where your OCI bucket resides. Using a region identifier in the wrong format (e.g., us-ashburn-1 vs iad) may cause resolution failures.
File transfer failure with special characters:
Filenames containing spaces or special characters (e.g., ProRes 8 channels.mov) may cause transfer failures. Best practice: use only alphanumeric characters, hyphens, and underscores in output paths and filenames.
Insufficient IAM permissions:
The OCI user associated with the API key must have the appropriate IAM policies to write objects to the bucket. Ensure a policy such as Allow group
Further Reading
For a full list of supported inputs and outputs, see the Bitmovin Supported Input and Output Storages documentation.
SDK code examples (Python, Java, .NET, and more) are available in the Bitmovin API SDK Examples repository on GitHub.
Updated about 1 month ago