CN100341070C - Method of indirectly locating DVD document using logic block number - Google Patents
Method of indirectly locating DVD document using logic block number Download PDFInfo
- Publication number
- CN100341070C CN100341070C CNB031214622A CN03121462A CN100341070C CN 100341070 C CN100341070 C CN 100341070C CN B031214622 A CNB031214622 A CN B031214622A CN 03121462 A CN03121462 A CN 03121462A CN 100341070 C CN100341070 C CN 100341070C
- Authority
- CN
- China
- Prior art keywords
- lbn
- file
- vts
- video
- dvd
- 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
Links
Abstract
The present invention discloses a method for indirectly positioning a DVD file by a logical block number, which comprises the following steps: 1) VMGI information in a navigation file VIDEO_TS. IFO or VTSI information in a navigation file VTS_##_O. IFO is read, wherein ## represents two digits, and is from 01 to 99; 2) LBN information in VMGI and VTSI corresponds to a file name of the LBN, which points to the navigation file or an audio and video file on a DVD-Rom medium; 3) the file is positioned through the file name obtained in step 2). Because the present invention uses the file name to position the DVD file, the DVD file can be still navigated and positioned when the DVD file is stored on a non DVD-Rom storage medium. The present invention provides a foundation for interactive control playing.
Description
Technical field
The present invention relates to a kind of localization method of DVD file, more particularly, relate to a kind of method with logical block number (LBN) indirect addressing DVD file.
Background technology
The use player plays is stored in the DVD film in the DVD-Rom medium, can have powerful interactive play function, as carry out the selection of menu, language, captions and chapters and sections, and multi-angle is play, parents locking and VCR control etc.The realization of these functions depends on the correct location to the DVD file.
When the DVD film was stored in the DVD-Rom medium, this DVD-Rom medium must comprise a logical volume.Basic logic unit in the logical volume is exactly a logical block LB (logical block), has comprised 2048 bytes, and is corresponding with a physical sector.Logical block number (LBN) LBN is the abbreviation of English logical block number, and it is the serial number of logical block LB according to the physical location incremental order, and the LBN of first LB is 0, and the like.A volume consists predominantly of file structure, DVD-Video district and non-DVD-Video district.Video file is placed in the DVD-Video district, and computer data then is to be placed in the non-DVD-Video district.
The DVD-Video district has comprised a Video Manager (VMG) and 1 to 99 video-program set (VTS), that is to say that the DVD-Video district has comprised all necessary files that are used for the DVD playing back video, has been realized the interactive function of selecting by VMG and VTS two parts in the DVD tv screen.In the DVD-Rom medium, between the video-program set (VTS), between video-program set (VTS) and the Video Manager (VMG), store not necessarily continuously, might there be the LBN space.
Video Manager VMG forms .VMGI by VMGI (Video Manager Information), VMGM_VOBS (VideoObject Set for VMG Menu) and VMGI (BUP) and is stored in the navigate file VIDEO_TS.IFO, and it has comprised all mutual control informations in DVD-Video district.VMGM_VOBS is stored in the file VIDEO_TS.VOB, and it has comprised the video content of program choice menus.VMGI (BUP) is stored in the file VIDEO_TS.BUP, and it is the copy fully of VMGI.VMGM_VOBS is dispensable, but VMGI and VMGI (BUP) must exist.In the DVD-Rom medium, file VIDEO_TS.IFO, VIDEO_TS.VOB (if there is), VIDEO_TS.BUP leave in the DVD video disc in proper order, and the centre does not have the LBN space.
Each video-program set VTS is made up of VTSI (Video Title Set Information), VTSM_VOBS (VideoObject Set for the VTS Menu), VTSTT_VOBS (Video Object Set for Titles in a VTS) and VTSI (BUP).VTSI is stored in the navigate file VTS_##_0.IFO, and it has comprised all mutual control informations of this video-program set VTS.VTSM_VOBS is stored in the file VTS_##_0.VOB, and it has comprised the video content of all choice menus of this video-program set VTS.VTSTT_VOBS is stored in a plurality of file VTS_##_*.VOB, and it has comprised all video contents that video-program set is play.VTSI (BUP) is stored in the file VTS_##_0.BUP, and it is the copy fully of VTSI.VTSM_VOBS is not essential, but VTSI, VTS_##_*.VOB and VTS_##_0.BUP must exist.Above ## represents two digits, between 01-99; * represent one-bit digital, between 1-9.In the DVD-Rom medium, VTS_##_0.IFO, VTS_##_0.VOB (if there is), VTS_##_*.VOB, VTS_##_0.BUP leave in the DVD video disc in proper order, and the centre does not have the LBN space.
During DVD film in DVD playing back-Rom medium, in order to realize the interactive function of DVD, DVD player must be located the DVD file according to user's selection, and its localization method comprises the steps:
1) when the beginning DVD playing back, just when VMG-space (Video Manager district), DVD player at first finds the LBN of navigate file VIDEO_TS.IFO in the DVD-Video district, and removes to read the VIDEO_TS.IFO file by this LBN parameter and obtain VMGI information.
2) player begins to play first PGC, later on other navigate file that just provides according to VMGI of player or audio-video document add simultaneously that with respect to the LBN of VIDEO_TS.IFO the LBN information of VIDEO_TS.IFO oneself removes to read navigate file or audio-video document as parameter afterwards.When being played to certain VTS-space (video-program set district), other navigate file that player provides according to VTSI or audio-video document be with respect to the LBN information of VTS_##_0.IFO, removes to read other navigate file or audio-video document as parameter after adding the LBN information of VTS_##_0.IFO oneself simultaneously.
DVD player is by removing positioning video file or other navigate file with respect to the LBN information of VMGI or VTSI in a word.
But, this localization method does not have with filename as parameter, but remove to read navigation data or audio, video data as the physical address of DVD-Rom medium by the LBN parameter, when so in case the DVD file breaks away from the storage medium of DVD-Rom, LBN information has just lost its physical significance, just can not remove to read navigation data or audio, video data with LBN information, spectators also just can't have a taste of the powerful interactive function of DVD.
Summary of the invention
The objective of the invention is in order to overcome the deficiency of existing DVD document alignment, by going as parameter with filename
Technical scheme of the present invention is:
A kind of method with logical block number (LBN) indirect addressing DVD file comprises the steps:
1) read VMGI information among the navigate file VIDEO_TS.IFO or the VTSI information among the navigate file VTS_##_0.IFO, wherein ## represents two digits, between 01-99;
2) the LBN information among VMGI and the VTSI is corresponded to the navigate file that this LBN points to or the filename of audio-video document on the DVD-Rom medium; Described that LBN information is corresponded to the method for filename is as follows: a) calculate VMG and the shared LBN sum of VMG; B) calculate the LBN number of VTS_##_0.IFO by VTSN in the TT_SRP data structure that comprises among the navigate file VIDEO_TS.IFO and VTS_SA territory apart from VIDEO_TS.IFO, the VMG that a) obtains of integrating step and the shared LBN sum of each VTS calculate the idle LBN number between VMG and the VTS and between each VTS again; C) the LBN number of each file that obtains according to step a) and the idle LBN number that step b) obtains, the relative LBN that calculates navigate file VIDEO_TS.IFO and VTS_##_0.IFO and its subsequent file is to correspond to filename;
3) by step 2) filename that obtains location this document.
In the technique scheme, described step 2) in, the method for calculating the shared LBN sum of VMG and VMG is: respectively with the file size byte number of each file of DVD-Video district divided by 2048, convert the LBN number to; Then the LBN of All Files among the VMG is counted addition and obtain the shared LBN sum of VMG, respectively the LBN of the All Files among the VTS is counted addition and obtain the shared LBN sum of each VTS.
Wherein, include the TT_SRP data structure among the navigate file VIDEO_TS.IFO, this structure has write down the navigate file VTS_##_0.IFO of each programme contribution VTS in the DVD-Rom medium and the LBN number between the VIDEO_TS.IFO, and the TT_SRP data structure is as shown in table 1.
Table 1
Implication | Byte number | |
(1)TT_PB_TY | The playing programs type | 1 byte |
(2)AGL_Ns | The angle number | 1 byte |
(3)PTT_Ns | The chapters and sections number | 2 bytes |
(4)TT_PTL_ID_FLD | The parents locking territory | 2 bytes |
(5)VTSN | Video frequency program number | 1 byte |
(6)VTS_TTN | The video frequency program section number | 1 byte |
(7)VTS_SA | The start address of video frequency program | 4 bytes |
When VTSN was 1, VTS_SA represented the LBN number of VTS_01_0.IFO apart from VIDEO_TS.IFO.When VTSN was 2, VTS_SA represented the LBN number of VTS_02_0.IFO apart from VIDEO_TS.IFO, and the like.
Because the present invention adopts filename that the DVD file is positioned, so on the storage medium of DVD file storage the time, still can carry out navigator fix, for mutual controls playing provides basic to the DVD file at non-DVD-Rom.
Embodiment
Below in conjunction with embodiment the present invention is described in further detail.
Do the example analysis with American movie Black hawk down (blackhawk landing).
The DVD-Video district of this film comprises a Video Manager (VMG) and 2 video-program set (VTS), shown in the 1st row of table 2, and according to the sequential storage shown in these row, the 5th row of table 2 and the 14th row are represented the idle LBN between idle LBN between VMG and first VTS and the 1st VTS and the 2nd VTS respectively to each file in the DVD-Rom medium.The file size that the 2nd row of table 2 have been added up each file of DVD-Video district, i.e. byte number.Respectively with the byte number of each file size divided by 2048, be converted to LBN number (16 system), shown in the 3rd row of table 2.Owing between each file of VMG and VTS inside, do not have idle LBN, so being counted addition, the LBN of the All Files among the VMG promptly obtains the shared LBN sum of VMG, respectively the LBN of the All Files among the VTS is counted addition and promptly obtain the shared LBN sum of each VTS, shown in the 4th row of table 2.
The LBN information table of table 2:DVD file
File name | File size (byte number) | The LBN number that file takies (file size/2048) | The LBN sum (LBN that the file that is comprised takies counts sum) that VMG/VTS takies |
VIDEO_TS.IFO | 12288 | 0x06 | 0x42 |
VIDEO_TS.VOB | 110592 | 0x36 | |
VIDEO_TS.BUP | 12288 | 0x06 | |
Idle LBN number: 0 | |||
VTS_01_0.IFO | 108544 | 0x35 | 0x228D3E |
VTS_01_0.VOB | 73578496 | 0x8C57 | |
VTS_01_1.VOB | 1073498112 | 0x7FF89 | |
VTS_01_2.VOB | 1073655808 | 0x7FFD6 | |
VTS_01_3.VOB | 1073727488 | 0x7FFF9 | |
VTS_01_4.VOB | 1073655808 | 0x7FFD6 | |
VTS_01_5.VOB | 269121536 | 0x2014F | |
VTS_01_0.BUP | 108544 | 0x35 | |
Idle LBN number: 0 | |||
VTS_02_0.IFO | 18432 | 0x09 | 0x11EE |
VTS_02_0.VOB | 116736 | 0x39 | |
VTS_02_1.VOB | 9246720 | 0x11A3 | |
VTS_02_0.BUP | 18432 | 0x09 |
By visit VIDEO_TS.IFO file, obtain two TT_SRP.Particular content is (sexadecimal):
TT_SRP1:14 01 00 1C 00 00 01 01 00 00 00 42
It is 0x42 LBN apart from VIDEO_TS.IFO that TT_SRP2:14 01 00 01 00 00 02 01 00 22 8D 80 can obtain VTS_01_0.IFO with reference to the definition of TT_SRP data structure, and VTS_02_0.IFO is 0x228D80 LBN apart from VIDEO_TS.IFO.So LBN sum=0x42-0x42=0 that idle LBN=0x42-VMG takies between VMG and the VTS_01_0.IFO, expression in the 5th row of table 2; LBN sum=0x228D80-0x42-0-0x228D3E=0 that idle LBN-VTS1 takies between LBN sum-VMG that idle LBN=0x228D80-VMG takies between VTS_01_0.IFO and the VTS_02_0.IFO and the VTS_01_0.IFO, expression in the 14th row of table 2.
Form with reference to top calculates VIDEO_TS.IFO respectively, VTS_01_0.IFO, the LBN distance of VTS_01_2.IFO and its subsequent file, for example the LBN distance=0x06+0x36+0x06+0+0x35=0x77 of VIDEO_TS.IFO and VTS_01_0.VOB.And the like, can obtain the relative LBN table 3 of following navigate file and its subsequent file.
Table 3, the relative LBN table of navigate file and preface spare thereafter
Like this, utilize table 3 just to obtain corresponding between the filename of LBN information and navigate file or audio-video document.For example, when VTS_01_2.IFO provides the LBN value of 0x09, know promptly that by table 3 VTS_01_2.IFO needs the VTS_02_0.VOB file, the rest may be inferred, whenever navigate file VIDEO_TS.IFO, VTS_01_0.IFO or VTS_02_0.IFO provide a LBN value, just can a corresponding navigate file or the filename of audio-video document.
Obtain after so corresponding result, when on the storage medium of DVD file storage at non-DVD-Rom, still can utilize navigate file to position.At first player reads VMGI information among the navigate file VIDEO_TS.IFO or the VTSI information among the navigate file VTS_##_0.IFO, then the LBN information among VMGI and the VTSI is corresponded to the navigate file that this LBN points to or the filename of audio-video document on the DVD-Rom medium, at last by pairing filename location this document.
Claims (2)
1, a kind of method with logical block number (LBN) indirect addressing DVD file comprises the steps:
1) read VMGI information among the navigate file VIDEO_TS.IFO or the VTSI information among the navigate file VTS_##_0.IFO, wherein ## represents two digits, between 01-99;
2) the LBN information among VMGI and the VTSI is corresponded to the navigate file that this LBN points to or the filename of audio-video document on the DVD-Rom medium; Described that LBN information is corresponded to the method for filename is as follows: a) calculate VMG and the shared LBN sum of VMG; B) calculate the LBN number of VTS_##_0.IFO by VTSN in the TT_SRP data structure that comprises among the navigate file VIDEO_TS.IFO and VTS_SA territory apart from VIDEO_TS.IFO, the VMG that a) obtains of integrating step and the shared LBN sum of each VTS calculate the idle LBN number between VMG and the VTS and between each VTS again; C) the LBN number of each file that obtains according to step a) and the idle LBN number that step b) obtains, the relative LBN that calculates navigate file VIDEO_TS.IFO and VTS_##_0.IFO and its subsequent file is to correspond to filename;
3) by step 2) filename that obtains location this document.
2, a kind of method according to claim 1 with logical block number (LBN) indirect addressing DVD file, it is characterized in that, described step 2) in, the method of calculating the shared LBN sum of VMG and VMG is: respectively with the file size byte number of each file of DVD-Video district divided by 2048, convert the LBN number to; Then the LBN of All Files among the VMG is counted addition and obtain the shared LBN sum of VMG, respectively the LBN of the All Files among the VTS is counted addition and obtain the shared LBN sum of each VTS.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB031214622A CN100341070C (en) | 2002-12-31 | 2003-03-28 | Method of indirectly locating DVD document using logic block number |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN02160203.4 | 2002-12-31 | ||
CN02160203 | 2002-12-31 | ||
CNB031214622A CN100341070C (en) | 2002-12-31 | 2003-03-28 | Method of indirectly locating DVD document using logic block number |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1514441A CN1514441A (en) | 2004-07-21 |
CN100341070C true CN100341070C (en) | 2007-10-03 |
Family
ID=34276134
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB031214622A Expired - Fee Related CN100341070C (en) | 2002-12-31 | 2003-03-28 | Method of indirectly locating DVD document using logic block number |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100341070C (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8762886B2 (en) | 2009-07-30 | 2014-06-24 | Lenovo (Singapore) Pte. Ltd. | Emulating fundamental forces of physics on a virtual, touchable object |
CN101740072B (en) * | 2009-12-17 | 2011-08-17 | 深圳市万兴软件有限公司 | DVD (digital video disk) backup method, DVD backup device and DVD playing device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1141477A (en) * | 1995-04-06 | 1997-01-29 | 株式会社东芝 | Recording carrier and system foregenerating data by utilizing attribute information |
CN1258071A (en) * | 1998-12-23 | 2000-06-28 | 德国汤姆逊-布朗特公司 | Apparatus for replaying recording medium comprising information block |
WO2001035649A1 (en) * | 1999-11-10 | 2001-05-17 | Thomson Licensing S.A. | An arrangement for recording navigation information in a data recorder |
-
2003
- 2003-03-28 CN CNB031214622A patent/CN100341070C/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1141477A (en) * | 1995-04-06 | 1997-01-29 | 株式会社东芝 | Recording carrier and system foregenerating data by utilizing attribute information |
CN1258071A (en) * | 1998-12-23 | 2000-06-28 | 德国汤姆逊-布朗特公司 | Apparatus for replaying recording medium comprising information block |
WO2001035649A1 (en) * | 1999-11-10 | 2001-05-17 | Thomson Licensing S.A. | An arrangement for recording navigation information in a data recorder |
Also Published As
Publication number | Publication date |
---|---|
CN1514441A (en) | 2004-07-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4873809B2 (en) | User interface and processing system for digital video data, audio data, and ancillary data | |
JP5339659B2 (en) | Digital video processing and storage system for video data, audio data, and auxiliary data | |
CN1270322C (en) | Digital video processing and interface system for video, audio and ancillary data | |
KR100276950B1 (en) | Multi-language recording media and their playback devices | |
CN1225131C (en) | Picture gradual change function for digital optical disk | |
JP3356691B2 (en) | Information recording medium, recording method and reproducing method thereof | |
KR100707223B1 (en) | Information recording medium, method of recording/playback information onto/from recording medium | |
JP4358823B2 (en) | Information recording medium having multi-angle data structure and apparatus therefor | |
JP2003517174A (en) | Multimedia photo album | |
CN1273989C (en) | Three-stage menu processing for digital disc recorder | |
KR100678451B1 (en) | Order of titles in a real-time dvd video recording | |
JP3643477B2 (en) | Intro playback method | |
US20070165497A1 (en) | Reading apparatus, reading method, program, and program recording medium | |
JP2006004486A (en) | Information recording medium and information reproducing apparatus | |
CN1774758A (en) | Information storage medium, and apparatus and method of reproducing information from the same | |
CN100341070C (en) | Method of indirectly locating DVD document using logic block number | |
JP2857122B2 (en) | Multilingual recording media | |
JP2857118B2 (en) | Multilingual recording medium playback device | |
CN1771549A (en) | Recording medium having data structure for managing playback control and recording and reproducing methods and apparatuses | |
US7848620B2 (en) | Method for managing chapters | |
US7460763B2 (en) | Data loading method and chip | |
CN1236627C (en) | Method for recording or reproducing sub-picture data and its device | |
JPH08336103A (en) | Recording medium on which attribute information of reproduced data is recorded together with reproduced data and system to reproduce reproduced data appropriately by using attribute information | |
JP2875797B2 (en) | optical disk | |
JP4406467B2 (en) | A method of reproducing moving image data for each angle corresponding to one moving image from an information recording medium. |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C53 | Correction of patent for invention or patent application | ||
CB02 | Change of applicant information |
Address after: No. 21 West Fourth Ring Road, Beijing, Haidian District Applicant after: Institute of acoustics, Chinese Academy of Sciences Co-applicant after: Beijing Shiwnag Weiye Digital System Technology Co., Ltd. Address before: No. 21 West Fourth Ring Road, Beijing, Haidian District Applicant before: Institute of acoustics, Chinese Academy of Sciences |
|
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 | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20071003 Termination date: 20100328 |