Updated on 2023-11-20 GMT+08:00

Introduction

This best practice guides you through OBS data processing by using FunctionGraph. (The function flow feature is available in CN East-Shanghai1 and AP-Singapore.)

Scenarios

Use a function flow to automatically process data in OBS, such as video analysis, image transcoding, and video frame capturing.

  • Upload images to a specified OBS bucket.
  • Orchestrate functions to download images from OBS for transcoding and return the transcoded images to the client using a stream.

    The function you create must be in the same region (default region recommended) as the OBS bucket.

Procedure

  • Create a bucket on the OBS console.
  • Upload images to the bucket.
  • Create a function.
  • Create a function flow and orchestrate functions.
  • Trigger the function to transcode images.

    After you complete the operations in this tutorial, your account will have the following resources:

    1. One OBS bucket (for storing uploaded images)
    2. One image processing function (test-rotate)
    3. One function flow (test-rotate-workflow)