このページは、お客様の言語ではご利用いただけません。Huawei Cloudは、より多くの言語バージョンを追加するために懸命に取り組んでいます。ご協力ありがとうございました。

Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
Help Center/ Video On Demand/ Best Practices/ Uploading a Media File to VOD

Uploading a Media File to VOD

Updated on 2024-01-25 GMT+08:00

Scenario Description

With the popularization of video services, a large number of media files need to be processed and distributed on a platform. Huawei Cloud Video on Demand (VOD) is a one-stop media service that implements video upload, automatic transcoding, media file management, and distribution acceleration. Before using the media file processing functions of VOD, you need to upload media files to VOD. Huawei Cloud VOD provides diverse upload methods for source files of different storage modes.

Upload Methods

Table 1 describes the media file upload methods supported by VOD.

Table 1 Upload methods

Upload Method

Application Scenario

Local Upload

This method is used to migrate media files stored on local disks to VOD.

Replicating Media Files from OBS to VOD

This method is used to replicate media file copies from OBS buckets to VOD.

Pull from URLs

This method is used to pull and store online media files to VOD.

Local Upload

Media files can be uploaded in batches to VOD. You can log in to the console on a browser to upload media files.

The local upload function provided by VOD has the following restrictions:
  • Due to security policies, the logout from the console will result in the failure of large file upload that takes a long time. When uploading a large number of files, you need to perform operations on the console to prevent automatic logout.
  • The following formats are supported:
    • Video files: MP4, TS, MOV, MXF, MPG, FLV, WMV, AVI, M4V, F4V, MPEG, 3GP, ASF, and MKV
    • Audio files: MP3, OGG, WAV, WMA, APE, FLAC, AAC, AC3, MMF, AMR, M4A, M4R, WV, and MP2
Local upload from the console
  1. Log in to the VOD console.
  2. In the navigation pane, choose Audio and Video Uploads > Upload File.
  3. Click Add File to add media files stored on the local host.

    You can select a transcoding template or workflow in Process. After the media files are uploaded, the system automatically processes the uploaded files.

  4. Click Upload.

    How long the upload takes depends on the file size and network conditions.

Local upload using APIs

Replicating Media Files from OBS to VOD

If you have stored a large number of media files in an OBS bucket before subscribing to VOD and want to use the transcoding and snapshot capturing functions of VOD to process the media files, you can use this function to replicate the media file copies from the OBS bucket to VOD and then use the functions of VOD.

The function of replicating data from OBS to VOD has the following restrictions:
  • Cross-region data replication is not supported. For example, media files stored in an OBS bucket of CN North-Beijing4 can only be replicated to the VOD in CN North-Beijing4.
  • When you use data replication, media files in an OBS bucket are copied to VOD. If the media files in the OBS bucket are not deleted, you will be billed for the storage in both OBS and VOD.
  • The following formats are supported:
    • Video files: MP4, TS, MOV, MXF, MPG, FLV, WMV, AVI, M4V, F4V, MPEG, 3GP, ASF, and MKV
    • Audio files: MP3, OGG, WAV, WMA, APE, FLAC, AAC, AC3, MMF, AMR, M4A, M4R, WV, and MP2

You can only replicate data from OBS to VOD by calling the API for Replicating Media Files from OBS to VOD.

Pull from URLs

Online media files can be pulled and uploaded to VOD. The URL extraction function provided by VOD has the following restrictions:
  • A maximum of 100 media files can be pulled at a time on the console, and a maximum of 16 media files can be pulled at a time using APIs.
  • The URL to be pulled must directly point to media files and cannot be a page URL of a website. The following URL suffixes are supported:
    • Video files: MP4, TS, MOV, MXF, MPG, FLV, WMV, AVI, M4V, F4V, MPEG, 3GP, ASF, and MKV
    • Audio files: MP3, OGG, WAV, WMA, APE, FLAC, AAC, AC3, MMF, AMR, M4A, M4R, WV, and MP2
  • Currently, only HTTPS and HTTP are supported. HTTP has security risks. HTTPS is recommended.
  • A new media file ID is generated for the media file obtained from other cloud service providers. The original media file ID cannot be inherited.
File pull and upload on the console
  1. Log in to the VOD console.
  2. In the navigation pane, choose Audio and Video Uploads > Pull from URLs.
  3. Click Pull from URLs and enter media file URLs.

    You can select a transcoding template or workflow in Process. After the media file is pulled, the system automatically processes the file.

  4. Click OK. You can view the task status in the URL pull list.
File pull and upload using APIs
  1. Obtain the user token for API calling. For details, see Constructing a Request.
  2. Call the API for Pulling Media Files from URLs and configure the parameters for batch pulling media files from URLs and media file processing in the request parameters.
  3. Call the API for querying media files to view the pull result.

    Wait for one or two minutes (depending on the size of the video file) and then query the pull result.

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback