Dynamic Video Region Extension for Complete Subtitle Display
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
When editing subtitles for a video, the display region of the edited subtitles often exceeds the video display region, resulting in incomplete display of subtitle information after the video is released.
Innovation Solution
A method and apparatus that determine a video display region and an edited subtitle display region, calculate a first extension length and direction for the video display region based on region information, and extend the video display region to include the subtitle display region, ensuring complete display of subtitle information.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Loss of information
If the subtitle display region is allowed to exceed the video display region during editing, then the completeness of subtitle information is improved, but the consistency of display region boundaries deteriorates
Solution Approach 1:
The video display region is dynamically adjusted based on the subtitle display region requirements. When subtitles need to extend beyond the original video boundaries, the system automatically extends the video display region to accommodate the subtitles, making the boundary flexible rather than fixed. This resolves the contradiction by allowing the boundary to adapt dynamically to different display needs.
Solution Approach 2:
The system changes the parameters of the video display region (position, size, boundaries) based on the subtitle display requirements. By calculating the difference between video and subtitle regions and adjusting the video region parameters accordingly, the system ensures subtitles are fully visible while maintaining a consistent extended boundary.
2Loss of information
If the video display region is extended to accommodate subtitles, then the completeness of subtitle display is improved, but the complexity of region management increases
Solution Approach 1:
The system performs self-service by automatically calculating and adjusting the video display region based on subtitle requirements. The calculation unit automatically determines the extension needed, and the system self-adjusts the region boundaries without requiring manual intervention, thereby reducing management complexity while ensuring complete subtitle display.
Solution Approach 2:
The system uses feedback from the subtitle display region information to automatically adjust the video display region. By continuously monitoring whether subtitles are fully contained within the display region and making real-time adjustments, the system simplifies region management through automated feedback-driven adaptation.
3Ease of operation
If automatic extension of video display region is implemented, then user experience is improved, but the computational overhead increases
Solution Approach 1:
The system performs preliminary calculation of the required extension before actually extending the video display region. By pre-calculating the extension distance and direction based on subtitle position information, the system avoids repeated computational overhead during the actual display adjustment, thus improving user experience while minimizing computational burden.
Data Source
Figure 1~2
Figure 3~5
AI summary
The present invention provides a subtitle information display method and apparatus, an electronic device, and a computer readable medium. The method comprises: when an editing operation of a user for initial subtitle information of video information is detected, determining a video display region and an edited subtitle display region in an application display page; if the subtitle display region is not a subregion comprised in the video display region, determining a first extension length and a first extension direction for each edge length of the video display region on the basis of region information of the video display region and region information of the subtitle display region; performing, on the basis of the first extension length and the first extension direction, a corresponding extension on the video display region within a region range corresponding to the application display page, so that the extended video display region comprises the subtitle display region; and displaying edited subtitle information in the subtitle display region. The present invention achieves complete display of subtitle information.