CN101599292A - The method of playing caption data on DVD-VR form disc - Google Patents

The method of playing caption data on DVD-VR form disc Download PDF

Info

Publication number
CN101599292A
CN101599292A CNA2008100986674A CN200810098667A CN101599292A CN 101599292 A CN101599292 A CN 101599292A CN A2008100986674 A CNA2008100986674 A CN A2008100986674A CN 200810098667 A CN200810098667 A CN 200810098667A CN 101599292 A CN101599292 A CN 101599292A
Authority
CN
China
Prior art keywords
captions
text
text subtitle
dvd
object unit
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
CNA2008100986674A
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.)
Samsung Electronics China R&D Center
Samsung Electronics Co Ltd
Original Assignee
Samsung Electronics China R&D Center
Samsung Electronics 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 Samsung Electronics China R&D Center, Samsung Electronics Co Ltd filed Critical Samsung Electronics China R&D Center
Priority to CNA2008100986674A priority Critical patent/CN101599292A/en
Publication of CN101599292A publication Critical patent/CN101599292A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a kind of on DVD-VR form disc the method for playing caption data, described method comprises: the VOBU according to current broadcast finds the current text subtitle that should play; Add the captions text in the text subtitle to the OSD layer; With the stacked video layer that is added to of OSD with videotex captions text.Thereby, can preserve in the DVD-VR regulating scope and play more than 1 captions, meanwhile, the present invention can conveniently edit the DVD-VR captions, and can on handheld device, show captions, and can when playing captions, regulate the captions size easily with higher sharpness.

Description

The method of playing caption data on DVD-VR form disc
Technical field
The present invention relates to a kind of on DVD-VR form disc the method for played data, more particularly, the present invention relates to a kind of method of on DVD-VR form disc, playing the caption data of text formatting.
Background technology
The subpicture stream captions that the DVD-VR standard is supported are to mix with the form of subpicture stream and video and audio stream.This captions itself are bitmap forms.Need when playing earlier that demultiplexing obtain independent subpicture stream from vro file, and then the decoding subpicture stream, obtain subtitle bitmap, at last bitmap is drawn come and the video pictures that is added on.
There is following defective in the subpicture stream captions of DVD-VR standard support.
The first, because the subpicture stream captions of DVD-VR standard support are bitmap formats, the edge of captions has sawtooth usually, thereby causes the captions sharpness poor, and on the small screen handheld device, effect may be poorer.The second, because captions subgraph information storage is in vro file, during broadcast, if regulate the captions size, the subgraph information of coming out that needs to decode from vro file is handled again, thereby has caused captions size adjustment difficulty.The 3rd, after the editor of captions and the renewal, need recompile, mix by PSM (Program Stream Multiplexer, program stream multiplexer) again, thereby cause caption editing, renewal trouble.The 4th, at present, the DVD-VR standard is only supported subpicture stream captions, supports multilingual captions difficulty.
Summary of the invention
At the problems referred to above that occur in the prior art the present invention has been proposed.The present invention replaces the subpicture stream captions with text subtitle, text subtitle is stored in the IFO file of DVD-VR or independently in the subtitle file, broadcast information by video flowing is come sychronization captions, and showing captions with the screen display layer, thereby making to preserve in the DVD-VR regulating scope and play becomes possibility more than 1 captions.Simultaneously, the present invention is editing and updating DVD-VR captions conveniently, and can show captions on handheld device with higher sharpness, and can regulate the captions size easily when playing captions.
According to the present invention, a kind of method of playing caption data is provided, described method comprises: the video object unit according to current broadcast finds the current text subtitle that should play; Captions text in the text subtitle is added to the screen display layer; To be added to video layer with videotex captions text with the screen display layer.
According to the present invention, find the step of the current text subtitle that should play to comprise in described video object unit: from the video object unit of current broadcast, to obtain the temporal information that this video object unit begins to play, and compare the text subtitle that play to find with the start time point of text subtitle according to current broadcast.
According to the present invention, the temporal information that described video object unit begins to play can be recorded in the field that is provided with in the general information territory of real time data message unit of real time data message unit.
According to the present invention, described field comprises foundation that is made of 32 bits and the expansion that is made of 16 bits, can calculate the broadcast start time of video object unit with following formula: video object unit broadcast start time=(value/27000000 of (value of foundation/90000)+expansion)) * 1000 milliseconds.
According to the present invention, described text subtitle can be recorded in the IFO file of DVD-VR standard code.
According to the present invention, described text subtitle can be recorded in the independent file.
According to the present invention, described text subtitle can be added in the text data manager table, and makes all text subtitles take an IT_TXT_SRP list item and an IT_TXT list item, and wherein, the TXT field of IT_TXT list item has been preserved the content of actual text subtitle.
According to the present invention, described text subtitle also can comprise demonstration time that begins of being positioned at captions index before every captions text and these captions and finish the demonstration time except the text that comprises captions.
Description of drawings
Below in conjunction with the drawings and specific embodiments the present invention is described in further detail.
Fig. 1 is the exemplary plot according to the decode procedure of the RDI stream of the embodiment of the invention;
Fig. 2 is the exemplary plot of the decode procedure of RDI stream according to another embodiment of the present invention;
Fig. 3 illustrates the form of VOBU_S_PTM;
Fig. 4 shows the displaying scheme of existing subpicture stream captions and the diagrammatic sketch of effect;
Fig. 5 is according to the displaying scheme of the text subtitle of the embodiment of the invention and the diagrammatic sketch of effect.
Embodiment
According to the embodiment of the invention, consider the needs of captions and image synchronization, except the text of captions, also need before every captions text, add the demonstration time that begins of these captions and finish the demonstration time, these two time point forms are identical, all are string formats.Middle separate hour with ": ", minute, second; Separate millisecond with ", ".For the convenience of index, also need before these two times, add sequence number.Example from Fig. 1 and Fig. 2 can see that every captions all comprise the captions index, three parts of beginning and ending time and captions text.
Text subtitle can be recorded in the IFO file of DVD-VR standard code.Described IFO file can comprise TXTDT_MG (Text Data Manager, text data manager) table.In the DVD-VR standard fundamental purpose of definition of T XTDT_MG be storage with playlist or program in the corresponding sub-information of contained main text information (Primary Text Information).The long form of TXTDT_MG table is seen Fig. 1, and TXTDT_MG comprises a TXTDTI field and some IT_TXT_SRP list items and some IT_TXT list items.TXTDTI is used to refer to the attribute information of text data.The IT_TXT_SRP list item is then corresponding one by one with the IT_TXT list item.Each IT_TXT_SRP list item comprises IT_TXT_SA and two fields of IT_TXT_SZ again.The IT_TXT_SA field is used to refer to the relative position of corresponding IT_TXT list item in the TXTDT_MG table.The IT_TXT_SZ field then is used to refer to the size that corresponding IT_TXT list item is taken up space.The IT_TXT list item can comprise a cover or overlap IDCD (IdentifierCode, identification code), TXT_SZ and TXT field more.IDCD is used to refer to the type of text, and TXT_SZ is used to refer to the size that text takes up space, and the TXT field then really is used for preserving text.Text subtitle information is added in the TXTDT_MG table.In order to save the space, allow all captions take an IT_TXT_SRP list item and an IT_TXT list item.The TXT field of IT_TXT list item has been preserved actual caption content.
In order correctly to play captions, need carry out synchronously captions and video.
Fig. 1 has provided the simple description of vro file form.The formation of vro file, and the description of each ingredient, in the DVD-RAM/DVD-RW/DVD-R standard, third part, video record, version 1.1 in May calendar year 2001, provides in the 5th chapter.
Vro file is to be used for writing down the DVD video flowing, audio stream, the file of subpicture stream.Vro file is made up of several VOB, and each VOB is made up of plurality of V OBU (video object unit) again.Therefore the video information that each VOBU comprises can be play 0.4 to 1 second, and what with VOBU be that least unit carries out captions is acceptable synchronously.VOBU is by RDI_PCK (Real-time DataInformation Pack, real time data packets of information), V_PCK (Video Pack, video packets), A_PCK (Audio Pack, audio pack), these four kinds of packages of SP_PCK (Sub-Picture Pack, subgraph bag) close and form.In the time of displaying video, the DVD-VR player reads the video disc content to track buffer, by the demodulation multiplexer demultiplexing, can obtain independent RDI stream, video flowing, audio stream and subpicture stream.These flow points are not stored in the corresponding decoder impact damper.Only show the decode procedure of RDI stream among Fig. 1 and Fig. 2.
RDI stream is made up of RDI unit (RDI Unit).The RDI unit includes RDI_GI again, these territories of DCI_CCI and MNFI.RDI_GI (RDI general information) territory is used for preserving the general information of RDI; DCI_CCI then preserves display control information (Display Control Information) and copy control information (Copy Control Information); MNFI (Manufacturer ' s Information, manufacturer's information) territory preservation manufacturer information.VOBU_S_PTM (VOBU StartPresenting Time, VOBU broadcast start time) field is arranged in the RDI_GI territory, and this field has been represented the time that this VOBU begins to play.
The form of VOBU_S_PTM provides in Fig. 3.This 6 byte field is divided into two part: PTM_base parts and PTM_extension part.PTM_base partly is the foundation of PTM, is the integer of one 32 bit, and its unit is 1/90000 second.PTM_extension is the expansion of PTM, is the integer of one 16 bit, and its unit is 1/27000000 second.Thus, according to the value of VOBU_S_PTM, can calculate the broadcast start time (is unit with the millisecond) of VOBU with following formula:
The VOBU broadcast start time=((PTM_base/90000)+
* 1000 millisecond PTM_extension/27000000)).
Text subtitle has write down some captions.Every captions also comprise the index value of a caption strips except the captions text, and two time points: the start time point of these captions and concluding time point.
In the time of displaying video,, obtain corresponding VOBU_S_PTM, and compare, just can find the current caption strips that should play with the start time point of caption strips in the caption information according to the VOBU of current broadcast.
The method that DVD player adopts layering to show is play.Usually can divide three layers: video layer, subgraph layer and OSD (On Screen Display shows with screen) layer.Video layer generally is used for the display video picture.The subgraph layer generally is used for showing subgraph, such as the captions of subgraph form.The OSD layer generally is used for display text information.According to the embodiment of the invention, after having found correct text subtitle, need the captions text of these captions is shown.Demonstration according to text subtitle of the present invention is to add the text subtitle text to the OSD layer, and video layer and subgraph layer then are added to.
Except that shown in Figure 1 be stored in text subtitle in the IFO file, as shown in Figure 2, the text subtitle with above-mentioned form can be saved as an independent subtitle file.Basic identical with the synchronization scenario of Fig. 1, different is, and caption information is obtains from subtitle file but not extract from the IFO file.
Fig. 4 shows the displaying scheme of existing subpicture stream captions and the diagrammatic sketch of effect.As shown in Figure 4, prior art is that the subtitle bitmap in the subgraph layer and frame of video layer is superimposed and show the video with subpicture stream captions.Fig. 5 is according to the displaying scheme of the text subtitle of the embodiment of the invention and the diagrammatic sketch of effect.As shown in Figure 5, the text subtitle text is added to the OSD layer, then with OSD layer and the superimposed video with text subtitle that shows of frame of video layer.According to the captions that show from two width of cloth figure as can be seen, can well support the demonstration of text subtitle according to technical scheme of the present invention, display effect is clear than DVD-VR subpicture stream captions.
The present invention replaces the subpicture stream captions with text subtitle, text subtitle is stored in the IFO file of DVD-VR or independently in the subtitle file, broadcast information by video flowing is come sychronization captions, and at OSD layer demonstration captions, thereby make and in the DVD-VR regulating scope, preserve and play, become possibility more than 1 captions.Simultaneously, the present invention can conveniently edit the DVD-VR captions, and can show captions on handheld device with higher sharpness, and can regulate the captions size easily when playing captions.

Claims (9)

1, a kind of method of playing caption data, described method comprises:
Find the current text subtitle that should play in the video object unit according to current broadcast;
Captions text in the text subtitle is added to the screen display layer;
To be added to video layer with videotex captions text with the screen display layer.
2, the method for claim 1, it is characterized in that finding in the described video object unit step of text subtitle further to be: from the video object unit of current broadcast, to obtain the temporal information that this video object unit begins to play, and compare the text subtitle that play to find with the start time point of text subtitle according to current broadcast.
3, method as claimed in claim 2 is characterized in that the temporal information that described video object unit begins to play is recorded in the field that is provided with in the general information territory of real-time information data cell.
4, method as claimed in claim 3 is characterized in that described field comprises foundation that is made of 32 bits and the expansion that is made of 16 bits, can calculate the broadcast start time of video object unit with following formula:
The broadcast start time of video object unit=(value/27000000 of (value of foundation/90000)+expansion)) * 1000 milliseconds.
5, the method for claim 1 is characterized in that described text subtitle is recorded in the IFO file of DVD-VR standard code.
6, the method for claim 1 is characterized in that described text subtitle is recorded in the independent file.
7, method as claimed in claim 5, it is characterized in that text subtitle is added in the text data manager table, and make all text subtitles take an IT_TXT_SRP list item and an IT_TXT list item, wherein, the TXT field of IT_TXT list item has been preserved the content of actual text subtitle.
8, method as claimed in claim 7 is characterized in that described text subtitle except the text that comprises captions, also comprises demonstration time that begins of being positioned at captions index before every captions text and these captions and finishes the demonstration time.
9, method as claimed in claim 6 is characterized in that described text subtitle except the text that comprises captions, also comprises demonstration time that begins of being positioned at captions index before every captions text and these captions and finishes the demonstration time.
CNA2008100986674A 2008-06-05 2008-06-05 The method of playing caption data on DVD-VR form disc Pending CN101599292A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2008100986674A CN101599292A (en) 2008-06-05 2008-06-05 The method of playing caption data on DVD-VR form disc

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2008100986674A CN101599292A (en) 2008-06-05 2008-06-05 The method of playing caption data on DVD-VR form disc

Publications (1)

Publication Number Publication Date
CN101599292A true CN101599292A (en) 2009-12-09

Family

ID=41420700

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2008100986674A Pending CN101599292A (en) 2008-06-05 2008-06-05 The method of playing caption data on DVD-VR form disc

Country Status (1)

Country Link
CN (1) CN101599292A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108366305A (en) * 2018-02-07 2018-08-03 深圳佳力拓科技有限公司 A kind of code stream without subtitle shows the method and system of subtitle by speech recognition

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108366305A (en) * 2018-02-07 2018-08-03 深圳佳力拓科技有限公司 A kind of code stream without subtitle shows the method and system of subtitle by speech recognition

Similar Documents

Publication Publication Date Title
US8526491B2 (en) Image encoding device, and image decoding device
US8521000B2 (en) Information recording and reproducing method using management information including mapping information
JP4563373B2 (en) Recording medium having data structure for managing reproduction of recorded still image, and recording / reproducing method and apparatus
TWI280568B (en) Information storage medium for storing subtitle and video mapping information, and method and apparatus for reproducing thereof
CN101996664B (en) Information recording apparatus, and recording method
CN105765657A (en) Recording medium, playback device, and playback method
JP2007522596A (en) Recording medium and method and apparatus for decoding text subtitle stream
TW200534244A (en) Recording medium, method, and apparatus for reproducing text subtitle streams
US20070047923A1 (en) Playable content
JP2007036663A (en) Information recording medium in consideration of compatibility, recording apparatus thereof, recording method, and recording program
AU2003269521B2 (en) Recording medium having data structure for managing reproduction of multiple graphics streams recorded thereon and recording and reproducing methods and apparatuses
CN101599292A (en) The method of playing caption data on DVD-VR form disc
US7609943B2 (en) Method and apparatus of recording graphic data on a recording medium
JP2007048383A (en) Information recording medium, its recording device, recording method, and recording program
WO2007091426A1 (en) Information recording medium and reproduction control method
JP2006087081A (en) Picture coding apparatus, and picture decoding apparatus
JP3697450B2 (en) Optical disc recording device, optical disc reproducing device, and optical disc
JP2005303791A (en) Apparatus for reproducing video with subtitle
JP3376370B2 (en) Optical disk, optical disk recording device, and optical disk reproducing device
KR20040103689A (en) Method for managing and playing addition contents data for high density optical disc
KR20050087350A (en) Method for managing and reproducing a text subtitle stream of high density optical disc
JP2006013726A (en) Information recording medium, and recording / reproducing apparatus and recording / reproducing method thereof
KR20050091228A (en) Apparatus and method for reproducing a text subtitle stream of high density optical disc
JP2007049461A (en) Information recording medium and device thereof, and its method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20091209