WO2017166430A1 - Procédé et dispositif d'affichage de sous-titre - Google Patents

Procédé et dispositif d'affichage de sous-titre Download PDF

Info

Publication number
WO2017166430A1
WO2017166430A1 PCT/CN2016/084872 CN2016084872W WO2017166430A1 WO 2017166430 A1 WO2017166430 A1 WO 2017166430A1 CN 2016084872 W CN2016084872 W CN 2016084872W WO 2017166430 A1 WO2017166430 A1 WO 2017166430A1
Authority
WO
WIPO (PCT)
Prior art keywords
encoding format
terminal
format
caption display
matching degree
Prior art date
Application number
PCT/CN2016/084872
Other languages
English (en)
Chinese (zh)
Inventor
柯杰燕
Original Assignee
深圳Tcl新技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳Tcl新技术有限公司 filed Critical 深圳Tcl新技术有限公司
Publication of WO2017166430A1 publication Critical patent/WO2017166430A1/fr

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4314Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for fitting data in a restricted space on the screen, e.g. EPG data in a rectangular grid
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • H04N21/4353Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream involving decryption of additional data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • H04N21/4355Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream involving reformatting operations of additional data, e.g. HTML pages on a television screen
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/488Data services, e.g. news ticker
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/488Data services, e.g. news ticker
    • H04N21/4884Data services, e.g. news ticker for displaying subtitles

Definitions

  • the present invention relates to the field of terminal technologies, and in particular, to a subtitle display method and apparatus.
  • the user when playing video on the multimedia of the terminal, the user generally opens the subtitles to watch, especially the video that is different from the native language.
  • the terminal uses a television as an example. Since the subtitles are separately produced independently of the video, different production methods will result in different encoding formats for the text.
  • the internal code table (codepage) of the font corresponding to the same encoding format may be different, and the setting or selection of the internal code table is incorrect, so that the system cannot decode the normal text. In this way, in the process of watching the video, the user has some garbled characters or missing, and the accuracy of the subtitle display is greatly reduced. For a TV that does not manually switch the subtitle language or the encoding format function, the user cannot view the subtitles, which is very inconvenient and brings a bad experience to the user.
  • the main object of the present invention is to provide a caption display method and device, which aim to improve the accuracy and convenience of caption display.
  • the present invention provides a caption display method, including:
  • the encoding format with the highest matching degree in the encoding format with the matching degree being higher than the preset value is the default decoding format of the subtitle file, and is used to decode the subtitle file when the terminal plays the video;
  • the user is prompted to decode the subtitle file by the terminal;
  • the encoding format corresponding to the system language of the terminal is selected as the default decoding format of the subtitle file.
  • the method further includes:
  • the text data of the preset length is re-acquired from the subtitle file of the video to perform decoding and subsequent correlation steps.
  • the statistics further includes:
  • the invention also provides a caption display method, comprising:
  • the encoding format with the highest matching degree in the encoding format with the matching degree higher than the preset value is the default decoding format of the subtitle file, and is used to decode the subtitle file when the terminal plays the video.
  • the method further includes:
  • the user is prompted to decode the subtitle file by the terminal.
  • the method further includes:
  • the encoding format corresponding to the system language of the terminal is selected as the default decoding format of the subtitle file.
  • the method further includes:
  • the text data of the preset length is re-acquired from the subtitle file of the video to perform decoding and subsequent correlation steps.
  • the statistics further includes:
  • the present invention further provides a caption display device, including:
  • An acquiring module configured to acquire text data of a preset length in a subtitle file of the video before the terminal plays the video
  • a decryption module configured to select an encoding format supported by the terminal to separately decode the text data
  • a statistics module configured to calculate a matching degree between the text data decoded by each encoding format and the characters and/or punctuation marks in the code table of the corresponding font
  • a setting module configured to set a coding format with the highest matching degree in a coding format with a matching degree higher than a preset value as a default decoding format of the subtitle file, to decode the video when the terminal plays the video Subtitle file.
  • the caption display device further includes:
  • a prompting module configured to prompt the user to decode the subtitle file by the terminal when the matching degree of the statistics is not higher than the preset value.
  • the caption display device further includes:
  • a selection module configured to select, when the matching format of the matching degree is higher than the preset encoding value, the encoding format corresponding to the system language of the terminal is set as the default of the subtitle file Decoding format.
  • the caption display device further includes:
  • the processing module is configured to re-acquire the preset length of text data from the subtitle file of the video to perform decoding and subsequent correlation steps when the statistics are all zero.
  • the caption display device further includes:
  • the identifier module is configured to identify characters and punctuation marks in the code table of the font corresponding to all encoding formats supported by the terminal.
  • the terminal When performing the subtitle display, the terminal first decodes the text data of the preset length by using the encoding format supported by the terminal, and sets the text data decoded by each encoding format and the text in the corresponding code table. / or the matching degree of punctuation marks, the encoding format with the highest matching degree in the encoding format higher than the preset value is the default decoding format of the subtitle file, so that when the terminal plays the video, the subtitle file is decoded and the subtitles are displayed.
  • the terminal can automatically switch the encoding format to find the correct encoding format, display the subtitles normally, avoid garbled or lost subtitles, and improve the accuracy and convenience of the subtitle display.
  • FIG. 1 is a schematic flow chart of an embodiment of a caption display method according to the present invention.
  • FIG. 2 is a schematic diagram of functional modules of an embodiment of a caption display device of the present invention.
  • the caption display method of this embodiment includes:
  • Step S10 Before the terminal plays the video, acquiring text data of a preset length in the subtitle file of the video;
  • the type of the terminal may be set according to actual needs.
  • the terminal includes a terminal that can perform video playback, such as a television or a computer. The following will be described in detail by using the terminal as a television.
  • the video When the user chooses to open a video for playing, the video will obtain relevant information of the video before the video is played, and the related information of the video includes video files, subtitle files of the video, and the like.
  • the text data of the preset length is obtained from the subtitle file of the video, and the text data of the preset length is a piece of continuous text data, or may be a non-contiguous plurality of pieces of text data, and the preset length may be flexibly set according to a specific situation. For example, character data of 10 bytes in length is selected from the middle of the subtitle file, or text data of 20 bytes in length is obtained from the start position of the subtitle file.
  • Step S20 Select an encoding format supported by the terminal to separately decode the text data.
  • Step S30 Statistics of the matching degree between the text data decoded by each encoding format and the characters and/or punctuation marks in the corresponding codebook internal code table;
  • the television Before playing the subtitles, the television first selects an encoding format supported by the television for decoding, and decodes the text data of the preset length in the subtitle file of the obtained video. After the decoding is completed, the total number of characters and/or punctuation marks decoded by the encoding format is counted, and the decoded text and/or punctuation marks fall in the code table in the code table corresponding to the encoding format. / or the same number of punctuation marks for statistics.
  • the ratio between the number and the total number is used as the matching degree, that is, by the number/total number, the matching between the text and/or punctuation marks decoded by the encoding format and the characters and/or punctuation marks in the corresponding code table internal code table can be obtained. degree. For example, when the total number of characters and/or punctuation marks decoded by the encoding format is 10, the decoded text and/or punctuation marks are the same as the characters and/or punctuation marks in the code table in the font corresponding to the encoding format.
  • the degree of matching between the text and/or punctuation marks decoded by the encoding format and the characters and/or punctuation marks in the corresponding codebook internal code table is 90%. And so on, continue to use the next encoding format supported by the TV for decoding judgment, until the last encoding format is tried, and finally the text and/or punctuation marks obtained by decoding the respective encoding formats and the corresponding fonts in the internal code table are obtained.
  • the degree of matching of text and/or punctuation is 90%.
  • Step S40 The encoding format with the highest matching degree in the encoding format with the matching degree being higher than the preset value is the default decoding format of the subtitle file, and is used to decode the subtitle file when the terminal plays the video.
  • the encoding format obtained by the television in which the matching degree of each encoding format is higher than the preset encoding value is the default decoding format of the subtitle file, and is used when the terminal plays the video.
  • the subtitle file is decoded and the subtitles are displayed. That is, during the video playback of the television, the subtitle file is decoded by the default decoding format, and the decoded subtitles are displayed.
  • the preset value can be flexibly set according to the specific situation, for example, the preset value can be set to 95%.
  • the matching degree between the text and/or punctuation marks obtained by the encoding format A and the characters and/or punctuation marks in the corresponding codebook internal code table is 95%, and the decoded text and/or decoded text B format and/or
  • the matching degree between the punctuation marks and the characters and/or punctuation marks in the code table of the corresponding font is 100%, and the characters and/or punctuation marks decoded by the encoding format C and the characters and/or punctuation in the corresponding code table internal code table
  • the matching degree of the symbol is 98%, and in the process of video playback, the text data in the subtitle file is decoded by using the encoding format B as the default encoding format for video playback, and the decoded subtitle is displayed.
  • the television when displaying the subtitles, the television first decodes the text data of the preset length by using the encoding format supported by the television, and sets the text data decoded by each encoding format and the text in the corresponding code table. / or the matching degree of punctuation marks, the encoding format with the highest matching degree in the encoding format higher than the preset value is the default decoding format of the subtitle file, so that when the video is played on the television, the subtitle file is decoded and the subtitles are displayed.
  • the television can automatically switch the encoding format to find the correct encoding format, display the subtitles normally, avoid the garbled or lost subtitles, and improve the accuracy and convenience of the subtitle display.
  • the method includes: if the matching degree is not higher than the preset value, prompting the user to decode the terminal. The failure of the subtitle file.
  • the television determines that the appropriate encoding format is not found, and outputs prompt information related to the decoding result, for example, outputting a failure information of the television decoding subtitle file to prompt the user to perform corresponding processing.
  • the failure information may be that the matching of the characters and/or punctuation marks decoded by the respective encoding formats with the characters and/or punctuation marks in the corresponding codebook internal code table is displayed on the display interface of the television, or may be broadcasted by voice. A form of broadcast of the decoding result of each encoding format.
  • the encoding format of one of the encoding formats can be manually selected, and the television uses the encoding format as the default encoding format of the video playback to the text in the subtitle file according to the received setting instruction.
  • the data is decoded and the decoded subtitles are displayed.
  • the failure information of the television decoding subtitle file is output, and the user is prompted to perform corresponding processing.
  • the television can display the subtitle according to the coding format selected by the user, which reduces the garbled phenomenon of the subtitle and improves the accuracy of the subtitle display.
  • the method includes: if there is more than one encoding format with the highest matching degree in the encoding format with a matching degree higher than the preset value, An encoding format corresponding to a system language of the terminal is set as a default decoding format of the subtitle file.
  • the matching degree between the text and/or punctuation marks and the corresponding characters in the code table and/or the punctuation marks in the code table corresponding to the preset font is higher than the matching format in the encoding format of the preset value, for example, the matching degree of more than one encoding format. It is 100%. In this case, the system language of the TV is used as a reference.
  • the TV can select a corresponding encoding format according to the system language, and decode the text data in the subtitle file as the default encoding format for video playback, and
  • the decoded subtitles are displayed.
  • the preset value here is consistent with the preset value mentioned above, and can be flexibly set according to the specific situation. For example, the preset value can be set to 95%.
  • the following is an example.
  • the system language of the TV is Greek, and the text and/or punctuation obtained by decoding the CP1253 encoding format falls within the Greek font.
  • the matching degree of the code table CP1253 is 100%.
  • the default encoding format for video playback decodes the text data in the subtitle file.
  • the television selects a corresponding encoding format according to the system language and sets the default decoding format of the subtitle file.
  • the text data in the subtitle file is decoded and the subtitles are displayed.
  • the television can automatically switch the encoding format to find the correct default encoding format, display the subtitles normally, avoid garbled or lost subtitles, and improve the accuracy and convenience of subtitle display.
  • a fourth embodiment of the subtitle display method of the present invention is provided. After the step S30 in the embodiment, the method further includes: if the matching degree of the statistics is zero, re-obtaining the pre-read from the subtitle file of the video. Set the length of the text data for decoding and subsequent related steps.
  • the TV reacquires the video in the subtitle file.
  • the new text data of the preset length is respectively decoded according to all the encoding formats supported by the television according to the above method, and the text data decoded by each encoding format and the characters and/or punctuation in the corresponding code table internal code table are counted.
  • the degree of matching of the symbols is the default decoding format of the subtitle file, and is used to decode the subtitle file when the video is played on the television.
  • the user terminal when the matching degree corresponding to each encoding format is not higher than the preset value, the user terminal is prompted to decode the failure information of the subtitle file, and receives the setting instruction to select one of the encoding formats for decoding.
  • the encoding format corresponding to the system language of the television is selected as the default decoding format of the subtitle file, that is, according to the television.
  • the system language selects a corresponding encoding format for decoding.
  • the television when the matching degree corresponding to each encoding format is zero, the television re-acquires the new text data of the preset length in the subtitle file of the video for decoding and comparison, searches for the correct default encoding format, and displays the subtitles normally, avoiding
  • the garbled or lost subtitles not only improves the user experience, but also improves the accuracy and convenience of subtitle display.
  • the step S30 before the step S30 includes: identifying the characters and punctuation marks in the code table of the font corresponding to all the encoding formats supported by the terminal.
  • the subtitles generally only display characters and punctuation marks
  • the characters and punctuation marks in the code table of the font corresponding to all encoding formats supported by the television can be identified in advance.
  • the text data of the preset length in the subtitle file of the video is obtained, and the text data is separately decoded according to all encoding formats supported by the television, and the font internal code corresponding to each encoding format is pre-identified according to the code.
  • the text and punctuation marks in the table are used to count the matching degree between the text and/or punctuation marks decoded by each coding format and the identified characters and/or punctuation marks in the corresponding code table internal code table, and the television matches the corresponding coding formats.
  • an encoding format is selected as the default encoding format to decode the text data in the subtitle file played by the video and display the subtitles.
  • the characters and punctuation marks in the code table of the font corresponding to all encoding formats supported by the television are pre-identified, so that the television can quickly count the text data decoded by each encoding format and the text in the corresponding code table.
  • the matching degree of the and/or punctuation marks improves the speed of the subtitle display of the television.
  • the caption display device of this embodiment includes:
  • the obtaining module 100 is configured to acquire, before the terminal plays the video, text data of a preset length in the subtitle file of the video;
  • the type of the terminal may be set according to actual needs.
  • the terminal includes a terminal that can perform video playback, such as a television or a computer. The following will be described in detail by using the terminal as a television.
  • the acquiring module 100 will acquire related information of the video, and the related information of the video includes a video file, a subtitle file of the video, and the like.
  • the text data of the preset length is obtained from the subtitle file of the video, and the text data of the preset length is a piece of continuous text data, or may be a non-contiguous plurality of pieces of text data, and the preset length may be flexibly set according to a specific situation. For example, character data of 10 bytes in length is selected from the middle of the subtitle file, or text data of 20 bytes in length is obtained from the start position of the subtitle file.
  • the decryption module 200 is configured to select an encoding format supported by the terminal to separately decode the text data.
  • the statistics module 300 is configured to count the matching degree between the text data decoded by each encoding format and the characters and/or punctuation marks in the corresponding code table internal code table;
  • the decryption module 200 Before playing the subtitles, the decryption module 200 first selects an encoding format supported by the television for decoding, and decodes the text data of the preset length in the subtitle file of the obtained video. After the decoding is completed, the statistics module 300 performs statistics on the total number of characters and/or punctuation symbols decoded by the encoding format, and the decoded text and/or punctuation marks fall in the code table in the font corresponding to the encoding format. The number of words and/or punctuation is the same.
  • the ratio between the number and the total number is used as the matching degree, that is, by the number/total number, the matching between the text and/or punctuation marks decoded by the encoding format and the characters and/or punctuation marks in the corresponding code table internal code table can be obtained. degree. For example, when the total number of characters and/or punctuation marks decoded by the encoding format is 10, the decoded text and/or punctuation marks are the same as the characters and/or punctuation marks in the code table in the font corresponding to the encoding format.
  • the degree of matching between the text and/or punctuation marks decoded by the encoding format and the characters and/or punctuation marks in the corresponding codebook internal code table is 90%. And so on, continue to use the next encoding format supported by the TV for decoding judgment until the last encoding format is tried, and finally the text and/or punctuation marks obtained by decoding the respective encoding formats and the corresponding fonts in the internal code table are obtained.
  • the degree of matching of text and/or punctuation is 90%.
  • the setting module 400 is configured to set a coding format with the highest matching degree in the coding format with a matching degree higher than the preset value as a default decoding format of the subtitle file, and is used to decode the video when the terminal plays the video. Subtitle file.
  • the setting module 400 obtains the encoding format with the highest matching degree in the encoding format that is higher than the preset value in each encoding format as the default decoding format of the subtitle file, and is used to play the In the case of video, the subtitle file is decoded and the subtitles are displayed. That is, during the video playback of the television, the subtitle file is decoded by the default decoding format, and the decoded subtitles are displayed.
  • the preset value can be flexibly set according to the specific situation, for example, the preset value can be set to 95%.
  • the matching degree between the text and/or punctuation marks obtained by the encoding format A and the characters and/or punctuation marks in the corresponding codebook internal code table is 95%, and the decoded text and/or decoded text B format and/or
  • the matching degree between the punctuation marks and the characters and/or punctuation marks in the code table of the corresponding font is 100%, and the characters and/or punctuation marks decoded by the encoding format C and the characters and/or punctuation in the corresponding code table internal code table
  • the matching degree of the symbol is 98%, and in the process of video playback, the text data in the subtitle file is decoded by using the encoding format B as the default encoding format for video playback, and the decoded subtitle is displayed.
  • the television when displaying the subtitles, the television first decodes the text data of the preset length by using the encoding format supported by the television, and sets the text data decoded by each encoding format and the text in the corresponding code table. / or the matching degree of punctuation marks, the encoding format with the highest matching degree in the encoding format higher than the preset value is the default decoding format of the subtitle file, so that when the video is played on the television, the subtitle file is decoded and the subtitles are displayed.
  • the television can automatically switch the encoding format to find the correct encoding format, display the subtitles normally, avoid the garbled or lost subtitles, and improve the accuracy and convenience of the subtitle display.
  • the caption display device further includes: a prompting module, configured to prompt when the statistical matching degree is not higher than the preset value. The user fails to decode the subtitle file by the terminal.
  • the matching degree of each encoding format is smaller than Or equal to the preset value, indicating that the matching degree corresponding to all encoding formats is relatively low.
  • the preset value here is consistent with the preset value mentioned above, and can be flexibly set according to the specific situation. For example, the preset value can be set to 95%.
  • the television determines that the appropriate encoding format is not found, and the prompting module outputs the prompt information related to the decoding result.
  • the prompting module outputs the failure information of the television decoding subtitle file to prompt the user to perform corresponding processing.
  • the failure information may be that the matching of the characters and/or punctuation marks decoded by the respective encoding formats with the characters and/or punctuation marks in the corresponding codebook internal code table is displayed on the display interface of the television, or may be broadcasted by voice. A form of broadcast of the decoding result of each encoding format.
  • the encoding format of one of the encoding formats can be manually selected, and the television uses the encoding format as the default encoding format of the video playback to the text in the subtitle file according to the received setting instruction.
  • the data is decoded and the decoded subtitles are displayed.
  • the failure information of the television decoding subtitle file is output, and the user is prompted to perform corresponding processing.
  • the television can display the subtitle according to the coding format selected by the user, which reduces the garbled phenomenon of the subtitle and improves the accuracy of the subtitle display.
  • the caption display device further includes: a selecting module, wherein the encoding format with the highest matching degree in the encoding format with the matching degree higher than the preset value is not limited.
  • a selecting module wherein the encoding format with the highest matching degree in the encoding format with the matching degree higher than the preset value is not limited.
  • an encoding format corresponding to a system language of the terminal is selected as a default decoding format of the subtitle file.
  • the matching degree between the text and/or punctuation marks and the corresponding characters in the code table and/or the punctuation marks in the code table corresponding to the preset font is higher than the matching format in the encoding format of the preset value, for example, the matching degree of more than one encoding format. It is 100%. In this case, the system language of the TV is used as a reference.
  • the selection module can select a corresponding encoding format according to the system language, and decode the text data in the subtitle file as the default encoding format for video playback. And display the decoded subtitles.
  • the preset value here is consistent with the preset value mentioned above, and can be flexibly set according to the specific situation. For example, the preset value can be set to 95%.
  • the following is an example.
  • the system language of the TV is Greek, and the text and/or punctuation obtained by decoding the CP1253 encoding format falls within the Greek font.
  • the matching degree of the code table CP1253 is 100%.
  • the default encoding format for video playback decodes the text data in the subtitle file.
  • the television selects a corresponding encoding format according to the system language and sets the default decoding format of the subtitle file.
  • the text data in the subtitle file is decoded and the subtitles are displayed.
  • the television can automatically switch the encoding format to find the correct default encoding format, display the subtitles normally, avoid garbled or lost subtitles, and improve the accuracy and convenience of subtitle display.
  • the caption display device of the embodiment further includes:
  • the processing module is configured to re-acquire the preset length of text data from the subtitle file of the video to perform decoding and subsequent correlation steps when the statistics are all zero.
  • the processing module reacquires the subtitle file of the video.
  • the new text data of the preset length is decoded according to the above method according to all encoding formats supported by the television, and the text data decoded by each encoding format and the text and/or corresponding code in the internal code table are counted.
  • the degree of matching of punctuation is the encoding format with the highest matching degree in the encoding format with the matching degree higher than the preset value, and is used to decode the subtitle file when the video is played on the television.
  • the user terminal when the matching degree corresponding to each encoding format is not higher than the preset value, the user terminal is prompted to decode the failure information of the subtitle file, and receives the setting instruction to select one of the encoding formats for decoding.
  • the encoding format corresponding to the system language of the television is selected as the default decoding format of the subtitle file, that is, according to the television.
  • the system language selects a corresponding encoding format for decoding.
  • the television when the matching degree corresponding to each encoding format is zero, the television re-acquires the new text data of the preset length in the subtitle file of the video for decoding and comparison, searches for the correct default encoding format, and displays the subtitles normally, avoiding
  • the garbled or lost subtitles not only improves the user experience, but also improves the accuracy and convenience of subtitle display.
  • the caption display device of the embodiment further includes:
  • the identifier module is configured to identify characters and punctuation marks in the code table of the font corresponding to all encoding formats supported by the terminal.
  • the identification module can pre-identify the characters and punctuation marks in the code table in the font corresponding to all the encoding formats supported by the television.
  • the text data of the preset length in the subtitle file of the video is obtained, and the text data is separately decoded according to all encoding formats supported by the television, and the font internal code corresponding to each encoding format is pre-identified according to the code.
  • the text and punctuation marks in the table are used to count the matching degree between the text and/or punctuation marks decoded by each coding format and the identified characters and/or punctuation marks in the corresponding code table internal code table, and the television matches the corresponding coding formats.
  • an encoding format is selected as the default encoding format to decode the text data in the subtitle file played by the video and display the subtitles.
  • the characters and punctuation marks in the code table of the font corresponding to all encoding formats supported by the television are pre-identified, so that the television can quickly count the text data decoded by each encoding format and the text in the corresponding code table.
  • the matching degree of the and/or punctuation marks improves the speed of the subtitle display of the television.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Television Systems (AREA)
  • Studio Circuits (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

L'invention concerne un procédé d'affichage de sous-titre, consistant : à acquérir des données de texte ayant une longueur préréglée dans un fichier de sous-titre d'une vidéo avant que la vidéo ne soit lue par un terminal ; à sélectionner des formats de codage pris en charge par le terminal pour décoder les données de texte respectivement ; à calculer des degrés de correspondance entre les données de texte après avoir été décodées dans les formats de codage et les textes et/ou les signes de ponctuation dans une table de code interne correspondante dans un stock de mots ; et à régler le format de codage ayant un degré de correspondance le plus élevé parmi les formats de codage ayant les degrés de correspondance qui sont supérieurs à une valeur préréglée comme format de décodage par défaut du fichier de sous-titre pour décoder le fichier de sous-titre lorsque la vidéo est lue par le terminal. L'invention concerne également un dispositif d'affichage de sous-titre. La présente invention améliore la précision et la commodité d'affichage de sous-titre.
PCT/CN2016/084872 2016-03-28 2016-06-04 Procédé et dispositif d'affichage de sous-titre WO2017166430A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610184443.XA CN105847931B (zh) 2016-03-28 2016-03-28 字幕显示方法及装置
CN201610184443.X 2016-03-28

Publications (1)

Publication Number Publication Date
WO2017166430A1 true WO2017166430A1 (fr) 2017-10-05

Family

ID=56583800

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/084872 WO2017166430A1 (fr) 2016-03-28 2016-06-04 Procédé et dispositif d'affichage de sous-titre

Country Status (2)

Country Link
CN (1) CN105847931B (fr)
WO (1) WO2017166430A1 (fr)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108108267B (zh) * 2016-11-25 2021-06-22 北京国双科技有限公司 数据的恢复方法和装置
CN107302722B (zh) * 2017-05-12 2020-08-14 广州视源电子科技股份有限公司 Dtv码流解码方法及装置
CN108091354A (zh) * 2017-12-13 2018-05-29 深圳市沃特沃德股份有限公司 车载系统歌词解析方法和装置

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060025988A1 (en) * 2004-07-30 2006-02-02 Ming Xu Fast text character set recognition
CN102194503A (zh) * 2010-03-12 2011-09-21 腾讯科技(深圳)有限公司 一种播放器及字幕文件的字符编码检测方法和装置
CN102595082A (zh) * 2012-01-30 2012-07-18 深圳创维-Rgb电子有限公司 电视机自动显示多格式隐藏字幕方法和系统
US20130077855A1 (en) * 2011-05-16 2013-03-28 ISYS Search Software Pty Ltd. Systems and methods for processing documents of unknown or unspecified format
CN104156373A (zh) * 2013-05-15 2014-11-19 宏碁股份有限公司 编码格式检测方法及装置
CN104516862A (zh) * 2013-09-29 2015-04-15 北大方正集团有限公司 一种选择读取目标文档的编码格式的方法及其系统
CN104750666A (zh) * 2015-03-12 2015-07-01 明博教育科技有限公司 一种文本字符编码方式的识别方法及系统

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001008161A (ja) * 1999-06-23 2001-01-12 Hitachi Ltd 映像信号変換装置および映像信号記録再生装置
CN102164248B (zh) * 2011-02-15 2014-12-10 Tcl集团股份有限公司 一种自动化字幕测试方法及系统
CN102799572B (zh) * 2012-07-27 2015-09-09 深圳万兴信息科技股份有限公司 一种文本编码方式和文本编码装置
CN104331692A (zh) * 2014-11-28 2015-02-04 广东欧珀移动通信有限公司 基于双重特征进行人脸识别的方法和终端

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060025988A1 (en) * 2004-07-30 2006-02-02 Ming Xu Fast text character set recognition
CN102194503A (zh) * 2010-03-12 2011-09-21 腾讯科技(深圳)有限公司 一种播放器及字幕文件的字符编码检测方法和装置
US20130077855A1 (en) * 2011-05-16 2013-03-28 ISYS Search Software Pty Ltd. Systems and methods for processing documents of unknown or unspecified format
CN102595082A (zh) * 2012-01-30 2012-07-18 深圳创维-Rgb电子有限公司 电视机自动显示多格式隐藏字幕方法和系统
CN104156373A (zh) * 2013-05-15 2014-11-19 宏碁股份有限公司 编码格式检测方法及装置
CN104516862A (zh) * 2013-09-29 2015-04-15 北大方正集团有限公司 一种选择读取目标文档的编码格式的方法及其系统
CN104750666A (zh) * 2015-03-12 2015-07-01 明博教育科技有限公司 一种文本字符编码方式的识别方法及系统

Also Published As

Publication number Publication date
CN105847931B (zh) 2019-08-27
CN105847931A (zh) 2016-08-10

Similar Documents

Publication Publication Date Title
WO2016192254A1 (fr) Procédé et dispositif de lecture en ligne d'une vidéo en réseau
WO2017101266A1 (fr) Procédé et système de commande vocale
WO2017166430A1 (fr) Procédé et dispositif d'affichage de sous-titre
WO2017016310A1 (fr) Procédé et appareil pour configurer de façon dynamique des données de fonction de commande à distance
WO2015085765A1 (fr) Procédé de poussée d'informations et terminal intelligent
WO2016091011A1 (fr) Dispositif et procédé de commutation de sous-titres
WO2013143341A1 (fr) Procédé et dispositif pour la mise à jour de données d'application d'un terminal mobile
WO2017201913A1 (fr) Procédé et dispositif de commande vocale précise
WO2017152603A1 (fr) Procédé et appareil d'affichage
WO2016192270A1 (fr) Procédé et dispositif d'ouverture rapide de fichier multimédia à ciel ouvert
WO2018032693A1 (fr) Procédé, dispositif, et système de traitement de contenu d'affichage tv
WO2017028601A1 (fr) Procédé et dispositif de commande vocale pour un terminal intelligent et système de télévision
WO2017084311A1 (fr) Procédé et dispositif pour accélérer la lecture d'une vidéo à fragment unique
WO2017126835A1 (fr) Appareil d'affichage et son procédé de commande
WO2020000621A1 (fr) Procédé et appareil de commande de climatiseur, dispositif de climatisation et support d'informations
WO2017113594A1 (fr) Procédé de lecture de diffusion d'urgence pour une télévision numérique, et terminal de télévision numérique
WO2018023926A1 (fr) Procédé et système d'interaction pour téléviseur et terminal mobile
WO2017063368A1 (fr) Procédé et dispositif d'insertion de publicité vidéo
WO2017036209A1 (fr) Procédé de lecture de données audio basé sur une télévision intelligente, et télévision intelligente et système
WO2017063366A1 (fr) Procédé et système de lancement d'une application
WO2017084301A1 (fr) Procédé et appareil de lecture de données audio, et téléviseur intelligent
WO2016090991A1 (fr) Procédé et appareil pour télécharger des données multimédias de diffusion en continu
WO2016029502A1 (fr) Procédé et dispositif de changement de source de signaux
WO2019024472A1 (fr) Procédé et dispositif d'opération de données et support d'informations lisible par ordinateur
WO2019137016A1 (fr) Procédé de recommandation d'émissions de télévision, dispositif, et support de stockage lisible par ordinateur

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16896204

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16896204

Country of ref document: EP

Kind code of ref document: A1