Subtitle Switching via Dual Cache Synchronization
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing subtitle switching methods in multi-language subtitle video playback technologies face issues where switching languages during video playback results in the loss of synchronized subtitles, leading to delayed language changes and poor user experience, as previously synchronized subtitles are deleted, causing a gap in language synchronization.
Innovation Solution
A method and device that store synchronized multi-language subtitles in a second cache while displaying a first subtitle, allowing for immediate switching to a target language subtitle within the effective display duration by reading and displaying the corresponding subtitle from the second cache, ensuring seamless language switching without waiting for the next subtitle.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Loss of substance
If synchronized multi-language subtitles are deleted after display to reduce storage occupancy, then storage efficiency is improved, but subtitle language switching cannot be performed during playback
Solution Approach 1:
The subtitle system is segmented into multiple independent language versions, with each language subtitle stored as a separate entity in the cache. This allows selective retention of subtitles for different languages without requiring all of them to be kept simultaneously, enabling language switching while managing storage occupancy efficiently.
Solution Approach 2:
Multiple language subtitles are pre-loaded and stored in the cache before playback begins. This preliminary action ensures that when language switching is needed during playback, the target language subtitles are already available in the cache and can be displayed immediately without waiting for new subtitle generation or network requests.
2Quantity of substance
If only current subtitle is kept in cache to optimize memory usage, then memory efficiency is improved, but real-time subtitle language switching is delayed
Solution Approach 1:
The system pre-loads and stores multiple language subtitle versions in the cache before they are needed. This preliminary preparation ensures that when a language switch request occurs during playback, the target subtitles are already available in memory, eliminating switching delays without requiring excessive cache capacity.
Solution Approach 2:
The cache is optimized to store subtitle data with specific characteristics - maintaining multiple language versions for the current time window while allowing older subtitles to be discarded. This local quality optimization ensures that sufficient memory is allocated for immediate language switching needs without unnecessarily occupying cache space with outdated subtitle data.
3Speed
If all multi-language subtitles are retained in cache to enable instant switching, then subtitle switching speed is improved, but storage occupancy increases
Solution Approach 1:
Subtitle data is segmented by language and time window, allowing the cache to store multiple language versions only for the current playback timeframe. This segmentation enables fast language switching within the retained period while allowing systematic discarding of older subtitles, balancing switching speed with storage occupancy.
Solution Approach 2:
The cache retention policy is made dynamic, automatically adjusting which subtitles are retained based on current playback position and predicted switching needs. Subtitles are retained in the cache for a defined time window around the current playback position, ensuring fast switching capability during active playback while allowing automatic cleanup of obsolete subtitle data to manage storage occupancy.
Data Source
AI summary
Methods and display devices are provided for switching subtitles that are displayed on a screen. Switching subtitles includes storing, from a first cache and into a second cache, a second subtitle(s) synchronized with a first subtitle, where the first cache stores multi-language subtitles obtained by decoding a video file. The first subtitle is displayed in synchronization with video data in the video file, while the first subtitle and each of the second subtitle(s) have a same start time and a same end time, even while corresponding to different languages. In response to receiving a subtitle switching instruction that includes information associated with a first target language while the first subtitle is being displayed, one of the second subtitle(s) corresponding to the first target language from the second cache is read as a third subtitle, and the third subtitle is displayed.

