Livestream Playback Generation With Periodic Data Replacement
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing live stream playback generation methods are time-consuming and lack timeliness, requiring high player adaptation and long buffering times, making it difficult for users to view playback quickly after a live stream ends.
Innovation Solution
Initiate generation of playback data at predetermined intervals during a live stream, allowing for immediate access entry provision and continuous data replacement, utilizing transmuxing to speed up the process and support selective content generation.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Loss of time
If traditional live stream playback generation methods are used, then complete playback data is available, but the process is time-consuming and lacks timeliness
Solution Approach 1:
The system initiates playback data generation at predetermined instants during the live stream before it ends, rather than waiting for completion. This preliminary action allows playback data to be prepared in advance, reducing the time loss for users while ensuring sufficient data is generated for reliable playback.
Solution Approach 2:
The playback data generation process is segmented into multiple instances occurring at different predetermined instants during the live stream. Each segment generates playback data for a portion of the content, allowing parallel processing and reducing overall generation time while maintaining data completeness through accumulation.
2Productivity
If playback data is generated during live stream, then timeliness is improved, but player adaptation complexity increases
Solution Approach 1:
The system changes the timing parameters of playback data generation by establishing predetermined instants during the live stream. This parameter change allows the system to control when playback data is generated, improving productivity while managing player adaptation complexity through predictable, scheduled generation events rather than continuous processing.
3Loss of time
If traditional methods are used to ensure complete playback, then data completeness is maintained, but buffering time increases
Solution Approach 1:
Playback data is generated in advance at predetermined instants during the live stream, performing the preparation action before it is actually needed. This preliminary generation reduces buffering time significantly while maintaining data readiness through careful timing selection, ensuring sufficient data is prepared without requiring excessive buffering.
Data Source
Figure 1
Figure 2
Figure 3
AI summary
According to embodiments of the disclosure, a method, apparatus, device, and computer-readable storage medium for live stream playback generation are provided. The method includes: initiating, at a first instant during a live stream, generation of first playback data associated with a live stream content from a live stream starting instant to the first instant; in response to a completion of the generation of the first playback data, providing an access entry for the first playback data; initiating, at a second instant during the live stream, generation of second playback data associated with a live stream content from the live stream starting instant to the second instant; and in response to a completion of the generation of the second playback data, associating the second playback data to the access entry to replace the first playback data. Thus, a seamless transition between live stream and playback can be ensured by periodically generating playback data during a live stream and replacing old playback data.