Solution Overview
Scenarios
This solution uses a FunctionGraph Object Storage Service (OBS) trigger to transcode video files in an OBS bucket. The transcoding parameters are configured using environment variables. This solution depends on the third-party library ffmpeg for automatic transcoding, reducing labor costs.
Solution Architecture
This solution uses FunctionGraph to transcode video files uploaded to an OBS bucket. This solution architecture is illustrated below.
This solution will:
- Create two OBS buckets for storing original and transcoded video files, respectively.
- Create an agency in Identity and Access Management (IAM) to delegate FunctionGraph to access video files uploaded to an OBS bucket.
- Create a video transcoding function and an OBS trigger in FunctionGraph.
Advantages
Constraints
- Before deploying this solution, ensure that you have an account with access to the target region and sufficient balance for purchasing the resources listed in Resource and Cost Planning.
- Ensure that OBS buckets are empty before deleting them.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot