Shotstack now integrated with Google Cloud Storage

We're excited to announce that Shotstack is now integrated with Google Cloud Storage. This integration aims to provide a seamless file transfer experience with superior performance for your video editing needs. With Google Cloud Storage, you can conveniently host your data assets in the cloud and serve them using Google Cloud CDN.

Setting up the integration

To get started, follow these steps to ensure smooth integration:

  1. Create a bucket within your own Google Cloud Platform (GCP) account.
  2. Set up a dedicated Service Account with either Storage Object Creator or Storage Object Admin permissions to enable Shotstack to send files to your Google Cloud Storage account. Note: It's recommended to create a new Service Account solely for Shotstack's use, avoiding root or global permissions.
  3. Obtain the JSON credentials for the Service Account and add them in the designated fields within the Shotstack interface.

Integration guidelines for seamless file transfer

For basic file transfer to Google Cloud Storage, make the following modifications to the output parameter of the render payload:

"destinations": [
{
"provider": "google-cloud-storage",
"options": {
"bucket": "my-gcp-bucket"
}
}
]

By implementing this configuration, the rendered files will be sent to the specified bucket (e.g., my-gcp-bucket). Each file will be saved in the root level of the bucket, using the render ID as the filename with the respective extension (e.g., edc47d30-a504-4f16-8439-24c863a7a782.mp4). Additionally, any thumbnail and poster images generated during the rendering process will also be transferred to the Google Cloud Storage bucket.

For advanced configuration and better file organisation within the Google Cloud Storage bucket, you can specify a custom filename and prefix:

"destinations": [
{
"provider": "google-cloud-storage",
"options": {
"prefix": "testing",
"filename": "video",
"bucket": "my-gcp-bucket"
}
}
]

Using this configuration, the rendered file will be saved as video.mp4 with the prefix testing (acting as a virtual path within the Google Cloud Storage console), if it is an mp4 file.

Opting out from Shotstack's storage destination

If you prefer not to store your videos with Shotstack and instead solely use Google Cloud Storage, you can opt-out by adding the following to your destinations payload:

"destinations": [
{
"provider": "google-cloud-storage",
"options": {
"prefix": "testing",
"filename": "video",
"bucket": "my-gcp-bucket"
}
},{
"provider": "shotstack",
"exclude": true
}
]

This configuration ensures that your rendered files are not stored in Shotstack's storage, and they are directly sent to your specified Google Cloud Storage bucket.

Note: While you won't be using Shotstack's storage you will be using your bandwidth allowance.

Experience fast, efficient, and customisable video editing outputs

Leveraging the integration between Shotstack and Google Cloud Storage, you can efficiently handle and store your video editing outputs. This secure and straightforward process enables you to manage your rendered files seamlessly within your own cloud storage infrastructure. Enjoy the benefits of a fast, efficient, and customisable solution for your video automation needs.

Sign up for your Shotstack account now.

Debbie Gainsford

BY DEBBIE GAINSFORD
22nd June, 2023

Become an Automated Video Editing Pro

Every month we share articles like this one to keep you up to speed with automated video editing.


You might also like

Shotstack integrates with AWS S3

Shotstack integrates with AWS S3

Kusha Magar
JSON template editor launched

JSON template editor launched

Derk Zomer