Back Forum Reply New

Pgcedit

I know what the error means, but is there a way using pgcedit to fix cells (ie shift) to make them divisable by 16. I know that is the problem just do not know how to excatly fix it with pgcedit or other progs? I would like to use ingtool to burn the iso created by pgcedit.

I am merging two double sided dvds into one so I can not use the original layer breaks.

using ingtoolburn it does burn to dl disk but it controls where the layer break is (usually in the middle of a scene causing a noticable skip).

thanks

You could try to modify the order of the titlesets, with DVD -gt; Remap Titlesets.  With some luck, you will find a cell suitable for the LB.
You can also shrink some of the titles a little bit.  This problem has less chances to occur when there is some free space left on the DVD.


Originally Posted by r0lZYou could try to modify the order of the titlesets, with DVD -gt; Remap Titlesets.  With some luck, you will find a cell suitable for the LB.
You can also shrink some of the titles a little bit.  This problem has less chances to occur when there is some free space left on the DVD.

Thanks, Rolz.

I cannot reorder because it is one title (ie movie only). I guess I could redo rebuilder pro to have more compression (at 98.1% of a dl dvd+r now).

Couldn't I split a cell so that the new cell  meets the requirements of a layer break in blanker? If so where in pgcedit could i see if the the new cell would be suitable (ie would it be entry vobu sector, last vobu start, or last vobu end that would have to be divisible by 16)?

It's the entry VOBU sector.
Don't forget that some space is required at the beginning of the DVD for the file system.  This space depends of the number of files in the compilation, but is normally a little bit less than 300 sectors.


Originally Posted by r0lZIt's the entry VOBU sector.
Don't forget that some space is required at the beginning of the DVD for the file system.  This space depends of the number of files in the compilation, but is normally a little bit less than 300 sectors.

Thanks rolz,

I guess it is the beginning space that is throwing me off because I split a cell at gt; half the total sectors and the split entry sector is divisable by 16 but I still get the Can not set layer break error when trying to create the iso.

One last question where would I find the sectors used at the beginning so I can add this to my offset?

thanks!

Well, this info is difficult to find.  You have to generate the ISO (but you can abort the ISO creation after a few seconds) and look for the first occurrence of the text string quot;DVDVIDEO_VMGquot; with an hexadecimal editor.  This string is at the beginning of VIDEO_TS.IFO, and is therefore in the first sector that is used for the DVD files.

Or download and install the debug plugin, then tick the Debug Mode option and open the console with the Plugins -gt; Debug menu, and launch the ISO creation the normal way.  Abort it when the progress bar reaches 2 or 3%, and look at the info in the console.  You should see the value you need.  (But I don't remember if PgcEdit will accept to create the ISO w/o a suitable layer break point!)


Originally Posted by r0lZWell, this info is difficult to find.  You have to generate the ISO (but you can abort the ISO creation after a few seconds) and look for the first occurrence of the text string quot;DVDVIDEO_VMGquot; with an hexadecimal editor.  This string is at the beginning of VIDEO_TS.IFO, and is therefore in the first sector that is used for the DVD files.

Or download and install the debug plugin, then tick the Debug Mode option and open the console with the Plugins -gt; Debug menu, and launch the ISO creation the normal way.  Abort it when the progress bar reaches 2 or 3%, and look at the info in the console.  You should see the value you need.  (But I don't remember if PgcEdit will accept to create the ISO w/o a suitable layer break point!)

Thanks Rolz,
I will try it the first way with dvdrebuliders iso file and isobuster. Pgcedit will not accept creating the iso without the layer break being set (which I think it should let you override that error and create the iso anyways).

ok looking at the iso with ISOBUSTER It looks like it starts at sector 360 correct?

4084432 , gt;:\VIDEO_TS\PGCEDIT_\VIDEO_TS.IFO
4084435 , gt;:\VIDEO_TS\PGCEDIT_\VTS_01_0.IFO
0000292 , gt;:\VIDEO_TS\VIDEO_TS.BUP
0000289 , gt;:\VIDEO_TS\VIDEO_TS.IFO
4084367 , gt;:\VIDEO_TS\VTS_01_0.BUP
0000295 , gt;:\VIDEO_TS\VTS_01_0.IFO
0000360 , gt;:\VIDEO_TS\VTS_01_1.VOB
0524647 , gt;:\VIDEO_TS\VTS_01_2.VOB
1048934 , gt;:\VIDEO_TS\VTS_01_3.VOB
1573221 , gt;:\VIDEO_TS\VTS_01_4.VOB
2097508 , gt;:\VIDEO_TS\VTS_01_5.VOB
2621795 , gt;:\VIDEO_TS\VTS_01_6.VOB
3146082 , gt;:\VIDEO_TS\VTS_01_7.VOB
3670369 , gt;:\VIDEO_TS\VTS_01_8.VOB

Hum, no, seems VIDEO_TS.BUP is the first file, located at sector 292.  That's not a correct file structure for a DVD-Video.  VIDEO_TS.IFO must be the first file, followed by VIDEO_TS.VOB (optional) and VIDEO_TS.BUP.  Also, the PgcEdit backup folder is included in the compilation.  That cannot work!

Anyway, you have to build the ISO with mkisofs, because every ISO creation program has his own method to create the ISO, and they can use a different number of sectors in the ISO header.

Try to use this command:
Code:
mkisofs.exe -dvd-video -no-pad -p PgcEdit -m quot;*[bB]ackup*quot; -m quot;Copy of *quot; -V quot;VOLUME LABELquot; -o quot;OUTPUT.ISOquot; quot;INPUT_FOLDERquot;
Not sure if all arguments are required to test where VIDEO_TS starts, but that's the command that is used by PgcEdit.  Adapt the 3 last arguments (in upper case) to suit your needs.

Note that INPUT_FOLDER must be the DVD folder, in which are located the VIDEO_TS and the empty AUDIO_TS subfolders.  Do not specify VIDEO_TS, or the subfolders will not be created, and the header will be shorter than in the final compilation.  Also, don't forget to create AUDIO_TS manually.

ISOBuster is a good program to test the starting sectors of the files.


Originally Posted by jamosPgcedit will not accept creating the iso without the layer break being set (which I think it should let you override that error and create the iso anyways).

I do not agree.  That's the best way to create a coaster.  If PgcEdit cannot find a suitable layer break cells, the DVD cannot be burned!
But now, you know the procedure to create it anyway from a DOS prompt... at your own risk!  Don't try to burn an ISO created this way!

Thanks for that Rolz!

here is what I have now after doing the above. Does this look better?

0000287 , gt;:\VIDEO_TS\VIDEO_TS.BUP
0000284 , gt;:\VIDEO_TS\VIDEO_TS.IFO
4084362 , gt;:\VIDEO_TS\VTS_01_0.BUP
0000290 , gt;:\VIDEO_TS\VTS_01_0.IFO
0000355 , gt;:\VIDEO_TS\VTS_01_1.VOB
0524642 , gt;:\VIDEO_TS\VTS_01_2.VOB
1048929 , gt;:\VIDEO_TS\VTS_01_3.VOB
1573216 , gt;:\VIDEO_TS\VTS_01_4.VOB
2097503 , gt;:\VIDEO_TS\VTS_01_5.VOB
2621790 , gt;:\VIDEO_TS\VTS_01_6.VOB
3146077 , gt;:\VIDEO_TS\VTS_01_7.VOB
3670364 , gt;:\VIDEO_TS\VTS_01_8.VOB

355 looks like the start of the VTS 01


Originally Posted by r0lZI do not agree.  That's the best way to create a coaster.  If PgcEdit cannot find a suitable layer break cells, the DVD cannot be burned!
But now, you know the procedure to create it anyway from a DOS prompt... at your own risk!  Don't try to burn an ISO created this way!

hehe..ok..

Yes. Looks fine.

Therefore, you have to create a cell at sector (4173824/2)-355 maximum! in VTS 1 (assuming a standard DVD+R DL capacity.)  Taking into account the 16 sector alignment limitation, it can be at sector 2086544 or less.  Remember that it is generally not a good idea to burn something near the external border of the DVD, so, try to leave a little bit more space!

Thanks for the help Rolz that works. I split it at 2074637 using vob blanker, with the added 355 for the beginning stuff it comes to 2074992 which divided by 16 comes out even to 129687. PGCEDIT now shows it as a possible layer break. Took a while to browse the dvd cell to find a suitable break point where a transition occurs, but wasn't that hard.

Maybe I'll post a 'How to set a dvd layer break for dummies' thread with the steps I took, becuase I am definatly a dummy when it comes to software editing. Now DVD hardware that is my game..

Your welcome.
Glad it worked!


Originally Posted by r0lZYour welcome.
Glad it worked!

Intresting sidenote PGCedit adds 16 to my figure so it actually puts the Layer break is at absolute sector 2075008.

It's probably because you have the 32K Gap option enabled.  Those 16 sectors are added between VIDEO_TS.IFO and VIDEO_TS.BUP to ensure that there are not on the same ECC block.


Originally Posted by r0lZIt's probably because you have the 32K Gap option enabled.  Those 16 sectors are added between VIDEO_TS.IFO and VIDEO_TS.BUP to ensure that there are not on the same ECC block.

Thanks for the info.

Wouldn't an easier way to manually create the layer break would be to shift the Video_ts file to make it larger by a few sectors to adjust the layer break exactly at a chapter point? Can this be done easily in pgcedit or would vobblanker be better? How would I do this exactly in PGCedit if it is possible?

Do you mean to pad VIDEO_TS.IFO (and also VIDEO_TS.BUP) with dummy sectors instead of adding a gap between the files?

I know it is also theoretically possible to shift all the files, including VIDEO_TS.IFO, leaving the gap after the sectors reserved for the file system, but I don't have the control on that.  Furthermore, I don't think it's a better solution.  Modifying the VTS sectors in the IFOs is the easy way to do the shifting with mkisofs, and is fully standard compliant.  The current method works well, and, honestly, I don't want to change it.  There is a drawback, though: some bad burning programs (notably Nero) ignore the VTS sectors in the IFOs, and therefore, the 32K gaps and even the right layer break position are lost.  Solution: use a good burning program!


Originally Posted by r0lZDo you mean to pad VIDEO_TS.IFO (and also VIDEO_TS.BUP) with dummy sectors instead of adding a gap between the files?

I know it is also theoretically possible to shift all the files, including VIDEO_TS.IFO, leaving the gap after the sectors reserved for the file system, but I don't have the control on that.  Furthermore, I don't think it's a better solution.  Modifying the VTS sectors in the IFOs is the easy way to do the shifting with mkisofs, and is fully standard compliant.  The current method works well, and, honestly, I don't want to change it.  There is a drawback, though: some bad burning programs (notably Nero) ignore the VTS sectors in the IFOs, and therefore, the 32K gaps and even the right layer break position are lost.  Solution: use a good burning program!

I meant padding I think, with my issue where my none of my cells were layer break compient, if i added size (pad) the video_TS to make it larger in sectors to align one of my chapter start sectors to be complient (example if video_01 starts 355 and I add lets say 7 sectors to the video_TS to make the start of the vts_01 at 362, then this would shift all my starting sectors +362 instead of +355. Thus the 362 + one of my starting chapter points would be complient.

(lets say the chapter I want the split is at 2069782 and with the +355 that would make it still non complient, but adding 362 (new start of the vts_01) to 2069782 I get 2070144 for the start of the chapter which is complient 2070144/16=129384.

I guess I am asking how do I manually add padding to the video_ts? can vobblanker do this? Or can I just change the sector sizes in the ifos?
¥
Back Forum Reply New