Opened 12 years ago

Closed 12 years ago

#6302 closed defect (invalid)

Mytharchive dual layer settings don't always work

Reported by: anonymous Owned by: paulh
Priority: minor Milestone: unknown
Component: Plugin - MythArchive Version: 0.20.2
Severity: medium Keywords: Dual Layer size
Cc: Ticket locked: no


I have a spindle of dual layer writable DVDs from HP. The label identifies them as Double Layer HP DVD+R, and says "Almost twice the storage of standard DVDs". These disks have 4173824 2kB blocks. That works out to 8152 Mb. The mytharchive settings for dual-layer DVDs in mythplugins-0.20.2/mytharchive/mytharchive/archiveutil.cpp set the size at 8964 Mb. ISOs created with those settings cannot be burned to these writable DVDs. I suggest that a new record be created in that array for these lower-capacity dual-layer DVDs.

Change History (2)

comment:1 Changed 12 years ago by sphery <mtdean@…>

0.20.2 is no longer supported.

8152 MiB (that's not MB--and definitely not Mb ;) is the standard size of DVD+R DL.

DVD-R SL = 2,298,496sec = 4,707,319,808B = 4489.250MiB = 4.384GiB
DVD+R SL = 2,295,104sec = 4,700,372,992B = 4482.625MiB = 4.377GiB
DVD-R DL = 4,171,712sec = 8,543,666,173B = 8147.875MiB = 7.956GiB
DVD+R DL = 4,173,824sec = 8,547,991,552B = 8152.000MiB = 7.960GiB

(my numbers truncated, the wikipedia numbers rounded).

In mytharchive/mythburn/scripts/ in /both/ 0.21-fixes and trunk, we see that MythArchive? is currently using 4482MiB for SL discs and 8106MiB for DL discs (line 96, "dvdrsize=(4482,8106)"). (Sure, the DL could be 8147, but may have been lowered due to the slop in requantizing or something, IIRC.)

So, basically, you just need to upgrade to 0.21-fixes or fix your own legacy copy.

comment:2 Changed 12 years ago by Dibblah

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.