Asynchronous Video Transcoding for Latency Reduction
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current video sharing systems face latency issues due to time-consuming transcoding processes, which affect playback performance and optimality, leading to suboptimal video streaming experiences for users.
Innovation Solution
Implementing asynchronous video transcoding by initially publishing videos in the original format and then converting them to HLS format, allowing immediate access while replacing the original with the converted version once available, thereby reducing latency and improving optimality.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Manufacturing precision
If video transcoding is performed before publishing, then optimality is improved, but latency increases
Solution Approach 1:
The system performs video transcoding in advance before the video is needed for playback. The transcoder converts the uploaded video into the target format (HLS) beforehand, so that when playback is requested, the pre-converted video is already available for immediate streaming, thus reducing latency while ensuring optimal quality.
2Loss of time
If video transcoding is performed quickly, then latency is reduced, but manufacturing precision deteriorates
Solution Approach 1:
The system introduces a transcoder as an intermediary component that handles the video format conversion. The transcoder is specifically designed to perform high-quality transcoding to the target format (HLS) while managing the conversion process efficiently. This intermediary ensures that the video quality is optimized during conversion while the overall latency is reduced through the pre-conversion approach.
Data Source
AI summary
Techniques for efficiently processing and publishing video via an online service are disclosed herein. In some embodiments, a computer system receives an original version of a video from a first computing device of a first user of an online service, determines that a converted version of the video is not available at a first point in time, publishes the original version of the video on the online service based on the request to post the video and on the determining that the converted version of the video is not available, determines that the converted version of the video is available at a second point in time subsequent to the first point in time, and publishes the converted version of the video on the online service based on the determining that the converted version of the video is available.


