Re: IFO + VOB less than 32k

Jonatã Bolzan <[email protected]> Fri, 31 Jul 2015 13:41:03 -0300
Newsgroups gmane.comp.multimedia.dvdauthor.user
Message-ID <CAL_FyvrNtXAJP4ND5qbP4-SgAPFJkKbRzfwqX0E3i8hV3uXOyw@mail.gmail.com>
> I dunno if this will work for iso filesystem, but here's what you may
> want to try:
>
> 1. mount iso image
>
> 2. Try
>     hdparm --fibmap .../VIDEO_TS/VIDEO_TS.IFO
>   or
>     use "debugfs" tools to find out...

I tried that, it seems that the -sort option have no effect. None of
the commands you suggested worked, but filefrag helped me. I even
burned a DVD to make sure.

For the IFO:

# filefrag -e .../VIDEO_TS/VIDEO_TS.IFO
Filesystem type is: 15013346
File size of ../VIDEO_TS/VIDEO_TS.IFO is 12288 (6 blocks of 2048 bytes)
 ext:     logical_offset:        physical_offset: length:   expected: flags:
   0:        1..       2:        279..       280:      2:        280: merged
   1:        3..       4:        281..       282:      2:        282: merged
   2:        5..       6:        283..       284:      2:        283: merged,eof
.../VIDEO_TS/VIDEO_TS.IFO: 3 extents found

For the BUP:

# filefrag -e .../VIDEO_TS/VIDEO_TS.BUP
Filesystem type is: 15013346
File size of .../VIDEO_TS/VIDEO_TS.BUP is 12288 (6 blocks of 2048 bytes)
 ext:     logical_offset:        physical_offset: length:   expected: flags:
   0:        1..       2:        285..       286:      2:        286: merged
   1:        3..       4:        287..       288:      2:        288: merged
   2:        5..       6:        289..       290:      2:        289: merged,eof
.../VIDEO_TS/VIDEO_TS.BUP: 3 extents found


> That said, I'm not sure "-sort" takes negative values well.
> Why not try value of, say "1" instead of "-8000"?

Yes, according to the README.sort from cdrtools source:

"where filename is the whole name of a file/directory as mkisofs will see it
and weight is a whole number between +/- 2147483647"

and on the example they show negative values:

cd_dir/dir2     1000
cd_dir/dir2/Y   2000
cd_dir/dir1/B   -2000
cd_dir/dir1/A   -8000

Anyway, just to make sure, here is the actual sort.txt file I used:

dvd/VIDEO_TS/VIDEO_TS.IFO 8000
dvd/VIDEO_TS/VTS_01_0.IFO 8001
dvd/VIDEO_TS/VIDEO_TS.BUP 1000
dvd/VIDEO_TS/VTS_01_0.BUP 999

Thanks for your attention!

------------------------------------------------------------------------------