S3 Video Uploader

S3 Video Uploader (serviceId birme-video-uploader) is a browser-based web application for uploading video files directly to an S3-compatible object store, with a drag-and-drop interface. In Eyevinn Open Source Cloud (OSC) it is a long-running service instance. License: MIT. It works with AWS S3, MinIO and other S3-compatible endpoints.

What it can do

  • Upload source video to storage from the browser, without a CLI or SDK.
  • Drag and drop files with upload progress shown in the browser, including large files.
  • Target any bucket on an S3-compatible endpoint.

Creating an instance

You need an S3-compatible bucket with write access. On OSC, create a MinIO instance (minio-minio) first and confirm it is running; read its URL, root user and root password with describe-service-instance, and create a bucket in it. Store the secret key as a service secret with create-service-secret (serviceId birme-video-uploader, for example name s3secret).

Then call create-service-instance with serviceId: "birme-video-uploader"; the name must be alphanumeric and at most 20 characters.

{
  "name": "myuploader",
  "s3Endpoint": "<minio-internal-url>",
  "s3AccessKey": "<minio-root-user>",
  "s3SecretKey": "{{secrets.s3secret}}"
}

Verify with wait-for-service-ready or get-instance-status; describe-service-instance returns the URL of the upload interface.

Options

Option Required Type Meaning
name Yes string Name of the instance. Alphanumeric, at most 20 characters.
s3Endpoint No string Endpoint URL of the S3 bucket service. Use the MinIO internal URL for OSC-hosted storage. In OSC it is associated with a MinIO instance (minio-minio, internal routing).
s3AccessKey Yes string, sensitive Access key (AWS access key ID, or the MinIO root user).
s3SecretKey Yes string, sensitive Secret key (AWS secret access key, or the MinIO root password). Use a service secret reference.
s3AwsRegion No string AWS region, for example eu-north-1. Not required for MinIO.

Sensitive options should be stored as service secrets and passed as {{secrets.NAME}}, which only works as the entire field value. Overwriting a secret does not restart a running instance.

MinIO options

Service minio-minio (AGPL-3.0):

Option Required Type Meaning
name Yes string Name of the instance.
RootUser No string Admin user name; the S3 access key (AWS_ACCESS_KEY_ID) when using an S3 client. Can be generated by the system.
RootPassword No string, sensitive Admin password; the S3 secret key (AWS_SECRET_ACCESS_KEY). At least 10 characters with a lowercase letter, an uppercase letter and a digit. Can be generated by the system.

Using the instance

  1. Open the instance URL.
  2. Select the target bucket from the dropdown (or enter a bucket name).
  3. Drag and drop a video file onto the upload area, or click to browse.
  4. The file uploads directly to S3 and progress is shown in the browser.

CLI:

osc create birme-video-uploader myuploader \
  -o s3Endpoint="<minio-internal-url>" \
  -o s3AccessKey="myrootuser" \
  -o s3SecretKey="{{secrets.minio-secret}}"

Resources