Rocket Division Software
http://www.starburnsoftware.com/forum/

Disc Information
http://www.starburnsoftware.com/forum/starburn-sdk-f3/disc-information-t2069.html
Page 1 of 2

Author:  deepakp [ Mon May 03, 2010 8:27 am ]
Post subject:  Disc Information

Hello Support,

1) DVD Region Mask:
How to use DVD Region Mask Property in DiscInfo class of StarBurnX?
Will you please kindly guide me & tell how to use it?
Ex. For one of the Copy Protected DVD it is reported as 237, but what this means?

2) Is Disc Dual Layer:
How to detect whether inserted DVD is Dual Layer or not?
Ex. Now with the same DVD Disc Type is reported as 128 means DVD ROM.

3) Disc Contents:
How to check Whether inserted DVD is Video DVD or Data DVD? So that this can be used in Grabber section to call proper API.

Author:  dima (staff) [ Tue May 04, 2010 6:56 am ]
Post subject:  Re: Disc Information

Hello,

2) Dual layered DVD discs should be one:
STARBURN_DISC_TYPE_DVD_PLUS_R_DL Media disc is Dual Layer DVD+R disc
STARBURN_DISC_TYPE_DVDR_DL Media disc is Dual Layer DVD-R disc


3) Check that files system if ISO9660 ... the next you should check presence of the VIDEO_TS folder :)

Regards,

Dmitry

Author:  deepakp [ Wed May 05, 2010 3:23 am ]
Post subject:  Re: Disc Information

Hello Dima Sir,

1) What about DVD Region Mask property? How to use it?
2 & 3) I will check for rest of others & will discuss it again. OK Sir.

Author:  anton (staff) [ Wed May 05, 2010 10:58 am ]
Post subject:  Re: Disc Information

AND it with DVD region (like 5 or 1) to find out will the disc play or not.

Author:  deepakp [ Wed May 05, 2010 12:32 pm ]
Post subject:  Re: Disc Information

Hello Sir,
I have one CSS Protected DVD with supported DVD Region 2 & 5. This information is taken from Nero InfoTool attached log file.
Here value of discInfo.DVDRegionMask comes up as 237

Code:
            Console.WriteLine(IIf(CBool(discInfo.DVDRegionMask And 1), "NONE", "Region 1"))
            Console.WriteLine(IIf(CBool(discInfo.DVDRegionMask And 2), "NONE", "Region 2"))
            Console.WriteLine(IIf(CBool(discInfo.DVDRegionMask And 3), "NONE", "Region 3"))
            Console.WriteLine(IIf(CBool(discInfo.DVDRegionMask And 4), "NONE", "Region 4"))
            Console.WriteLine(IIf(CBool(discInfo.DVDRegionMask And 5), "NONE", "Region 5"))
            Console.WriteLine(IIf(CBool(discInfo.DVDRegionMask And 6), "NONE", "Region 6"))
            Console.WriteLine(IIf(CBool(discInfo.DVDRegionMask And 7), "NONE", "Region 7"))
            Console.WriteLine(IIf(CBool(discInfo.DVDRegionMask And 8), "NONE", "Region 8"))


for these tests it is giving me only DVD Region 2 as output.
I guess something is wrong from side. It should return me DVD Region 2 as well as DVD Region 5.
Will you please kindly tell me, if anything wrong from my side.

Attachments:
File comment: Nero InfoTool Log
InfoTool.rar [940 Bytes]
Downloaded 1382 times
File comment: StarBurnX log
StarBurnX.rar [4.15 KiB]
Downloaded 1400 times

Author:  anton (staff) [ Wed May 05, 2010 12:38 pm ]
Post subject:  Re: Disc Information

237 = 0xED = 11101101

Region 2 is OK and Region 5 is OK

Author:  dima (staff) [ Thu May 06, 2010 8:48 am ]
Post subject:  Re: Disc Information

Hello

I guess you should interchange parameters "NONE" and "Region X"

Regards,

Dmitry

Author:  deepakp [ Thu May 06, 2010 9:58 am ]
Post subject:  Re: Disc Information

Hello Dima Sir,

First I tried that way only but no luck. I tried following:
Code:
            Console.WriteLine(IIf(CBool(discInfo.DVDRegionMask And 1), "Region 1", "NONE"))
            Console.WriteLine(IIf(CBool(discInfo.DVDRegionMask And 2), "Region 2", "NONE"))
            Console.WriteLine(IIf(CBool(discInfo.DVDRegionMask And 3), "Region 3", "NONE"))
            Console.WriteLine(IIf(CBool(discInfo.DVDRegionMask And 4), "Region 4", "NONE"))
            Console.WriteLine(IIf(CBool(discInfo.DVDRegionMask And 5), "Region 5", "NONE"))
            Console.WriteLine(IIf(CBool(discInfo.DVDRegionMask And 6), "Region 6", "NONE"))
            Console.WriteLine(IIf(CBool(discInfo.DVDRegionMask And 7), "Region 7", "NONE"))
            Console.WriteLine(IIf(CBool(discInfo.DVDRegionMask And 8), "Region 8", "NONE"))

I got following answer:
Region 1
NONE
Region 3
Region 4
Region 5
Region 6
Region 7
Region 8

Hence I tried the another way mentioned in above post by swapping outputs, but no luck there also.
This DVD supports DVD Region 2 & 5. But somehow getting And expression true for DVD Region 2 only.
I understood what Anton Sir told. So is it the case, that I have to convert Decimal 237 to Binary 11101101. To get supported DVD Regions 2 & 5.

I am definitely missing something or doing wrong? What is the right way?
Will you please kindly help me.
Thank you.

Author:  anton (staff) [ Thu May 06, 2010 11:15 am ]
Post subject:  Re: Disc Information

Yes, you miss binary operations. Zeros in decoded byte show SUPPORTED region. Scan for zeros as they are located at the playable regions.

Author:  dima (staff) [ Thu May 06, 2010 12:13 pm ]
Post subject:  Re: Disc Information

Hello,

I don't understand why you are using the 1,2,3,4,5,6,7,8 values?!! you should use the next values: 1, 2, 4, 8, 16,32, 64, 128 !!! :))

Regards,

Dmitry

Author:  deepakp [ Fri May 07, 2010 5:09 am ]
Post subject:  Re: Disc Information

OK,

Oops, what a mistake? :oops:
Sorry Dima Sir.
Sorry Anton Sir.

Author:  anton (staff) [ Fri May 07, 2010 9:56 am ]
Post subject:  Re: Disc Information

NP :)

Author:  deepakp [ Sat May 08, 2010 3:37 am ]
Post subject:  Re: Disc Information

Hello Sir,

In this topic I had asked 3 questions related to disc information.
1) DVD Region Mask related part is clear to me. First question is answered. Thank you once again.
2) Now I will discuss about, IsDiscDualLayer.
3) Sir, I have gone through reported Disc Type for one of the protected DVD Video Dual layer DVD. It's Disc Type is reported as DVD ROM(128). So how to check Dual Layer DVD ROM.
Yes there are enum values STARBURN_DISC_TYPE_DVD_PLUS_R_DL & STARBURN_DISC_TYPE_DVDR_DL. But what about Dual Layer DVD ROM?

Thank you.

Author:  dima (staff) [ Sat May 08, 2010 5:16 pm ]
Post subject:  Re: Disc Information

Hello,

Yes, it seems that DVD-ROM DL discs are "outlawed":) we should investigate it.

Regards,

Dmitry

Author:  anton (staff) [ Sat May 08, 2010 7:05 pm ]
Post subject:  Re: Disc Information

There's a way to get number of layers reading dvd structures from the disc. But I don't think we need to implement one.

dima (staff) wrote:
Hello,

Yes, it seems that DVD-ROM DL discs are "outlawed":) we should investigate it.

Regards,

Dmitry

Page 1 of 2 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/