View Full Version : Layer break info from MDS
iarwain
4th February 2006, 21:20
Hi,
Given a MDS file (from DVD decrypter), is it possible to know in which sector does the layer break occur?
I have an iso with its MDS, but I can't burn it with DVD Decrypter because my pc has only linux. The program I use to burn DL DVDs (growisofs) allows me to specify in which sector the layer break is. But I don't know if it's possible to extract this info from the MDS.
Thank you.
setarip_old
4th February 2006, 21:51
Hi!I have an iso with its MDS, but I can't burn it with DVD Decrypter because my pc has only linux.I don't understand - How did you create the .ISO and .MDS file from your original, purchased DVD?
iarwain
4th February 2006, 22:12
Easy. I had windows in the past, and I still have a fat32 partition with data. I'll keep it until a burn it all.
And yes, it's rip of a DVD from my collection. I have more than 250 original, purchased DVDs.
There's no point in ripping it again since I don't know how to extract the layer break sector info. If you know how, tell me please.
What I usually do is rip it, create the iso with pgcedit (choosing the layer-break-sector) and burn it. But as DVD Decrypter's MDS files lets you make a 1:1 copy, I thought that maybe it could be possible to extract that info from the file.
Thanks for answering.
setarip_old
4th February 2006, 22:22
If you're saying that you are able to use PGCEdit under Linux, I believe you'll find that PGCEdit will both identify the original layer break that's in the .ISO image file, as well as offer alternative locations for it...
iarwain
4th February 2006, 22:40
Fortunately there's a linux version of PGCedit.
You're right. Thanks for your help.
setarip_old
5th February 2006, 01:54
You're right. Thanks for your help.As always, my pleasure ;>}
blutach
6th February 2006, 14:02
The easiest way to figure this out is indeed with PgcEdit (http://www.videohelp.com/~r0lZ/pgcedit/index.html), which will tell you the relative LBA of the LB. To figure out the real LB, you need to add the sectiors that precede the VTS containing the LB.
So, if the LB is somewhere in VTS 3, you would add to this LBA, the sectors of VIDEO_TS.IFO/VOB/BUP and same for VTS_01 and VTS_02. As well you would add the IFO sectors for VTS_03 (sectors = size in kb / 2) to determine the real position of the LB (this assumes no padding).
Regards
r0lZ
6th February 2006, 14:57
It's not enough, blutach!
You need also to know how many sectors are used by the file system at the beginning of the ISO.
And don't forget the gaps between IFO/VOB/BUP files. They are often used, including in many comercial DVDs.
IMO, the easiest way to know the absolute address of the LB is to use PgcEdit to retrieve the relative starting sector of the cell, and a tool like ISOBuster to find out the absolute starting sector of the first VOB in the domain (ie VTS_??_1.VOB for the title domain, or VTS_??_0.VOB for the menu domains.)
I'm not sure ISOBuster runs fine under Wine, or if there are equivalent tools for Linux.
It is also theoretically possible to put the LB just before an IFO or BUP file, or somewhere in a gap between files. In this case, PgcEdit cannot help. But I guess this situation is very rare.
You should also try to run ImgBurn through Wine to see where it puts the LB.
ZuZu
13th February 2006, 04:52
I seem to have run into a similar problem, ImgBurn didn't find my layer break at all and made a guess :(
I 22:03:41 ImgBurn Version 1.1.0.0 started!
I 22:03:41 Microsoft Windows XP Professional (5.1, Build 2600 : Service Pack 2)
I 22:03:41 Initialising SPTI...
I 22:03:41 Searching for SCSI / ATAPI devices...
I 22:03:41 Found 1 DVD-ROM and 1 DVD±RW!
I 22:07:26 Operation Started!
I 22:07:26 Source File: C:\DISC.MDS
I 22:07:26 Source File Sectors: 3,804,638 (MODE1/2048)
I 22:07:26 Source File Size: 7,791,898,624 bytes
I 22:07:26 Source File Application Identifier: MKISOFS ISO 9660/HFS FILESYSTEM BUILDER & CDRECORD CD-R/DVD CREATOR (C) 1993 E.YOUNGDALE (C) 1997 J.PEARSON/J.SCHILLING
I 22:07:26 Source File Implementation Identifier: mkisofs
I 22:07:26 Destination Device: [1:0:0] SONY DVD RW DRU-800A KY06 (E:) (ATA)
I 22:07:26 Destination Media Type: DVD+R DL (Disc ID: RITEK-D01-01) (Speeds: 2.4x)
I 22:07:26 Destination Media Sectors: 4,173,824
I 22:07:26 Write Mode: DVD
I 22:07:26 Write Type: DAO
I 22:07:26 Write Speed: 2.4x
I 22:07:26 Link Size: Auto
I 22:07:26 Test Mode: No
I 22:07:26 BURN-Proof: Enabled
W 22:07:26 Optimal L1 Data Zone Start LBA: None Found! (VTS_01)
I 22:07:27 Optimal L0 Data Zone Capacity: 1,902,992
I 22:07:27 Optimal L0 Data Zone Method: ECC Block Boundary, VOBU Boundary
I 22:08:10 Filling Buffer...
I 22:08:13 Writing LeadIn...
I 22:08:14 Writing Image...
I 22:08:14 Writing Layer 0... (LBA: 0 - 1902991)
I 22:27:30 Writing Layer 1... (LBA: 1902992 - 3804637)
I 22:46:52 Synchronising Cache...
I 22:46:54 Closing Track...
I 22:46:55 Finalising Disc...
I 22:47:50 Operation Successfully Completed! - Duration: 00:40:24
I 22:47:50 Average Write Rate: 3,284 KB/s (2.4x) - Maximum Write Rate: 3,499 KB/s (2.5x)
r0lZ
13th February 2006, 10:25
With a MDS file? That's strange.
Probably your media has less sectors in L0 than the original DVD.
Try to rip the DVD-Video files, and burn with PgcEdit.
LIGHTNING UK!
13th February 2006, 12:04
Did you make that MDS yourself via the 'Create DVD MDS File' option?
If so, it wouldn't contain layerbreak info.
Other than that, it's what r0lZ said ;)
ZuZu
13th February 2006, 22:07
Did you make that MDS yourself via the 'Create DVD MDS File' option?
If so, it wouldn't contain layerbreak info.
I only had the VOBs on my hard drive so I made an iso of it and had a friend send me the MDS of the original dvd9 after learning that ImgBurn couldn't find the layer break in the ifo.
I thought maybe I was having the same problem as jinjin_jp in "Layer Break Problem in ImgBurn (http://forum.doom9.org/showthread.php?t=105714)"
LIGHTNING UK!
13th February 2006, 22:23
Oh well that wouldn't work either. The MDS is specific to the original image. You can't extract the contents, ISO them up again, and then expect the MDS to still fit the image.
Indeed, if it couldn't find the layerbreak, you may well have been having that same issue. Only thing is, your log shows it found the VTS set where the LB should have been - it just couldn't find a cell that meets the criteria for a decent LB. So basically, you'd not made a decent DL ISO image.
ZuZu
13th February 2006, 22:42
is there any other way to find out where the layer break is positioned? maybe then I could just imgburn /layerbreak
there an eta on the next version of ImgBurn ?
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.