CN102081948A - Video and subtitle synchronous display system and display method thereof - Google Patents

Video and subtitle synchronous display system and display method thereof Download PDF

Info

Publication number
CN102081948A
CN102081948A CN 201110006095 CN201110006095A CN102081948A CN 102081948 A CN102081948 A CN 102081948A CN 201110006095 CN201110006095 CN 201110006095 CN 201110006095 A CN201110006095 A CN 201110006095A CN 102081948 A CN102081948 A CN 102081948A
Authority
CN
China
Prior art keywords
video
file
subtitle
module
subtitle file
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN 201110006095
Other languages
Chinese (zh)
Inventor
章登义
王海
刘静
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BOOSLINK (SUZHOU)? INFORMATION TECHNOLOGY CO LTD
Original Assignee
BOOSLINK (SUZHOU)? INFORMATION TECHNOLOGY CO LTD
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 BOOSLINK (SUZHOU)? INFORMATION TECHNOLOGY CO LTD filed Critical BOOSLINK (SUZHOU)? INFORMATION TECHNOLOGY CO LTD
Priority to CN 201110006095 priority Critical patent/CN102081948A/en
Publication of CN102081948A publication Critical patent/CN102081948A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a video and subtitle synchronous display system and a display method thereof. The system comprises a search module used for searching subtitle files corresponding to names of video files, and a display module used for displaying by loading the subtitle files into video streams. The system is characterized by also comprising a subtitle judgment module for judging the number of subtitle files according to the subtitle files searched by the search module, a video analysis module for analyzing the video files, and a subtitle matching module for comparing the analyzed video information with the searched subtitle file information; and after the subtitle matching module matches proper subtitle files, the subtitle files are output and displayed by the display module. The system can accurately display the subtitle files matched with the video files and bring convenience to a user.

Description

Video caption synchronous display system and display packing thereof
Technical field
The invention belongs to the digital multimedia technical field, be specifically related to a kind of caption presentation method and caption display system in a kind of video display process.
Background technology
When people see video,, make people when appreciating video, also can see the spoken title of hero in this video, help dialogue and video content that people understand the hero in the film so more by player loaded and displayed captions synchronously.In the video player of current trend, the synchronous display technique of captions generally all is in the time of movie, goes automatically to seek the subtitle file that mates with current video by manual loading subtitle file or player, and then removes to load this subtitle file.
Generally speaking, the synchronous Presentation Function of realizing video caption need with video file accordingly according to specific format editor's subtitle file, as subtitle file SSA subtitle file commonly used, if can allow player load these captions automatically, also need this subtitle file called after and the corresponding identical file of video file name.For example: video file is called " transformer .rmvb ", the necessary called after " transformer .ssa " of so corresponding SSA subtitle file, and in order to allow player load this captions from local disk automatically, subtitle file and video file must leave in below the same catalogue.
For synchronously displaying subtitle information, playout software need at removal search below the current file folder and video file to be shown be of the same name and suffix is the subtitle file of " .ssa ", as if searching, and synchronously displaying subtitle information then; Otherwise, then handle according to default situations.Yet it is to have identical name that the part film is arranged, but its movie contents is different, so its corresponding captions are also different.For example: " mythology " this film has gondola film " mythology ", " mythology " that also has domestic Cheng Long to act the leading role.In this case, with more than one of " mythical .rmvb " corresponding synchronous subtitle file " mythical .saa ", and their filenames all are that equally playout software or player will search a plurality of subtitle files of the same name.Which captions can not well determine the end for subtitle file of the same name under the present circumstances adopts go to show.The present invention therefore.
Summary of the invention
The object of the invention is to provide a kind of video caption synchronous display system, exists a plurality of when having solved video playback in the prior art and video file subtitle file of the same name, can't correctly show the problems such as subtitle file that are complementary with video file.
In order to solve these problems of the prior art, technical scheme provided by the invention is:
A kind of video caption synchronous display system, comprise being used for searching for the search module of the corresponding subtitle file of video file title and being used for subtitle file is loaded into the display module that video flowing shows, it is characterized in that described system also comprises the captions judge module subtitle file quantity judged according to the subtitle file of search module search, video parsing module that video file is resolved and will resolve after video information and the captions matching module that compares of the subtitle file information that searches; Described captions matching module shows by display module output after matching suitable subtitle file.
Preferably, described search module comprises local search module and web search module, described local search module search and the corresponding local subtitle file of video file title; The corresponding network subtitle file of described web search block search and video file title.
Preferably, described video parsing module parses the label information of video file, and described label information comprises video author, video length information.
Preferably, described captions matching module reads subtitle file information, and the label information of subtitle file information and video file is mated; When the label information of subtitle file information and video file was identical, the captions matching module matched suitable subtitle file.
Another object of the present invention is to a kind of video caption display packing, it is characterized in that said method comprising the steps of:
(1) according to search of video file title and the corresponding subtitle file of video file title;
(2) when in the step (1) with the corresponding subtitle file quantity of video file title greater than 1 the time, resolve the label information of video file;
(3) label information with subtitle file information and video file compares; When matching suitable subtitle file, be loaded into output demonstration in the video file, otherwise continue relatively.
Preferably, when not searching in the step (1), directly withdraw from the described method with the corresponding subtitle file of video file title.
Preferably, in the described method when search in the step (1) equal 1 with the corresponding subtitle file quantity of video file title the time, directly be loaded in the video file output and show.
Subtitle file of the present invention can the SSA subtitle file, also can be that the video of other subtitle files loads, and is applicable to the video playback field.The present invention uses the SSA subtitle file to carry out subtitle file to show synchronously and comprise following steps: judge whether to be present in current video file a plurality of SSA subtitle files of the same name, if there be unnecessary one the SSA subtitle file of the same name with video file, then resolve the time span information in video file and the SSA subtitle file respectively, whether more described video file is identical with time span information in the corresponding SSA subtitle file, if both are identical, then select described subtitle file to show as the subtitle file of described video file.The embodiment of the invention is by the time span information or the author information of the SSA subtitle file of comparison of video file and correspondence, make when having the SSA subtitle file of a plurality of correspondences the subtitle file of selection that player can be correct and demonstration and video file coupling.
When the present invention carried out video playback, playout software is all subtitle files of search earlier, judge whether then to be present in and a SSA subtitle file that video file is of the same name; If there be the SSA subtitle file of the same name, then obtain the time span information in video file and the corresponding SSA subtitle file with video file more than one; If video file is identical with time span information in the corresponding SSA subtitle file, then select described SSA subtitle file to show as the alphabetic file of described video file.
Caption display system of the present invention comprises: the captions judge module is used to judge whether to exist a plurality of SSA subtitle files of the same name with the current video file; The video parsing module is used for resolving the time span information of current video file and pairing all SSA subtitle files of the same name; The captions matching module is used for comparison current video file with whether identical with the time span information of its SSA subtitle file of the same name; Display module when video file is identical with time span information in the described SSA subtitle file of the same name, loads described subtitle file and shows synchronously.
With respect to scheme of the prior art, advantage of the present invention is:
The present invention is by the time span information in comparison of video file and the corresponding SSA subtitle file, makes when a plurality of subtitle file of the same name occurring, and the SSA subtitle file that demonstration that can be correct and video file mate, user-friendly.
Description of drawings
Below in conjunction with drawings and Examples the present invention is further described:
Fig. 1 is the structured flowchart of embodiment of the invention video caption synchronous display system;
Fig. 2 is the workflow diagram of embodiment of the invention decoded video captions synchronous display method.
Embodiment
Below in conjunction with specific embodiment such scheme is described further.Should be understood that these embodiment are used to the present invention is described and are not limited to limit the scope of the invention.The implementation condition that adopts among the embodiment can be done further adjustment according to the condition of concrete producer, and not marked implementation condition is generally the condition in the normal experiment.
Embodiment
Be illustrated in figure 1 as the video caption synchronous display system, comprise be used for searching for the search module of the corresponding subtitle file of video file title, be used for subtitle file be loaded into display module that video flowing shows, the captions judge module subtitle file quantity judged according to the subtitle file of search module search, the video parsing module that video file is resolved and will resolve after video information and the captions matching module that compares of the subtitle file information that searches; Described captions matching module shows by display module output after matching suitable subtitle file.For example the captions judge module can judge whether to have the subtitle file of the same name with video file more than; The video parsing module can be resolved the label informations such as time span information that obtain in video file and the subtitle file; Whether the captions matching module is can comparison of video file identical with label informations such as time span information in the subtitle file; Display module can be used for label informations such as time span information when video file and subtitle file identical the time, selects this subtitle file to show as captions.
Search module comprises local search module and web search module, described local search module search and the corresponding local subtitle file of video file title; The corresponding network subtitle file of described web search block search and video file title.The video parsing module parses the label information of video file, and described label information comprises video author, video length information.
The captions matching module reads subtitle file information, and the label information of subtitle file information and video file is mated; When the label information of subtitle file information and video file was identical, the captions matching module matched suitable subtitle file.
As shown in Figure 2, the video caption display packing for present embodiment may further comprise the steps:
(1) according to search of video file title and the corresponding subtitle file of video file title;
(2) when in the step (1) with the corresponding subtitle file quantity of video file title greater than 1 the time, resolve the label information of video file;
(3) label information with subtitle file information and video file compares; When matching suitable subtitle file, be loaded into output demonstration in the video file, otherwise continue relatively.
When not searching in the step (1), directly withdraw from the corresponding subtitle file of video file title.When search in the step (1) equal 1 with the corresponding subtitle file quantity of video file title the time, directly be loaded in the video file output and show.
The subtitle file that the embodiment of the invention adopts is the SSA subtitle file, by the time span information in comparison of video file and the corresponding SSA subtitle file, thereby correctly selects the subtitle file of corresponding subtitle file as the file of this video.Also comprise some other label information except comprising time span information in the SSA subtitle file.
Information such as time span information have also been comprised in the video file.Owing to all include some identical information in video file and the subtitle file, therefore judge by comparing these information one by one whether selected subtitle file is corresponding with video file, thereby the corresponding subtitle file of correct selection is as the subtitle file of video file.
The method realization flow that a kind of video caption that the embodiment of the invention provides shows as shown in Figure 2, it is existing that details are as follows:
1) search and video file SSA subtitle file of the same name from local disk or network;
2) judge whether to search the SSA subtitle file of the same name,, then enter into step 3) if search with video file, otherwise, finish;
3) judge whether unnecessary one subtitle file, if, then enter step 4, if not, then enter step;
4) obtain time span information in the video file;
5) obtain the time span information in the SSA subtitle file;
6) whether comparison of video file is identical with time span information in the corresponding SSA subtitle file, if identical, then enters step 7, if not, then enters step 5;
7) select the subtitle file of this SSA file as video file.
In embodiments of the present invention, when the time span information in the video file is identical with time span information in the SSA subtitle file, think that then these SSA captions and video file mate, if the time span information in time span information in the subtitle file and the video file does not match, when perhaps subtitle file title and video file title do not match, think that then this SSA subtitle file and corresponding video file are not complementary.When video file and a corresponding SSA subtitle file are not complementary, continue the time span information in the more next SSA subtitle file of the same name.
As one embodiment of the present of invention, when more only remaining SSA subtitle file next of the same name, the subtitle file of SSA subtitle file as video file shown with regard to acquiescence.For example: play " mythology " film that Cheng Long acts the leading role now, at this moment, the video file name is called " mythical .rmvb ", the SSA subtitle file is " mythical .SSA ", at this moment, found the subtitle file of two " mythical .SSA " from local disk or above the network, resolve the label informations such as time span in these subtitle files, whether the time span information in the comparison of video file is identical with time span information in the subtitle file, if the time span information in first subtitle file relatively is 1 hour 30 minutes, often difference is too big with film in " mythical .rmvb " file, then continue to compare the time span information in second subtitle file, time span information in second subtitle file is identical with the time span information in the video file, so the captions of this subtitle file as this video file is shown.Certainly, also can compare the accuracy rate that some other label information such as author information are judged with further enhancing in relatively process.
Above-mentioned example only is explanation technical conceive of the present invention and characteristics, and its purpose is to allow the people who is familiar with this technology can understand content of the present invention and enforcement according to this, can not limit protection scope of the present invention with this.All equivalent transformations that spirit is done according to the present invention or modification all should be encompassed within protection scope of the present invention.

Claims (7)

1. video caption synchronous display system, comprise being used for searching for the search module of the corresponding subtitle file of video file title and being used for subtitle file is loaded into the display module that video flowing shows, it is characterized in that described system also comprises the captions judge module subtitle file quantity judged according to the subtitle file of search module search, video parsing module that video file is resolved and will resolve after video information and the captions matching module that compares of the subtitle file information that searches; Described captions matching module shows by display module output after matching suitable subtitle file.
2. video caption synchronous display system according to claim 1 is characterized in that described search module comprises local search module and web search module, described local search module search and the corresponding local subtitle file of video file title; The corresponding network subtitle file of described web search block search and video file title.
3. video caption synchronous display system according to claim 1 is characterized in that described video parsing module parses the label information of video file, and described label information comprises video author, video length information.
4. video caption synchronous display system according to claim 3 is characterized in that described captions matching module reads subtitle file information, and the label information of subtitle file information and video file is mated; When the label information of subtitle file information and video file was identical, the captions matching module matched suitable subtitle file.
5. video caption synchronous display method is characterized in that said method comprising the steps of:
(1) according to search of video file title and the corresponding subtitle file of video file title;
(2) when in the step (1) with the corresponding subtitle file quantity of video file title greater than 1 the time, resolve the label information of video file;
(3) label information with subtitle file information and video file compares; When matching suitable subtitle file, be loaded into output demonstration in the video file, otherwise continue relatively.
6. method according to claim 5 is characterized in that in the described method directly withdrawing from when not searching with the corresponding subtitle file of video file title in the step (1).
7. method according to claim 5, it is characterized in that in the described method when search in the step (1) equal 1 with the corresponding subtitle file quantity of video file title the time, be loaded into directly that output shows in the video file.
CN 201110006095 2011-01-13 2011-01-13 Video and subtitle synchronous display system and display method thereof Pending CN102081948A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110006095 CN102081948A (en) 2011-01-13 2011-01-13 Video and subtitle synchronous display system and display method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110006095 CN102081948A (en) 2011-01-13 2011-01-13 Video and subtitle synchronous display system and display method thereof

Publications (1)

Publication Number Publication Date
CN102081948A true CN102081948A (en) 2011-06-01

Family

ID=44087859

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110006095 Pending CN102081948A (en) 2011-01-13 2011-01-13 Video and subtitle synchronous display system and display method thereof

Country Status (1)

Country Link
CN (1) CN102081948A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103678381A (en) * 2012-09-17 2014-03-26 腾讯科技(深圳)有限公司 Caption processing method, device and system
CN105848005A (en) * 2016-03-28 2016-08-10 乐视控股(北京)有限公司 Video subtitle display method and video subtitle display device
CN108882051A (en) * 2017-05-15 2018-11-23 北京嘀嘀无限科技发展有限公司 A kind of acquisition methods and device of plug-in subtitle

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1997115A (en) * 2006-01-05 2007-07-11 三星电子株式会社 Caption display method and device in content retrieval on a/v network supporting web service technologies
CN101404730A (en) * 2008-09-23 2009-04-08 腾讯科技(深圳)有限公司 Method for loading caption in video flow and player thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1997115A (en) * 2006-01-05 2007-07-11 三星电子株式会社 Caption display method and device in content retrieval on a/v network supporting web service technologies
CN101404730A (en) * 2008-09-23 2009-04-08 腾讯科技(深圳)有限公司 Method for loading caption in video flow and player thereof

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103678381A (en) * 2012-09-17 2014-03-26 腾讯科技(深圳)有限公司 Caption processing method, device and system
CN105848005A (en) * 2016-03-28 2016-08-10 乐视控股(北京)有限公司 Video subtitle display method and video subtitle display device
CN108882051A (en) * 2017-05-15 2018-11-23 北京嘀嘀无限科技发展有限公司 A kind of acquisition methods and device of plug-in subtitle
CN108882051B (en) * 2017-05-15 2021-07-23 北京嘀嘀无限科技发展有限公司 Method and device for acquiring plug-in subtitle

Similar Documents

Publication Publication Date Title
EP2677738B1 (en) Display control method, recording medium, and display control device
US8892563B2 (en) Storage medium including metadata and reproduction apparatus and method therefor
US8374845B2 (en) Retrieving apparatus, retrieving method, and computer program product
EP3016378B1 (en) Playback device and playback method
EP3016379B1 (en) Playback device, playback method, and recording medium
KR20070084421A (en) Method of annotating timeline files
US9804729B2 (en) Presenting key differences between related content from different mediums
EP3038352A1 (en) Reproduction device, reproduction method, and recording medium
KR20070020208A (en) Method and apparatus for locating content in a program
CN101552791B (en) Method and system for playing multiple media file
CN101106637A (en) Method for playing media files in external storage device via STB
US8965916B2 (en) Method and apparatus for providing media content
EP2422514A1 (en) Verification and synchronization of files obtained separately from a video content
US9495365B2 (en) Identifying key differences between related content from different mediums
US20090070850A1 (en) System and method for searching video signals
US9158435B2 (en) Synchronizing progress between related content from different mediums
JP2007174255A (en) Recording and reproducing device
CN102081948A (en) Video and subtitle synchronous display system and display method thereof
RU2316134C2 (en) Device and method for processing texts in digital broadcasting receiver
US20090083227A1 (en) Retrieving apparatus, retrieving method, and computer program product
KR20080112975A (en) Method, system and recording medium storing a computer program for building moving picture search database and method for searching moving picture using the same
US20090274435A1 (en) Reproduction device, reproduction method, recording device, recording medium, program storage medium, and program
CN105744291B (en) Video data handling procedure and system, video playback apparatus and cloud server
CA2973221A1 (en) Use of a program schedule to facilitate modifying closed-captioning text
US20080016068A1 (en) Media-personality information search system, media-personality information acquiring apparatus, media-personality information search apparatus, and method and program therefor

Legal Events

Date Code Title Description
PB01 Publication
C06 Publication
SE01 Entry into force of request for substantive examination
C10 Entry into substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20110601

C02 Deemed withdrawal of patent application after publication (patent law 2001)