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
Managed Threat Detection
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/ Troubleshooting/ Video Freezes While Being Played

Video Freezes While Being Played

Updated on 2023-10-10 GMT+08:00

Symptom

A media file freezes when being played on the console or using a player. It is possible that:

  • The input file is corrupt.
  • The network bandwidth is insufficient. As a result, audio and video are not downloaded completely.
  • The decoding performance of the playback device is poor. As a result, audio and video cannot be decoded or rendered promptly.
  • The media file has not been pre-loaded so the user needs to obtain the file from the VOD origin server upon the first access.

You can play the input file on your local PC. If the input file can be played, perform the following operations to rectify the fault.

Pre-loading Media Files

Pre-load the media file on the VOD console or by calling APIs to distribute the media file to CDN nodes. In this way, the cache can be directly hit upon the first access, which prevents frame freezing during the first playback.

Change Hardware Configurations of the Playback Device

If the playback device has too low hardware configurations, the encoding and decoding speeds will become slow. As a result, freeze occurs. You can change hardware configurations of the playback device and play it again.

Change the Network Environment

If the network environment on the player side is poor, data may fail to be downloaded promptly. As a result, freeze occurs.

Perform an online bandwidth test. If the downlink bandwidth is insufficient, you are advised to switch the network environment. In the mean time, check whether downloading occupies high bandwidth. It is recommended that you do not perform any operations (such as downloading) that will occupy a large amount of bandwidth while playing.

Select Hard Decoding

Decoding HD videos requires higher decoding performance. If the decoding performance of the playback device is not good enough, the decoding speed may be slower than the video playback speed. In this case, use hard decoding to avoid video freezes.

Set the Buffer Size

To stop the video from freezing, you can enable the player to buffer some data before decoding and playback. However, if the player buffers too much audio and video data, the time to first frame (TTFF) will increase. Increase the buffer size of the player so that the player can download sufficient data each time before playing the content. However, this will also prolong the TTFF. Therefore, when setting the buffer size, you need to consider freeze and TTFF based on your needs to achieve a balance.

Select a Suitable Resolution

Playback of UHD, 2K, or 4K videos has high requirements on the downlink network and playback devices. If too high resolution videos are played on mobile devices, you cannot even notice the difference with other lower resolution videos. Therefore, when the video freezes, switch to a lower resolution so that content can load faster. In this way, video freezes can be avoided.

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