CN102065229B - Method and device for manufacturing and broadcasting universal caption - Google Patents

Method and device for manufacturing and broadcasting universal caption Download PDF

Info

Publication number
CN102065229B
CN102065229B CN200910237600.9A CN200910237600A CN102065229B CN 102065229 B CN102065229 B CN 102065229B CN 200910237600 A CN200910237600 A CN 200910237600A CN 102065229 B CN102065229 B CN 102065229B
Authority
CN
China
Prior art keywords
captions
metadata
file
block
subtitle
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.)
Expired - Fee Related
Application number
CN200910237600.9A
Other languages
Chinese (zh)
Other versions
CN102065229A (en
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.)
China Digital Video Beijing Ltd
Original Assignee
China Digital Video Beijing 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 China Digital Video Beijing Ltd filed Critical China Digital Video Beijing Ltd
Priority to CN200910237600.9A priority Critical patent/CN102065229B/en
Publication of CN102065229A publication Critical patent/CN102065229A/en
Application granted granted Critical
Publication of CN102065229B publication Critical patent/CN102065229B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Television Systems (AREA)

Abstract

The invention discloses a method for manufacturing and broadcasting a universal caption, which comprises the following steps: extracting the basic property information of the caption from a source caption file; generating a caption XML (X Extensive Makeup Language) file by taking the basic property information of the caption as XML metadata according to a preset rule; and analyzing the caption XML file and broadcasting the corresponding caption. The invention can guarantee the universality of manufacturing and broadcasting the caption in a networked manufacturing and broadcasting system, enhances the extendibility of the system and effectively reduces the cost.

Description

A kind of record and broadcast method of general captions and device
Technical field
The present invention relates to the technical field that video-audio program makes, particularly relate to a kind of record and broadcast method of general captions and a kind of record and broadcast device of general captions.
Background technology
Being separated captions is a kind of emerging TV subtitling record and broadcast methods, and it is based on captions such as video and audio documenting dialogue libretto, and so-called separation is exactly outside the video and audio file of program, generates the independently subtitle file that video and audio time-code is associated.Be separated captions for the various video-audio program of making, significant.
Along with the development of network technology, the program manufacturing-broadcasting system of current most TV station also achieves networking gradually, in the program manufacturing-broadcasting system of this networking, the program making equipment (being generally PC) of multiple program production company, be connected with program manufacturing-broadcasting system respectively, namely form a kind of distributed data structure.As the program manufacturing-broadcasting system of the Chinese Central Television (CCTV), be namely connected with the program making equipment of multiple program production company, after the programming information obtaining required company, broadcast after front end processes further.Be understandable that, based on existing networking program manufacturing-broadcasting system, captions in various types of programs are also provided by different program production company, in this case, the program manufacturing-broadcasting system of front end often can not isolate the subtitle file in program, now, then need again to be separated captions at front end program manufacturing-broadcasting system, obviously too labor intensive, material resources.
Therefore, the technical problem needing those skilled in the art urgently to solve at present is exactly: the record and broadcast mechanism that how innovatively can propose a kind of general captions, to ensure the versatility of caption producing in networking manufacturing-broadcasting system, improve the extensibility of system, and effectively reduce costs.
Summary of the invention
Technical problem to be solved by this invention is to provide a kind of record and broadcast method and device of general captions, in order to ensure the versatility of caption producing in networking manufacturing-broadcasting system, improves the extensibility of system, and effectively reduces costs.
In order to solve the problems of the technologies described above, the embodiment of the invention discloses a kind of record and broadcast method of general captions, comprising:
The base attribute information of captions is extracted from the subtitle file of source;
The base attribute information of described captions is generated captions XML file as XML metadata according to presetting rule;
Resolve described captions XML file, and broadcast corresponding captions.
Preferably, described source subtitle file comprises multiple, has corresponding describing mode respectively; Described method also comprises:
Judge whether the base attribute information of described captions mates default describing mode, if, then perform the step generating captions XML file: otherwise, after the base attribute information of described captions is converted to the describing mode of coupling, then perform the step generating captions XML file.
Preferably, the described step broadcasted of resolving comprises further:
Resolve described captions XML file, obtain each XML metadata and describing mode thereof;
If current system does not support described describing mode, be then converted into the describing mode that current system is supported;
Corresponding captions are broadcasted according to the describing mode after conversion.
Preferably, the base attribute information of described captions comprises:
The file description information of captions, the content of subtitle segment and display attribute information.
Preferably, described XML metadata comprises the subtitle file descriptor as the first metadata, and as content and the display attribute information of the subtitle segment of the second metadata, the described step according to presetting rule generation captions XML file comprises further:
In XML file, write the first metadata, the nested sub-metadata of described first metadata comprises: television system Video Standard, subtitle segment quantity Section Count that subtitle file identification marking File ID, subtitle file format version File Version, character set numbering Code Page, the title Program of subtitle file that subtitle file uses, subtitle file are supported;
In XML file, write the second metadata, the nested sub-metadata of described second metadata comprises: subtitle segment identification information Text Section, subtitle segment structural information Section Info, captions screen content information Text Screen.
Preferably, the sub-metadata that described subtitle segment structural information Section Info is nested further comprises: pattern Time Code Mode when the quantity Screen Count, each captions that comprise captions screen in captions shields maximum captions block number Block Count, the display parameters Display Parameters of each captions block comprised, each captions shield;
Wherein, the sub-metadata that the display parameters Display Parameters of described each captions block is nested further comprises: the total display parameters of all captions blocks in each captions screen, comprising: the position Position of captions block shared by screen, the font Font of captions block, the arrangement mode Layout of captions block, the character front color Text Color of captions block;
The sub-metadata that described captions shield content information Text Screen nested further comprises: the information Text Block of each captions block in this screen captions, wherein, the information TextBlock of described captions block comprises: the character string String of these captions block.
The embodiment of the present invention additionally provides a kind of record and broadcast device of general captions, comprising:
Source file provides module, for providing source subtitle file;
General purpose processing block, comprises and extracts submodule and XML descriptor module, and described extraction submodule is used for the base attribute information extracting captions from the subtitle file of source; Described XML descriptor module is used for the base attribute information of described captions to generate captions XML file as XML metadata according to presetting rule;
Resolving and broadcast module, for resolving described captions XML file, and broadcasting corresponding captions.
Preferably, described source subtitle file comprises multiple, has corresponding describing mode respectively; Described general purpose processing block also comprises:
Judging submodule, for judging whether the base attribute information of described captions mates default describing mode, if so, then triggering XML descriptor module: if not, then trigger transform subblock;
First transform subblock, after the base attribute information of described captions is converted to the describing mode of coupling, triggers XML descriptor module.
Preferably, described parsing broadcast module comprises further:
Analyzing sub-module, for resolving described captions XML file, obtains each XML metadata and describing mode thereof;
Second transform subblock, for when current system does not support described describing mode, is converted into the describing mode that current system is supported;
Broadcast submodule, for broadcasting corresponding captions according to the describing mode after conversion.
Preferably, the base attribute information of described captions comprises:
The file description information of captions, the content of subtitle segment and display attribute information.
Preferably, described XML metadata comprises the subtitle file descriptor as the first metadata, and as content and the display attribute information of the subtitle segment of the second metadata, described XML descriptor module comprises further:
First metadata writing unit, for writing the first metadata in XML file, the nested sub-metadata of described first metadata comprises: television system Video Standard, subtitle segment quantity Section Count that subtitle file identification marking File ID, subtitle file format version File Version, character set numbering Code Page, the title Program of subtitle file that subtitle file uses, subtitle file are supported;
Second metadata writing unit, for writing the second metadata in XML file, the nested sub-metadata of described second metadata comprises: subtitle segment identification information Text Section, subtitle segment structural information Section Info, captions screen content information Text Screen.
Preferably, the sub-metadata that described subtitle segment structural information Section Info is nested further comprises: pattern Time Code Mode when the quantity Screen Count, each captions that comprise captions screen in captions shields maximum captions block number Block Count, the display parameters Display Parameters of each captions block comprised, each captions shield;
Wherein, the sub-metadata that the display parameters Display Parameters of described each captions block is nested further comprises: the total display parameters of all captions blocks in each captions screen, comprising: the position Position of captions block shared by screen, the font Font of captions block, the arrangement mode Layout of captions block, the character front color Text Color of captions block;
The sub-metadata that described captions shield content information Text Screen nested further comprises: the information Text Block of each captions block in this screen captions, wherein, the information TextBlock of described captions block comprises: the character string String of these captions block.
Compared with prior art, the present invention has the following advantages:
The present invention is by the captions base attribute information as For All-purpose Use in extraction source subtitle file, standardization definition is carried out according to presetting rule, generate the captions XML file meeting preset data structure, the realization of this captions XML file is not only simple, and can support the separation record and broadcast of a large amount of dialogue libretto class captions in practical application; Moreover owing to using XML to describe means as data, data volume is very little, is easy to store transmission.Further, this file structure also supports that multistage is deposited, thus can adapt to effective tissue of a large amount of dialogue libretto content.Thus, the present invention effectively ensure that the versatility of caption producing in networking manufacturing-broadcasting system, and the application of XML effectively can also improve the extensibility of system, thus expending without the need to too much human and material resources, effectively reduce cost.
Accompanying drawing explanation
Fig. 1 is the flow chart of steps of the record and broadcast embodiment of the method 1 of a kind of general captions of the present invention;
Fig. 2 is the flow chart of steps of the record and broadcast embodiment of the method 2 of a kind of general captions of the present invention;
Fig. 3 is the structured flowchart of the record and broadcast device embodiment of a kind of general captions of the present invention.
Embodiment
For enabling above-mentioned purpose of the present invention, feature and advantage become apparent more, and below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
The present invention can be used in numerous general or special purpose computing system environment or configuration.Such as: multicomputer system, server, network PC, minicom, mainframe computer, the distributed computing environment (DCE) comprising above any system or equipment etc.
The present invention can describe in the general context of computer executable instructions, such as program module.Usually, program module comprises the routine, program, object, assembly, data structure etc. that perform particular task or realize particular abstract data type.Also can put into practice the present invention in a distributed computing environment, in these distributed computing environment (DCE), be executed the task by the remote processing devices be connected by communication network.In a distributed computing environment, program module can be arranged in the local and remote computer-readable storage medium comprising memory device.
With reference to figure 1, show the flow chart of the record and broadcast embodiment of the method 1 of a kind of general captions of the present invention, specifically can comprise the following steps:
Step 101, from the subtitle file of source, extract the base attribute information of captions;
Step 102, the base attribute information of described captions is generated captions XML file as XML metadata according to presetting rule;
Step 103, resolve described captions XML file, and broadcast corresponding captions.
In specific implementation, described source subtitle file can be comprise the original subtitle file that different program production company adopts different describing mode submissions.The base attribute information of the captions extracted from the subtitle file of described source, then can be understood as the general information describing caption object.
For making those skilled in the art understand the present invention better, below provide a kind of example of source word curtain file data structure:
Fileinfo (File Info)
Subtitle segment (Section) 0
Subtitle segment information (Section Info)
Subtitle Demonstration parameter (Display Parameters)
Captions block parameter (Block Parameters) 0
Captions block parameter (Block Parameters) 1
Captions screen (Screen) 0
Captions block (Block) 0
Captions block (Block) 1
Captions screen (Screen) 1
Subtitle segment (Section) 1
As from the foregoing, in one preferred embodiment of the invention, the base attribute information of described captions can comprise: the file description information of captions, the content of subtitle segment and display attribute information.In practice, in the television system of the title of the format version number of such as subtitle file, character set that subtitle file uses, subtitle file, subtitle file support, subtitle file, the data of the subtitle file header such as quantity of subtitle segment all belong to the file description information of captions.
In addition, well known to a person skilled in the art it is that subtitle segment (Section) comprises content and the display information of one section of captions, containing multi-screen captions in one section.Captions show for unit successively according to screen (Screen), for Display on the same screen multi-language captions, often screen can comprise multiple captions block (Block), captions block Parameter N is the captions block in each screen, in subtitle file, N is unified to give the display properties such as font, font size, color and position.Pretend the content for the subtitle segment of another kind of base attribute information and display attribute information, specifically can comprise subtitle segment identification information, subtitle segment structural information, captions screen content information etc.
For ensureing the versatility that the source subtitle file of different describing mode is applied in networking manufacturing-broadcasting system, the present invention needs the For All-purpose Use extracted from the subtitle file of source (captions base attribute information) to organize in XML mode, then generates the captions XML file meeting presetting rule.
So-called XML (Extensible Markup Language) i.e. extend markup language, it is that a kind of simple data store language, uses a series of simple mark data of description.Each data structure above-mentioned is referred to as metadata (Element) according to the term of XML, nestedly can comprise multiple sub-metadata in metadata.Based on the description rule of this XML, in specific implementation, preferably can using described subtitle file descriptor as the first metadata, using the content of subtitle segment and display attribute information as the second metadata, in this case, described step 103 may further include following sub-step:
Sub-step S21, in XML file, write the first metadata, the nested sub-metadata of described first metadata can comprise: television system Video Standard, subtitle segment quantity Section Count that subtitle file identification marking File ID, subtitle file format version File Version, character set numbering Code Page, the title Program of subtitle file that subtitle file uses, subtitle file are supported;
Sub-step S22, in XML file, write the second metadata, the nested sub-metadata of described second metadata can comprise: subtitle segment identification information Text Section, subtitle segment structural information Section Info, captions screen content information Text Screen.
The nested further sub-metadata of described subtitle segment structural information Section Info can comprise: comprise the quantity Screen Count of captions screen in captions, each captions shields maximum captions block number Block Count, the display parameters Display Parameters of each captions block comprised, pattern Time Code Mode when each captions shield;
More preferably, the sub-metadata that the display parameters Display Parameters of described each captions block is nested further can comprise: the total display parameters of all captions blocks in each captions screen, comprising: the position Position of captions block shared by screen, the font Font of captions block, the arrangement mode Layout of captions block, the character front color Text Color of captions block;
The sub-metadata that described captions shield content information Text Screen nested further can comprise: the information Text Block of each captions block in this screen captions, wherein, the information TextBlock of described captions block comprises: the character string String of these captions block.
Certainly, those skilled in the art are according to the metadata needed for actual conditions definition, and corresponding generation XML file is all feasible, such as, in practice, the subtitle file descriptors such as the author of subtitle file, descriptive text, creation date, amendment date, revision number and/or captions languages can also be extracted; Or, the absolute time-code that subtitle segment starts to broadcast is embedded further in subtitle segment structural information, in each captions screen all captions blocks total display parameters in the character embedded further in the language numbering of captions block Chinese version, captions block relate to character in alphanumeric font, captions block in language subregion in UNICODE character set, captions block edged mode, edged color, add shade mode, shadow color, plus substrate mode, substrate color and/or display trick mode etc., the present invention to this without the need to making restriction.
With reference to figure 2, show the flow chart of the record and broadcast embodiment of the method 2 of a kind of general captions of the present invention, specifically can comprise the following steps:
Step 201, from the subtitle file of source, extract the base attribute information of captions;
Wherein, described source subtitle file can comprise multiple, has corresponding describing mode respectively;
Step 202, judge whether the base attribute information of described captions mates default describing mode, if so, then directly perform step 204; Otherwise, first perform step 203, then perform step 204;
Step 203, the base attribute information of described captions is converted to the describing mode of coupling;
Step 204, the base attribute information of described captions is generated captions XML file as XML metadata according to presetting rule;
Step 205, resolve described captions XML file, obtain each XML metadata and describing mode thereof;
Step 206, judge whether current system supports described describing mode, if so, then perform step 208; Otherwise, after first performing step 207, perform step 208 again;
Step 207, be converted into current system support describing mode;
Step 208, broadcast corresponding captions.
The present embodiment, compared to the embodiment shown in Fig. 1, adds treatment step when not mating with the describing mode preset the describing mode of source subtitle file.Such as, what adopt for the location expression mode of character in captions block in the subtitle file of source is the definition of relative coordinate system, and the character position describing mode of current regulations is the definition of absolute coordinate system, in the present embodiment, then first by this character position from after the definition of relative coordinate system is converted to the definition of absolute coordinate system, then write XML file.
Correspondingly, when resolving described XML file, if find, current system does not support the describing mode of XML metadata in described XML file, then after first its being converted to the describing mode of current system support, then broadcast corresponding captions.
It should be noted that, only for the record and broadcast of character telltale title file mechanism in this manual, in specific implementation, record and broadcast of the present invention mechanism can also be adopted for title cartoon file, roll titles file, such as, for roll titles file, extract the base attribute of its rolling time, roll mode, then generating XML file as metadata or sub-metadata, relevant captions can be made when broadcasting to export according to the attribute such as rolling time, roll mode by resolving this XML file.
For aforesaid each embodiment of the method, in order to simple description, therefore it is all expressed as a series of combination of actions, but those skilled in the art should know, the present invention is not by the restriction of described sequence of movement, because according to the present invention, some step can adopt other orders or carry out simultaneously.Secondly, those skilled in the art also should know, the embodiment described in specification all belongs to preferred embodiment, and involved action and module might not be that the present invention is necessary.
With reference to figure 3, show the structured flowchart of the record and broadcast device embodiment of a kind of general captions of the present invention, specifically can comprise with lower module:
Source file provides module 31, for providing source subtitle file;
General purpose processing block 32, can comprise and extract submodule 321 and XML descriptor module 322, wherein, extracts submodule 321 for extracting the base attribute information of captions from the subtitle file of source; XML descriptor module 322 is for generating captions XML file as XML metadata according to presetting rule using the base attribute information of described captions;
Resolving and broadcast module 33, for resolving described captions XML file, and broadcasting corresponding captions.
In another preferred embodiment of the invention, described source subtitle file can comprise multiple, has corresponding describing mode respectively; In this case, described general purpose processing block 32 can also comprise following submodule:
Judging submodule, for judging whether the base attribute information of described captions mates default describing mode, if so, then triggering XML descriptor module: if not, then trigger transform subblock;
Transform subblock, after the base attribute information of described captions is converted to the describing mode of coupling, triggers XML descriptor module.
More preferably, described parsing is broadcasted module 33 and be may further include following submodule:
Analyzing sub-module, for resolving described captions XML file, obtains each XML metadata and describing mode thereof;
Second transform subblock, for when current system does not support described describing mode, is converted into the describing mode that current system is supported;
Broadcast submodule, for broadcasting corresponding captions according to the describing mode after conversion.
In a particular application, the base attribute information of described captions can comprise the file description information of captions, the content of subtitle segment and display attribute information.Correspondingly, described XML metadata can comprise the subtitle file descriptor as the first metadata, and as content and the display attribute information of the subtitle segment of the second metadata, described XML descriptor module 322 may further include with lower unit:
First metadata writing unit, for writing the first metadata in XML file, the nested sub-metadata of described first metadata comprises: television system Video Standard, subtitle segment quantity Section Count that subtitle file identification marking File ID, subtitle file format version File Version, character set numbering Code Page, the title Program of subtitle file that subtitle file uses, subtitle file are supported;
Second metadata writing unit, for writing the second metadata in XML file, the nested sub-metadata of described second metadata comprises: subtitle segment identification information Text Section, subtitle segment structural information Section Info, captions screen content information Text Screen.
More preferably, the sub-metadata that described subtitle segment structural information Section Info can be nested further comprises: pattern Time Code Mode when the quantity Screen Count, each captions that comprise captions screen in captions shields maximum captions block number Block Count, the display parameters DisplayParameters of each captions block comprised, each captions shield;
Wherein, the display parameters Display Parameters of described each captions block can be nested further sub-metadata comprise: the total display parameters of all captions blocks in each captions screen, comprising: the position Position shared on screen of captions block, the font Font of captions block, the arrangement mode Layout of captions block, the character front color Text Color of captions block;
Described captions screen content information Text Screen can be nested further sub-metadata comprise: the information Text Block of each captions block in this screen captions, wherein, the information TextBlock of described captions block comprises: the character string String of these captions block.
Because the present embodiment is substantially corresponding to preceding method embodiment, therefore not detailed part in the description of the present embodiment, see the related description in previous embodiment, just can not repeat at this.What each embodiment in this specification stressed is all the difference with other embodiments, between each embodiment identical similar part mutually see.
Finally, also it should be noted that, in this article, the such as relational terms of first and second grades and so on is only used for an entity or operation to separate with another entity or operating space, and not necessarily requires or imply the relation that there is any this reality between these entities or operation or sequentially.And, term " comprises ", " comprising " or its any other variant are intended to contain comprising of nonexcludability, thus make to comprise the process of a series of key element, method, article or equipment and not only comprise those key elements, but also comprise other key elements clearly do not listed, or also comprise by the intrinsic key element of this process, method, article or equipment.When not more restrictions, the key element limited by statement " comprising ... ", and be not precluded within process, method, article or the equipment comprising described key element and also there is other identical element.
Above the record and broadcast method of a kind of general captions provided by the present invention and a kind of manufacturing-broadcasting system of general captions are described in detail, apply specific case herein to set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (8)

1. a record and broadcast method for general captions, is characterized in that, comprising:
The base attribute information of captions is extracted from the subtitle file of source; Described source subtitle file comprises multiple, has corresponding describing mode respectively;
Judge whether the base attribute information of described captions mates default describing mode; If so, the base attribute information of described captions is generated captions XML file as XML metadata according to presetting rule;
Otherwise, the base attribute information of described captions is converted to the describing mode of coupling;
Resolve described captions XML file, and broadcast corresponding captions;
Wherein, the step of resolving described captions XML file comprises:
Obtain each XML metadata and describing mode thereof;
If current system does not support described describing mode, be then converted into the describing mode that current system is supported;
Corresponding captions are broadcasted according to the describing mode after conversion.
2. the method for claim 1, is characterized in that, the base attribute information of described captions comprises:
The file description information of captions, the content of subtitle segment and display attribute information.
3. the method for claim 1, it is characterized in that, described XML metadata comprises the subtitle file descriptor as the first metadata, and, as content and the display attribute information of the subtitle segment of the second metadata, the described step according to presetting rule generation captions XML file comprises further:
In XML file, write the first metadata, the nested sub-metadata of described first metadata comprises: television system Video Standard, subtitle segment quantity Section Count that subtitle file identification marking File ID, subtitle file format version File Version, character set numbering Code Page, the title Program of subtitle file that subtitle file uses, subtitle file are supported;
In XML file, write the second metadata, the nested sub-metadata of described second metadata comprises: subtitle segment identification information Text Section, subtitle segment structural information Section Info, captions screen content information Text Screen.
4. method as claimed in claim 3, it is characterized in that, the nested further sub-metadata of described subtitle segment structural information Section Info comprises: comprise the quantity Screen Count of captions screen in captions, each captions shields maximum captions block number Block Count, the display parameters Display Parameters of each captions block comprised, pattern Time Code Mode when each captions shield;
Wherein, the sub-metadata that the display parameters Display Parameters of described each captions block is nested further comprises: the total display parameters of all captions blocks in each captions screen, comprising: the position Position of captions block shared by screen, the font Font of captions block, the arrangement mode Layout of captions block, the character front color Text Color of captions block;
The sub-metadata that described captions shield content information Text Screen nested further comprises: the information Text Block of each captions block in this screen captions, wherein, the information Text Block of described captions block comprises: the character string String of these captions block.
5. a record and broadcast device for general captions, is characterized in that, comprising:
Source file provides module, for providing source subtitle file;
General purpose processing block, comprises and extracts submodule and XML descriptor module, and described extraction submodule is used for the base attribute information extracting captions from the subtitle file of source; Described XML descriptor module is used for the base attribute information of described captions to generate captions XML file as XML metadata according to presetting rule; Described source subtitle file comprises multiple, has corresponding describing mode respectively; Described general purpose processing block also comprises:
Judging submodule, for judging whether the base attribute information of described captions mates default describing mode, if so, then triggering XML descriptor module: if not, then trigger transform subblock;
First transform subblock, after the base attribute information of described captions is converted to the describing mode of coupling, triggers XML descriptor module;
Resolving and broadcast module, for resolving described captions XML file, and broadcasting corresponding captions;
Wherein, described parsing broadcast module comprises further:
Analyzing sub-module, for resolving described captions XML file, obtains each XML metadata and describing mode thereof;
Second transform subblock, for when current system does not support described describing mode, is converted into the describing mode that current system is supported;
Broadcast submodule, for broadcasting corresponding captions according to the describing mode after conversion.
6. device as claimed in claim 5, it is characterized in that, the base attribute information of described captions comprises:
The file description information of captions, the content of subtitle segment and display attribute information.
7. device as claimed in claim 5, it is characterized in that, described XML metadata comprises the subtitle file descriptor as the first metadata, and, as content and the display attribute information of the subtitle segment of the second metadata, described XML descriptor module comprises further:
First metadata writing unit, for writing the first metadata in XML file, the nested sub-metadata of described first metadata comprises: television system Video Standard, subtitle segment quantity Section Count that subtitle file identification marking File ID, subtitle file format version File Version, character set numbering Code Page, the title Program of subtitle file that subtitle file uses, subtitle file are supported;
Second metadata writing unit, for writing the second metadata in XML file, the nested sub-metadata of described second metadata comprises: subtitle segment identification information Text Section, subtitle segment structural information Section Info, captions screen content information Text Screen.
8. device as claimed in claim 7, it is characterized in that, the nested further sub-metadata of described subtitle segment structural information Section Info comprises: comprise the quantity Screen Count of captions screen in captions, each captions shields maximum captions block number Block Count, the display parameters Display Parameters of each captions block comprised, pattern Time Code Mode when each captions shield;
Wherein, the sub-metadata that the display parameters Display Parameters of described each captions block is nested further comprises: the total display parameters of all captions blocks in each captions screen, comprising: the position Position of captions block shared by screen, the font Font of captions block, the arrangement mode Layout of captions block, the character front color Text Color of captions block;
The sub-metadata that described captions shield content information Text Screen nested further comprises: the information Text Block of each captions block in this screen captions, wherein, the information Text Block of described captions block comprises: the character string String of these captions block.
CN200910237600.9A 2009-11-12 2009-11-12 Method and device for manufacturing and broadcasting universal caption Expired - Fee Related CN102065229B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910237600.9A CN102065229B (en) 2009-11-12 2009-11-12 Method and device for manufacturing and broadcasting universal caption

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910237600.9A CN102065229B (en) 2009-11-12 2009-11-12 Method and device for manufacturing and broadcasting universal caption

Publications (2)

Publication Number Publication Date
CN102065229A CN102065229A (en) 2011-05-18
CN102065229B true CN102065229B (en) 2014-12-24

Family

ID=44000310

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910237600.9A Expired - Fee Related CN102065229B (en) 2009-11-12 2009-11-12 Method and device for manufacturing and broadcasting universal caption

Country Status (1)

Country Link
CN (1) CN102065229B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102427512A (en) * 2011-10-10 2012-04-25 中央电视台 General exchangeable subtitle generating and multiplexing method and system
CN103220474A (en) * 2013-03-22 2013-07-24 深圳市九洲电器有限公司 Subtitle displaying method and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1914912A (en) * 2004-02-03 2007-02-14 Lg电子株式会社 Text subtitle decoder and method for decoding text subtitle streams
CN101111898A (en) * 2005-02-25 2008-01-23 株式会社东芝 Content reproduction apparatus and subtitle reproduction method
CN101388969A (en) * 2008-09-10 2009-03-18 新奥特(北京)视频技术有限公司 On-line playbill driven multiple channel subtitle editing and playing method
CN101452723A (en) * 2008-10-16 2009-06-10 北京光线传媒有限公司 Media file playing method, playing system and media player

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1914912A (en) * 2004-02-03 2007-02-14 Lg电子株式会社 Text subtitle decoder and method for decoding text subtitle streams
CN101111898A (en) * 2005-02-25 2008-01-23 株式会社东芝 Content reproduction apparatus and subtitle reproduction method
CN101388969A (en) * 2008-09-10 2009-03-18 新奥特(北京)视频技术有限公司 On-line playbill driven multiple channel subtitle editing and playing method
CN101452723A (en) * 2008-10-16 2009-06-10 北京光线传媒有限公司 Media file playing method, playing system and media player

Also Published As

Publication number Publication date
CN102065229A (en) 2011-05-18

Similar Documents

Publication Publication Date Title
CN102065234B (en) Caption producing and broadcasting method and system based on distributive type caption processing system
CN102141916B (en) Embedded equipment and method for displaying language word on OSD interface
US7299411B2 (en) Providing a presentation engine adapted for use by a constrained resource client device
CN103353878A (en) Method for displaying files of different file formats in webpage
US20080201633A1 (en) Method and system for converting hypertext markup language web page to plain text
JP2001519063A (en) News story markup language, and systems and processes for editing and processing documents
JP2006202277A (en) General application sequence diagram generator driven by nonspecific language
CN105007539A (en) HTML template-based method, equipment and system for releasing graphics and text information via television
CN103024564B (en) IPTV platform EPG page visual development and automatic generation method
CN102118643B (en) Network subtitle playing system and method
CN102065229B (en) Method and device for manufacturing and broadcasting universal caption
CN102508887A (en) System and method for resolving digital television interaction service markup language
CN104182531A (en) Video name processing method and system
CN103744987A (en) Video website media asset integrating method and system based on DOM tree matching
CN102065230B (en) Networked caption manufacturing and broadcasting system
CN101909047A (en) Method and device for acquiring multimedia programs
CN102065235B (en) Method and device for generating universal subtitle
CN102082934B (en) Caption object updating method and device
US20080201356A1 (en) System and method of report representation
CN102065228B (en) Title generator for playing general title file
CN102231150A (en) Method and system for managing word stock of embedded browser
CN102065236B (en) Fabricating method and device for subtitle file
CN102625180A (en) Television apparatus and method for searching subtitles of television program
CN102082922B (en) Method and device for updating subtitles in subtitle templates
Krug et al. Enhancing media enrichment by semantic extraction

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20141224

Termination date: 20161112