Detecting Capacity Of Media

CD, DVD and Blu-ray Writers Discuss, Detecting Capacity Of Media at Hardware forum; Hi, This may be a simple question, but i'm having troubles detecting whether the inserted blank CD is either 74 or 80 minutes - or better how much space is available whatever media is inserted. I've tried using the READ_DISC_INFORMATION command and checking the Last Possible Start Time for Start

  1. Old Posted:
    • # 1
    default_avatar
    knuckles_mctug (New on Forum)
    Posts: 24
    • Find More Posts by knuckles_mctug
    Hi,

    This may be a simple question, but i'm having troubles detecting whether the inserted blank CD is either 74 or 80 minutes - or better how much space is available whatever media is inserted. I've tried using the READ_DISC_INFORMATION command and checking the Last Possible Start Time for Start of Lead-out field, but this gives some strange results with the discs i've checked - although obviously i could be doing something wrong here.
    I was just wondering which commands / data others used to determine how much capacity is available for writing on a blank disc.

    Thanks
    Andrew
    default_avatar
    Today (MyCE Staff)
    Posts: 15,596
  2. Old Posted:
    • # 2
    default_avatar
    scoobiedoobie (CDFreaks Resident)
    Posts: 3,163
    • Find More Posts by scoobiedoobie
    Nero CD-DVD Speed will tell you.
  3. Old Posted:
    • # 3
    default_avatar
    knuckles_mctug (New on Forum)
    Posts: 24
    • Find More Posts by knuckles_mctug
    Thanks for your reply, however i am writing my own software and was wondering which mmc commands people use - i've written the writing side of it, i just need to tidy up the functions to deal with all cases. One of which is to detect if there is enough available space for the data that needs to be written.

    Andrew
  4. Old Posted:
    • # 4
    default_avatar
    november26 (New on Forum)
    Posts: 22
    • Find More Posts by november26
    The best bet is to use the READ TRACK/RZONE INFORMATON. This, amongst other things, contains the LBA of the next writable address and the number of free blocks. You can then do the sums to see if it 74 or 80 min.
  5. Old Posted:
    • # 5
    default_avatar
    tom0769 (CD Freaks Rookie)
    Posts: 32
    • Find More Posts by tom0769
    Quote:
    Originally Posted by knuckles_mctug
    Thanks for your reply, however i am writing my own software and was wondering which mmc commands people use - i've written the writing side of it, i just need to tidy up the functions to deal with all cases. One of which is to detect if there is enough available space for the data that needs to be written.
    Hi,

    I had the same problem!
    I'm doing it by READ TRACK INFORMATION command, with the track no set
    to FFh (Invisible or incomplete track).
    I use the "TrackSize" in the "Track Information Block" to determine the
    disc size in blocks.

    Tom

Hello guest,
default
To benefit from all extra features you need to log in or sign up.

Search this Thread

New Posts

People who found this also searched for

  • read disc information
  • read disc information
All times are GMT +2. The time now is 07:54.
Top