Double-screen television subtitle display method, double-screen television and storage medium
By detecting and processing video resources in dual-screen TVs, separating and playing videos and subtitles separately, the problem of scrolling subtitles on the home screen affecting the user experience is solved, and a better video viewing experience is achieved.
Patent Information
- Application Number
- CN202411938151.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-26
- Publication Date
- 2025-04-08
AI Technical Summary
In existing dual-screen TVs, the scrolling subtitles on the home screen distract users and affect the user's experience of watching video content.
By obtaining the initial video resources, detecting their subtitle suppression methods, and processing the video resources according to different methods, separating the target subtitles and target videos. Then, in response to the user's instructions, the target video is played on the home screen and the target subtitles are played synchronously on the sub-screen.
It effectively solves the problem that scrolling subtitles on the home screen affects users' viewing content, improves the user's viewing experience, and users can turn subtitles on or off as needed.
Smart Images

Figure CN119788895A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of television display, and in particular to a dual-screen television subtitle display method, a dual-screen television and a storage medium. Background Art
[0002] In existing dual-screen TVs, the main screen on the top is used to play TV programs or streaming media content, and the sub-screen on the bottom is used to display customized content such as advertisements or weather. TV programs or streaming media content on the main screen are often accompanied by scrolling subtitles at the bottom. Although these subtitles are crucial to understanding the plot, they inevitably distract users' attention and affect users' viewing of video content.
[0003] Therefore, the prior art has defects and needs to be improved and developed. Summary of the invention
[0004] The technical problem to be solved by the present invention is that, in view of the above-mentioned defects of the prior art, a dual-screen TV subtitle display method, a dual-screen TV and a storage medium are provided, aiming to solve the problem in the prior art that the scrolling subtitles on the main screen of the dual-screen TV affect the user's viewing of the video content.
[0005] The technical solution adopted by the present invention to solve the technical problem is as follows:
[0006] In a first aspect, an embodiment of the present invention provides a dual-screen television subtitle display method, the method comprising:
[0007] Get the initial video resource;
[0008] Detecting a subtitle suppression method of the initial video resource;
[0009] Processing the initial video resource according to the subtitle compression method to obtain target subtitles and target video;
[0010] In response to the subtitle opening instruction, the target video is played on the main screen of the dual-screen TV, and the target subtitles are played synchronously on the secondary screen of the dual-screen TV.
[0011] In one implementation, the processing of the initial video resource according to the subtitle compression method to obtain target subtitles and target video includes:
[0012] If the subtitle compression method is a subtitle plug-in method, the video file in the initial video resource is used as the target video, and the subtitle file corresponding to the video file is used as the target subtitle;
[0013] If the subtitle compression method is the subtitle internal sealing method, parsing the container format of the video file, extracting the subtitles therein as target subtitles, and using the video after removing the subtitles as the target video;
[0014] If the subtitle suppression method is a subtitle embedding method, a preset deep learning neural network is used to identify the subtitles in the video file as target subtitles, remove the subtitles in the video file, and perform image repair and filling processing on the subtitle removal area in the video file to obtain the target video.
[0015] In one embodiment, the method of using a preset deep learning neural network to identify subtitles in the video file as target subtitles, removing subtitles from the video file, and performing image restoration and padding processing on the subtitle removal area in the video file to obtain a target video includes:
[0016] Processing the video file using a preset deep learning neural network to identify image elements and subtitles of each frame in the video file;
[0017] Using the identified subtitles as target subtitles;
[0018] According to the identified image elements, the subtitle removal area in the video file is repaired and filled to obtain the target video.
[0019] In one embodiment, the deep learning neural network includes an input layer, a convolution layer, a pooling layer, a fully connected layer, and an output layer; the processing of the video file using a preset deep learning neural network to identify image elements and subtitles of each frame in the video file includes:
[0020] Input the video file into the input layer of the deep learning network, and transmit it to the convolution layer through the input layer;
[0021] Extracting features from the video file through the convolution layer to obtain an initial feature map, which is then transmitted to the pooling layer;
[0022] The pooling layer uses a preset strategy to perform dimensionality reduction processing on the initial feature map to obtain a second feature map, which is transmitted to the fully connected layer;
[0023] The features extracted from the second feature map are integrated and mapped through the fully connected layer to obtain a number of feature vectors, which are transmitted to the output layer and processed by the output layer to output the image elements and subtitles of each frame in the video file.
[0024] In one implementation, playing the target video on the main screen of the dual-screen TV and synchronously playing the target subtitles on the secondary screen of the dual-screen TV include:
[0025] Performing time synchronization processing on the target video and the target subtitles using a preset synchronization algorithm;
[0026] The target video after synchronization processing is played on the main screen of the dual-screen TV, and the target subtitles are synchronously played on the secondary screen of the dual-screen TV.
[0027] In one embodiment, after the target video is played on the main screen of the dual-screen TV and the target subtitles are played on the secondary screen of the dual-screen TV in response to the subtitle opening instruction, the method further includes:
[0028] In response to the hidden subtitle instruction, the target video is maintained to be played on the main screen of the dual-screen TV, and the target subtitle is stopped to be played on the secondary screen of the dual-screen TV.
[0029] In one embodiment, the method further comprises:
[0030] In response to the subtitle closing instruction, the initial video resource is played on the main screen of the dual-screen TV.
[0031] In one embodiment, the size of the dual-screen TV main screen is larger than the size of the dual-screen TV sub-screen, and the dual-screen TV sub-screen is located below the dual-screen TV main screen.
[0032] In a second aspect, an embodiment of the present invention further provides a dual-screen television, comprising a memory, a processor, and a dual-screen television subtitle display program stored in the memory and executable on the processor, wherein the dual-screen television subtitle display program implements the steps of the dual-screen television subtitle display method as described above when executed by the processor.
[0033] In a third aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a dual-screen television subtitle display program, and the dual-screen television subtitle display program can be executed to implement the steps of the dual-screen television subtitle display method as described above.
[0034] Beneficial effects of the present invention: The present invention obtains an initial video resource; detects a subtitle suppression method of the initial video resource; processes the initial video resource according to the subtitle suppression method to obtain a target subtitle and a target video; responds to a subtitle opening instruction, plays the target video on the main screen of a dual-screen TV, and plays the target subtitle on the secondary screen of the dual-screen TV synchronously. The present invention processes the initial video resource, separates the video and the subtitle, and plays them synchronously on the main screen and the secondary screen of the dual-screen TV, respectively, effectively solving the problem that the scrolling subtitles on the main screen of the dual-screen TV affect the user's viewing of the video content. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 It is a flow chart of a preferred embodiment of the dual-screen television subtitle display method of the present invention.
[0036] Figure 2It is a schematic diagram of the process of deep learning neural network processing video in the present invention.
[0037] Figure 3 It is a schematic diagram of the display after the auxiliary screen of the dual-screen TV in the present invention receives the instruction.
[0038] Figure 4 It is a schematic diagram of the display after the dual-screen television in the present invention receives the instruction to turn on subtitles.
[0039] Figure 5 It is a display schematic diagram of the dual-screen television after receiving the hidden subtitle instruction in the present invention.
[0040] Figure 6 It is a schematic diagram of the process processing of three instructions in the present invention.
[0041] Figure 7 It is a schematic diagram of a dual-screen television screen in the present invention.
[0042] Figure 8 It is a principle block diagram of the dual-screen television of the present invention. DETAILED DESCRIPTION
[0043] In order to make the purpose, technical solution and advantages of the present invention clearer and more specific, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0044] In existing dual-screen TVs, the main screen on the top is used to play TV programs or streaming media content, and the sub-screen on the bottom is used to display customized content such as advertisements or weather. TV programs or streaming media content on the main screen are often accompanied by scrolling subtitles at the bottom. Although these subtitles are crucial to understanding the plot, they inevitably distract users' attention and affect users' viewing of video content.
[0045] In view of the above-mentioned defects of the prior art, the present invention provides a dual-screen TV subtitle display method, a dual-screen TV and a storage medium, which belongs to the field of TV display technology. The method includes: obtaining an initial video resource; detecting a subtitle suppression method of the initial video resource; processing the initial video resource according to the subtitle suppression method to obtain a target subtitle and a target video; in response to an instruction to turn on subtitles, playing the target video on the main screen of the dual-screen TV, and playing the target subtitle on the secondary screen of the dual-screen TV synchronously. The present invention processes the initial video resource, separates the video and subtitles, and plays them synchronously on the main screen and secondary screen of the dual-screen TV, respectively, effectively solving the problem that the scrolling subtitles on the main screen of the dual-screen TV affect the user's viewing of the video content.
[0046] See also Figure 1 The dual-screen television subtitle display method described in the embodiment of the present invention comprises the following steps:
[0047] Step S100: Acquire initial video resources.
[0048] Specifically, the initial video resources are obtained from various sources, such as local storage devices, streaming media service platforms, external devices, etc. The initial video resources are video resources to be played on the dual-screen TV, which can be movies, TV series, documentaries, live sports events, and other types.
[0049] See also Figure 1 The dual-screen television subtitle display method described in the embodiment of the present invention further includes the following steps:
[0050] Step S200: Detecting the subtitle compression method of the initial video resource.
[0051] Specifically, in the prior art, subtitles are usually compressed into videos in three forms. The first is an external subtitle form, that is, the subtitle file is transmitted together with the video file, and the player automatically loads it; the second is an internal subtitle form, in which the subtitle is encoded into the video container as a single video file and played together with the video code stream; the third is an embedded subtitle form, in which the subtitle and the video are combined into one video file, and the subtitle is played together as part of the image of the video frame. After the initial video resource is acquired, the present invention needs to detect its subtitle compression method, so as to subsequently separate the subtitles and video in the initial video resource according to the subtitle compression method.
[0052] In one implementation, the detecting the subtitle suppression method of the initial video resource includes:
[0053] Detecting whether the initial video resource includes a file;
[0054] If the initial video resource includes a video file and a subtitle file corresponding to the video file, determining that the subtitle compression method of the initial video resource is a subtitle plug-in method;
[0055] If the initial video resource only includes a video file, the video file of the initial video resource is analyzed to determine a subtitle compression method of the initial video resource.
[0056] Specifically, when the initial video resource is detected, the video file and the subtitle file are searched according to the preset matching rules. If the matching video file and subtitle file are found, it is considered that the video file corresponds to the subtitle file. The matching rule can be the same name, that is, when it is found that the name of the video file and the subtitle file are the same, it is considered that the video file corresponds to the subtitle file with the same name. At this time, it is determined that the subtitle compression method of the initial video resource is the subtitle plug-in method. If the initial video resource only contains video files, further analysis is performed to determine its subtitle compression method. The present invention can not only identify the subtitle plug-in method (that is, the video file and the subtitle file are stored separately), but also further analyze the subtitle compression method when only the video file is included. This increases the flexibility and scope of application of the method, and can cope with video resources with different subtitle compression methods. After accurately judging the subtitle compression method, different subsequent processing strategies can be adopted according to different methods.
[0057] In one implementation, analyzing the video file of the initial video resource to determine the subtitle compression method of the initial video resource includes:
[0058] Parsing the container format of the video file, and if independent subtitle track information is detected in the container format, determining that the subtitle compression mode of the initial video resource is an internal subtitle compression mode;
[0059] If no independent subtitle track information is detected, the image frame of the video file is analyzed, and if subtitle information exists in the image frame, it is determined that the subtitle compression mode of the initial video resource is a subtitle embedded mode.
[0060] Specifically, the container format of the video file is parsed first. The container format determines how the video and subtitles are packaged together. The container format can be MP4, MKV, AVI, etc. When parsing the container format, it will detect whether there is independent subtitle track information in the container format. If so, the subtitle compression method is determined to be subtitle internal. If not, the image frame of the video file is analyzed. If the subtitle information can be extracted from the image frame using image processing technology, the subtitle compression method is determined to be subtitle embedded, which means that the subtitle data has been directly embedded into the video frame and becomes part of the video.
[0061] See also Figure 1 The dual-screen television subtitle display method described in the embodiment of the present invention further includes the following steps:
[0062] Step S300: Process the initial video resource according to the subtitle compression method to obtain target subtitles and target video.
[0063] Specifically, according to different subtitle compression methods, the initial video resources are processed in different ways to separate the target subtitles and target videos in the initial video resources. The target subtitles are the subtitle files in the initial video resources, and the target video is the video file in the initial video resources. The separated subtitles and videos provide more choices and convenience. Users can choose whether to display subtitles according to their needs. At the same time, since the subsequent target video and target subtitles are played on the main screen and the secondary screen respectively, it also effectively solves the problem that the scrolling subtitles on the main screen of the dual-screen TV affect the user's viewing of video content.
[0064] In one implementation, the processing of the initial video resource according to the subtitle suppression method to obtain target subtitles and target video includes:
[0065] If the subtitle compression method is a subtitle plug-in method, the video file in the initial video resource is used as the target video, and the subtitle file corresponding to the video file is used as the target subtitle;
[0066] If the subtitle compression method is the subtitle internal sealing method, parsing the container format of the video file, extracting the subtitles therein as target subtitles, and using the video after removing the subtitles as the target video;
[0067] If the subtitle suppression method is a subtitle embedding method, a preset deep learning neural network is used to identify the subtitles in the video file as target subtitles, remove the subtitles in the video file, and perform image repair and filling processing on the subtitle removal area in the video file to obtain the target video.
[0068] Specifically, when the subtitle suppression method is the subtitle embedding method, the present invention will perform image repair and filling processing on the subtitle removal area in the video through a deep learning neural network, which can provide a better quality video picture and effectively improve the user's visual experience. In a dual-screen TV environment, the scrolling subtitles on the main screen tend to distract the user's attention and affect the user's focus on watching the video content. By displaying the target subtitles on the secondary screen and only displaying the pure video picture on the main screen, the user can focus more on the video content and improve the viewing experience.
[0069] In one implementation, the method of using a preset deep learning neural network to identify subtitles in the video file as target subtitles, removing subtitles from the video file, and performing image restoration and padding processing on the subtitle removal area in the video file to obtain a target video includes:
[0070] Processing the video file using a preset deep learning neural network to identify image elements and subtitles of each frame in the video file;
[0071] Using the identified subtitles as target subtitles;
[0072] According to the identified image elements, the subtitle removal area in the video file is repaired and filled to obtain the target video.
[0073] Specifically, the video file is processed using a deep learning neural network, and each frame of the video file is input into the deep learning neural network, which recognizes the image elements and subtitles of each frame.
[0074] In one implementation, the deep learning neural network includes an input layer, a convolution layer, a pooling layer, a fully connected layer, and an output layer; the processing of the video file using a preset deep learning neural network to identify image elements and subtitles of each frame in the video file includes:
[0075] Input the video file into the input layer of the deep learning network, and transmit it to the convolution layer through the input layer;
[0076] Extracting features from the video file through the convolution layer to obtain an initial feature map, which is then transmitted to the pooling layer;
[0077] The pooling layer uses a preset strategy to perform dimensionality reduction processing on the initial feature map to obtain a second feature map, which is transmitted to the fully connected layer;
[0078] The features extracted from the second feature map are integrated and mapped through the fully connected layer to obtain a number of feature vectors, which are transmitted to the output layer and processed by the output layer to output the image elements and subtitles of each frame in the video file.
[0079] Specifically, in the present invention, the deep learning neural network is a convolutional neural network model (CNN). Figure 2 As shown, after each frame of the video file is input, it is processed by the convolution layer, pooling layer, and fully connected layer to identify the image elements and subtitles of each frame. The present invention uses a deep learning neural network to extract the image elements and subtitles of each frame. After the target subtitles are extracted, the subtitle removal area in the video file can be repaired and filled according to the identified image elements to obtain the target video, so that the user can obtain complete and high-quality picture content, which provides a basis for the subsequent use of the main screen and the secondary screen of the dual-screen TV to display the video and subtitles.
[0080] In one implementation, a SOC (System on chip) is used to obtain an image of each frame in an input video file, and multiple frames are stored in a cache, so as to reserve enough time for subsequent algorithms to process images and subtitles.
[0081] See also Figure 1 The dual-screen television subtitle display method described in the embodiment of the present invention further includes the following steps:
[0082] Step S400, in response to the subtitle opening instruction, the target video is played on the main screen of the dual-screen TV, and the target subtitles are synchronously played on the secondary screen of the dual-screen TV.
[0083] Specifically, the present invention has three commands for subtitles, namely, closing subtitles, opening subtitles and hiding subtitles, which can be sent based on a remote control or voice command, and are not limited here. When the TV receives the command, the command is displayed on the secondary screen, such as Figure 3 When the subtitle opening command is issued, the SOC (System on chip) will play the target video and target subtitles on the main screen and the secondary screen of the dual-screen TV respectively, as shown in FIG. Figure 4 This method can effectively improve the user's viewing experience of video content.
[0084] In one implementation, playing the target video on the main screen of the dual-screen TV and synchronously playing the target subtitles on the secondary screen of the dual-screen TV include:
[0085] Performing time synchronization processing on the target video and the target subtitles using a preset synchronization algorithm;
[0086] The target video after synchronization processing is played on the main screen of the dual-screen TV, and the target subtitles are synchronously played on the secondary screen of the dual-screen TV.
[0087] Specifically, the present invention uses a preset synchronization algorithm to perform time synchronization processing on the target video and the target subtitles to ensure that the subtitles and video can be played synchronously. The preset synchronization algorithm can be a synchronization algorithm based on a timestamp.
[0088] In one implementation, after responding to the subtitle opening instruction, playing the target video on the main screen of the dual-screen TV, and synchronously playing the target subtitles on the secondary screen of the dual-screen TV, the method further includes:
[0089] In response to the hidden subtitle instruction, the target video is maintained to be played on the main screen of the dual-screen TV, and the target subtitle is stopped to be played on the secondary screen of the dual-screen TV.
[0090] Specifically, when the remote control issues a closed caption command, the SOC (System on chip) stops playing the target subtitles on the secondary screen of the dual-screen TV. At this time, only the main screen will play the video content, such as Figure 5As shown. Viewers can turn subtitles on or off at any time according to their needs, effectively improving the user's viewing experience. The closed subtitle function is very practical in many scenarios. For example, when watching foreign language movies or TV series, viewers can turn on subtitles to help understand the dialogue; when they are immersed in the plot and want to focus more on the picture and sound effects, or when they are practicing their listening skills, they can turn off subtitles at any time to avoid subtitles interfering with their vision.
[0091] In one implementation, the method further includes:
[0092] In response to the subtitle closing instruction, the initial video resource is played on the main screen of the dual-screen TV.
[0093] Specifically, when the dual-screen TV receives a command to turn off subtitles, the SOC (System on chip) directly plays the initial video resource on the main screen of the dual-screen TV, and no longer extracts subtitles to play on the secondary screen.
[0094] The process diagram for the three instructions in the present invention is as follows: Figure 6 As shown. When the remote control or voice issues a command to turn on subtitles, the "Subtitle" OSD menu switch button on the secondary screen is selected to the "On" option, the target subtitles and target video are processed by an algorithm, the image in the filled target video is displayed on the main screen of the dual-screen TV, and the target subtitles are displayed on the secondary screen. The "Subtitle" OSD menu is hidden after 5 seconds. This display method allows users to watch the video content on the main screen more attentively, effectively avoiding the impact of rolling subtitles on user viewing; when the remote control or voice issues a command to hide subtitles, the target subtitles and target video are processed by an algorithm, the image in the filled target video is displayed on the main screen of the dual-screen TV, and the target subtitles are hidden, and the "Subtitle" OSD menu is hidden after 5 seconds. This method allows users to turn off subtitles according to personal needs. In the case of immersive viewing of the plot or listening training, this method can be widely used; when the remote control or voice issues a command to turn off subtitles, no processing is done, and the initial video resources are directly displayed on the main screen. The "Subtitle" OSD menu is hidden after 5 seconds. In the present invention, the OSD menu is automatically hidden after 5 seconds to avoid interfering with the user's viewing, while retaining the flexibility of adjusting the subtitle settings at any time.
[0095] In one implementation, the size of the dual-screen TV main screen is larger than the size of the dual-screen TV sub-screen, and the dual-screen TV sub-screen is located below the dual-screen TV main screen.
[0096] Specifically, the schematic diagram of the dual-screen TV screen of the present invention is as follows Figure 7 The size of the main screen is larger than that of the sub-screen, and the sub-screen is located below the main screen.
[0097] In summary, the present invention obtains an initial video resource; detects a subtitle suppression method of the initial video resource; processes the initial video resource according to the subtitle suppression method to obtain a target subtitle and a target video; and responds to a subtitle opening instruction to play the target video on the main screen of a dual-screen TV, and synchronously plays the target subtitle on the secondary screen of the dual-screen TV. The present invention processes the initial video resource, separates the video and the subtitle, and synchronously plays them on the main screen and the secondary screen of the dual-screen TV, respectively, effectively solving the problem that the scrolling subtitles on the main screen of the dual-screen TV affect the user's viewing of the video content.
[0098] Based on the above embodiments, the present invention further provides a dual-screen television, whose principle block diagram can be shown as follows: Figure 8 As shown. The dual-screen TV comprises a processor, a memory, a network interface and a display screen connected via a device bus. The processor of the dual-screen TV is used to provide computing and control capabilities. The memory of the dual-screen TV comprises a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating device and a dual-screen TV subtitle display program. The internal memory provides an environment for the operation of the operating device and the dual-screen TV subtitle display program in the non-volatile storage medium. The network interface of the dual-screen TV is used to communicate with an external terminal via a network connection. When the dual-screen TV subtitle display program is executed by the processor, the steps of any of the above-mentioned dual-screen TV subtitle display methods are implemented. The display screen of the terminal may be a liquid crystal display screen or an electronic ink display screen.
[0099] Those skilled in the art will understand that Figure 8 The principle block diagram shown in the figure is only a block diagram of a partial structure related to the scheme of the present invention, and does not constitute a limitation on the dual-screen TV to which the scheme of the present invention is applied. The specific dual-screen TV may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0100] In one embodiment, a dual-screen television is provided. The dual-screen television includes a memory, a processor, and a dual-screen television subtitle display program stored in the memory and executable on the processor. When the dual-screen television subtitle display program is executed by the processor, the steps of any dual-screen television subtitle display method provided in the embodiments of the present invention are implemented.
[0101] An embodiment of the present invention further provides a computer-readable storage medium, on which a dual-screen television subtitle display program is stored. When the dual-screen television subtitle display program is executed by a processor, the steps of any dual-screen television subtitle display method provided in the embodiment of the present invention are implemented.
[0102] It should be understood that the serial numbers of the steps in the above embodiments do not imply a sequence of execution, and the execution sequence of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
[0103] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the above-mentioned device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention. The specific working process of the units and modules in the above-mentioned device can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0104] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0105] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0106] In the embodiments provided by the present invention, it should be understood that the disclosed apparatus / terminal equipment and method can be implemented in other ways. For example, the apparatus / terminal equipment embodiments described above are only illustrative, for example, the division of the above modules or units is only a logical function division, and in actual implementation, other division methods can be used, for example, multiple units or components can be combined or integrated into another apparatus, or some features can be ignored or not executed.
[0107] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, it should be understood by those skilled in the art that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features therein may be replaced by equivalents. However, these modifications or replacements do not deviate from the spirit and scope of the technical solutions of the embodiments of the present invention, and should be included in the protection scope of the present invention.
Claims
1. A dual-screen television subtitle display method, characterized in that: The method comprises: Get the initial video resource; Detecting a subtitle suppression method of the initial video resource; Processing the initial video resource according to the subtitle compression method to obtain target subtitles and target video; In response to the subtitle opening instruction, the target video is played on the main screen of the dual-screen TV, and the target subtitles are played synchronously on the secondary screen of the dual-screen TV.
2. The dual-screen television subtitle display method according to claim 1, characterized in that: The step of processing the initial video resource according to the subtitle compression method to obtain target subtitles and target video includes: If the subtitle compression method is a subtitle plug-in method, the video file in the initial video resource is used as the target video, and the subtitle file corresponding to the video file is used as the target subtitle; If the subtitle compression method is the subtitle internal sealing method, parsing the container format of the video file, extracting the subtitles therein as target subtitles, and using the video after removing the subtitles as the target video; If the subtitle suppression method is a subtitle embedding method, a preset deep learning neural network is used to identify the subtitles in the video file as target subtitles, the subtitles in the video file are removed, and image repair and filling processing are performed on the subtitle removal area in the video file to obtain the target video.
3. The dual-screen television subtitle display method according to claim 2, characterized in that: The method of using a preset deep learning neural network to identify subtitles in the video file as target subtitles, removing subtitles in the video file, and performing image restoration and filling processing on the subtitle removal area in the video file to obtain a target video includes: Processing the video file using a preset deep learning neural network to identify image elements and subtitles of each frame in the video file; Using the identified subtitles as target subtitles; According to the identified image elements, the subtitle removal area in the video file is repaired and filled to obtain the target video.
4. The dual-screen television subtitle display method according to claim 3, characterized in that: The deep learning neural network includes an input layer, a convolution layer, a pooling layer, a fully connected layer and an output layer; the video file is processed by using a preset deep learning neural network to identify image elements and subtitles of each frame in the video file, including: Input the video file into the input layer of the deep learning network, and transmit it to the convolution layer through the input layer; Extracting features from the video file through the convolution layer to obtain an initial feature map, which is then transmitted to the pooling layer; The pooling layer uses a preset strategy to perform dimensionality reduction processing on the initial feature map to obtain a second feature map, which is transmitted to the fully connected layer; The features extracted from the second feature map are integrated and mapped through the fully connected layer to obtain a number of feature vectors, which are transmitted to the output layer and processed by the output layer to output the image elements and subtitles of each frame in the video file.
5. The dual-screen television subtitle display method according to claim 1, characterized in that: The method of playing the target video on the main screen of the dual-screen TV and synchronously playing the target subtitles on the secondary screen of the dual-screen TV includes: Performing time synchronization processing on the target video and the target subtitles using a preset synchronization algorithm; The target video after synchronization processing is played on the main screen of the dual-screen TV, and the target subtitles are synchronously played on the secondary screen of the dual-screen TV.
6. The dual-screen television subtitle display method according to claim 1, characterized in that: After the target video is played on the main screen of the dual-screen TV in response to the subtitle opening instruction and the target subtitle is played synchronously on the secondary screen of the dual-screen TV, the method further includes: In response to the hidden subtitle instruction, the target video is maintained to be played on the main screen of the dual-screen TV, and the target subtitle is stopped to be played on the secondary screen of the dual-screen TV.
7. The dual-screen television subtitle display method according to claim 1, characterized in that: The method further comprises: In response to the subtitle closing instruction, the initial video resource is played on the main screen of the dual-screen TV.
8. The dual-screen television subtitle display method according to claim 1, characterized in that: The size of the main screen of the dual-screen TV is larger than the size of the secondary screen of the dual-screen TV, and the secondary screen of the dual-screen TV is located below the main screen of the dual-screen TV.
9. A dual-screen television, characterized in that: The dual-screen TV includes a memory, a processor, and a dual-screen TV subtitle display program stored in the memory and executable on the processor. When the dual-screen TV subtitle display program is executed by the processor, the steps of the dual-screen TV subtitle display method according to any one of claims 1 to 8 are implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a dual-screen television subtitle display program, and when the dual-screen television subtitle display program is executed by the processor, the steps of the dual-screen television subtitle display method according to any one of claims 1-8 are implemented.