[VCDImager Bugs/Devel] Note: libvcd/vcddebug files sizes are in ISO sizes

"R. Bernstein" <[email protected]> Sat, 4 Jan 2003 14:16:41 -0500
Newsgroups gmane.comp.gnu.vcdimager.bugs
Message-ID <[email protected]>
I've been using the libvcd to get sizes of segments for vcdx, a new
xine VCD plugin. In doing so, I had noticed these file sizes in
vcddebug have were small. On investigation, I think the situation is
that internally the sizes recorded use ISO blocks size 2048. However
when a bin file is created blocks get padded out to 2324. Thus the
internal sizes are incorrect. However one can get the correct sizes by
using the sector counts and multiplying by the adjusted blocksize.

This is in fact what is done in the xine plugin as well as my patched
version of vcddebug (called vcddump).