Jump to content

UDF image size vs file size


Recommended Posts

Posted

I'm burning DVD/DVD DL discs using UDF and I'd like to max out the disc with recovery data using Reed-Solomon error correction.

 

I wanted to program a disc calulator that could take the file size and compute the image size and determine how many bytes I can allocate for the recovery data. (yes, I'm that bored that I truely want to max out the disc, and not just leave a 2mb cushion space).

 

So my question is does anyone know how to compute the image size based off the file size, or point me to where I can read how do it?

 

Thanks...

 

 

file size

sectors

 

[3 files]

 

data

4,699,950,140

2,294,899

 

image

4,700,504,064

2,295,168

 

difference of

553,924

269

 

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

 

data

6,421,575

3,137

 

image

6,979,584

3,408

 

difference of

558,924

271

 

============

 

[1 file]

 

data

4,696,665,772

2,293,294

 

image

4,697,227,264

2,293,568

 

differnce of

561,492

274

Posted

You need to work out the overhead for the filesystem... I'm not sure it's an easy thing to do without actually creating the file system!

 

ImgBurn's Build mode works that way when you press the 'Calculate' button.

 

I think you might be better off just adding a field where you can type in the info from ImgBurn.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.