CN1514441A - Method of indirectly locating DVD document using logic block number - Google Patents

Method of indirectly locating DVD document using logic block number Download PDF

Info

Publication number
CN1514441A
CN1514441A CNA031214622A CN03121462A CN1514441A CN 1514441 A CN1514441 A CN 1514441A CN A031214622 A CNA031214622 A CN A031214622A CN 03121462 A CN03121462 A CN 03121462A CN 1514441 A CN1514441 A CN 1514441A
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.)
Granted
Application number
CNA031214622A
Other languages
Chinese (zh)
Other versions
CN100341070C (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.)
BEIJING SHIWANG WEIYE DIGITAL SYSTEM TECHNOLOGY CO LTD
Institute of Acoustics CAS
Original Assignee
BEIJING SHIWANG WEIYE DIGITAL SYSTEM TECHNOLOGY CO LTD
Institute of Acoustics CAS
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 BEIJING SHIWANG WEIYE DIGITAL SYSTEM TECHNOLOGY CO LTD, Institute of Acoustics CAS filed Critical BEIJING SHIWANG WEIYE DIGITAL SYSTEM TECHNOLOGY CO LTD
Priority to CNB031214622A priority Critical patent/CN100341070C/en
Publication of CN1514441A publication Critical patent/CN1514441A/en
Application granted granted Critical
Publication of CN100341070C publication Critical patent/CN100341070C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

The method includes following steps: (1) reading out VMGI information in navigation file VIDEO_TS.IFO or VTSI information in navigation file VTS_##_0.IFO, here ## is number between 01-99; (2) LBN information in VMGI and VTSI is corresponding to a navigation file pointed from DVD-Rom medium or file name of audio/video file. (3) File is located by the file name obtained from step (2). Since DVD file is located through file name in the invention, thus, DVD file stored in non DVD-Rom medium can be navigational fixed so as to provide basis for interactive controlled playing.

Description

A kind of method with logical block number (LBN) indirect addressing DVD file
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 removing to locate the DVD file as parameter with filename, thereby provide a kind of with logical block number (LBN), be the method for LBN indirect addressing DVD file.
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;
3) by step 2) filename that obtains location this document.
Wherein, LBN information obtains as follows with the corresponding of filename of navigate file or audio-video document step 2):
A) 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
B) obtain the LBN number of VTS_##_0.IFO by VTSN in the TTSRP 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 calculate navigate file VIDEO_TS.IFO and the relative LBN of VTS_##_0.IFO with its subsequent file.
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 ????0×06 ?0×42
?VIDEO_TS.VOB ????110592 ????0×36
?VIDEO_TS.BUP ????12288 ????0×06
Idle LBN number: 0
?VTS_01_0.IFO ????108544 ????0×35 ?0×228D3E
?VTS_01_0.VOB ????73578496 ????0×8C57
?VTS_01_1.VOB ????1073498112 ????0×7FF89
?VTS_01_2.VOB ????1073655808 ????0×7FFD6
?VTS_01_3.VOB ????1073727488 ????0×7FFF9
?VTS_01_4.VOB ????1073655808 ????0×7FFD6
?VTS_01_5.VOB ????26912153.6 ????0×2014F
?VTS_01_0.BUP ????108544 ????0×35
Idle LBN number: 0
?VTS_02_0.IFO ????18432 ????0×09 ?0×11EE
?VTS_02_0.VOB ????116736 ????0×39
?VTS_02_1.VOB ????9246720 ????0×11A3
?VTS_02_0.BUP ????18432 ????0×09
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 0 * 42 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 0 * 228D80 LBN apart from VIDEO_TS.IFO.So LBN sum=0 * 42-0 * 42=0 that idle LBN=0 * 42-VMG takies between VMG and the VTS_01_0.IFO, expression in the 5th row of table 2; LBN sum=0 * 228D80-0 * 42-0-0 * 228D3E=0 that idle LBN-VTS1 takies between LBN sum-VMG that idle LBN=0 * 228D80-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 LBN of VIDEO_TS.IFO and VTS_01_0.VOB distance=0 * 06+0 * 36+0 * 06+0+0 * 35=0 * 77.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
Figure A0312146200071
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 0 * 09 LBN value, 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;
3) by step 2) filename that obtains location this document.
2, a kind of method with logical block number (LBN) indirect addressing DVD file according to claim 1 is characterized in that, wherein, step 2) in LBN information obtain as follows with the corresponding of filename of navigate file or audio-video document:
A) 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;
B) obtain 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 calculate navigate file VIDEO_TS.IFO and the relative LBN of VTS_##_0.IFO with its subsequent file.
CNB031214622A 2002-12-31 2003-03-28 Method of indirectly locating DVD document using logic block number Expired - Fee Related CN100341070C (en)

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 true CN1514441A (en) 2004-07-21
CN100341070C 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)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101740072B (en) * 2009-12-17 2011-08-17 深圳市万兴软件有限公司 DVD (digital video disk) backup method, DVD backup device and DVD playing device
US8762886B2 (en) 2009-07-30 2014-06-24 Lenovo (Singapore) Pte. Ltd. Emulating fundamental forces of physics on a virtual, touchable object

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100215130B1 (en) * 1995-04-06 1999-08-16 니시무로 타이죠 Recording medium
DE19859923A1 (en) * 1998-12-23 2000-06-29 Thomson Brandt Gmbh Playback device for record carriers containing information blocks
MXPA02004690A (en) * 1999-11-10 2002-09-02 Thomson Licensing Sa Three stage menu processing for digital disc recorder.

Cited By (2)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN100341070C (en) 2007-10-03

Similar Documents

Publication Publication Date Title
CN1225131C (en) Picture gradual change function for digital optical disk
CN1275258C (en) Digital video processing and storage system for video, audio and ancillary data
JP4873809B2 (en) User interface and processing system for digital video data, audio data, and ancillary data
JP3356691B2 (en) Information recording medium, recording method and reproducing method thereof
JP4489248B2 (en) Optical disk, apparatus and method for recording / reproducing data on / from optical disk
CN1270322C (en) Digital video processing and interface system for video, audio and ancillary data
JP4500480B2 (en) Multimedia photo album
JP3908761B2 (en) Data search method and data reproduction method for high-density optical recording medium
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
CN1271635C (en) Picture accurate edit without decoding and re-encoding of mpeg bitstream for recordable DVD
US8446801B2 (en) Reading apparatus, reading method, program, and program recording medium
US6466735B1 (en) Optical disk and reproduction apparatus for producing optical disk
CN1466759A (en) Method and apparatus for evaluating for the purpose of decoding a bitstream having a data structure fulfilling the requirements of two different data structure
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
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
EP1679714A1 (en) Optical disc recording apparatus and method, and disc recording apparatus with camera
CN1493158A (en) Method for recording or reproducing sub-picture data and its device
JP4406467B2 (en) A method of reproducing moving image data for each angle corresponding to one moving image from an information recording medium.
JP3356773B1 (en) Information reproducing method, information reproducing apparatus, and information recording medium
US7471873B2 (en) Method for repairing video/audio files of multimedia video/audio disks

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