Subtitle Overflow Detection via Secure Zone and Text Analysis
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Conventional technologies require human intervention to determine and adjust for subtitles that extend beyond the screen scope during video playback on terminal devices, affecting the viewing experience.
Innovation Solution
A method and apparatus that acquire size information of a terminal's display, establish a secure zone, select video frames, generate composite frames from frames beyond the secure zone, and use a text judgment model to determine if subtitles are beyond scope, with the option to scale subtitles or video to fit within the secure zone.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Area of stationary object
If the video size is larger than the terminal screen size, then more video content can be displayed, but subtitles may extend beyond the screen scope affecting viewing experience
Solution Approach 1:
The system performs preliminary detection of subtitle positions and screen boundaries before video playback, establishing a secure zone that guarantees subtitle visibility. By pre-calculating the safe display area based on screen dimensions and subtitle metadata, the system prevents subtitle overflow issues before they occur, rather than reacting to them during playback.
Solution Approach 2:
The system uses subtitle position information and screen size parameters to dynamically adjust video scaling or subtitle positioning. By continuously monitoring whether subtitles fall within the secure zone and providing feedback to the rendering engine, the system automatically corrects any overflow issues without user intervention.
2Reliability
If manual adjustment of subtitle position or video resolution is required, then subtitle visibility can be ensured, but user convenience is reduced
Solution Approach 1:
The system automatically detects subtitle positions, calculates the secure display zone, and adjusts video rendering parameters without requiring user intervention. The playback engine self-corrects subtitle overflow issues by modifying scale or position based on pre-calculated safe zones, making the entire process transparent to the user.
Solution Approach 2:
The system dynamically changes rendering parameters such as video scale factor or subtitle offset based on the calculated secure zone. By adjusting these parameters automatically according to screen dimensions and subtitle metadata, the system ensures subtitle visibility while maintaining optimal video quality without user involvement.
3Reliability
If the video is scaled down to fit the screen, then subtitles remain visible, but video quality may be reduced
Solution Approach 1:
Instead of uniformly scaling the entire video, the system applies local adjustments only to the video portion that extends beyond the secure zone. The video is rendered at full quality within the secure zone where subtitles are guaranteed to be visible, while only the overflow portions are adjusted or cropped, preserving overall video quality.
Solution Approach 2:
The display area is segmented into a secure zone and a non-secure zone. The video is rendered differently in each zone: full quality in the secure zone to maintain subtitle visibility, and adjusted rendering in the non-secure zone. This segmentation allows the system to preserve video quality in critical areas while managing subtitle overflow in less critical areas.
Data Source
AI summary
A method, an apparatus and an electronic device for processing a subtitle beyond scope are provided. In the method, size information of a display device of a terminal is acquired, where the size information indicates a size of the display device. A secure zone is established according to the size information, where the secure zone has a size less than or equal to the size of the display device. A video frame is selected from video images in response to playing the video images by the terminal. A composite frame is generated using parts of the video frame that are beyond the secure zone. It is judged whether the composite frame contains text. It is determined that a subtitle in the video images is beyond scope if the composite frame contains text.


