#1 Burning Software

It is currently Fri Nov 01, 2024 2:28 am

All times are UTC




Post new topic Reply to topic  [ 19 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Disc Information
PostPosted: Mon May 03, 2010 8:27 am 
Offline

Joined: Mon Aug 25, 2008 1:50 pm
Posts: 394
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.


Top
 Profile  
 
 Post subject: Re: Disc Information
PostPosted: Tue May 04, 2010 6:56 am 
Offline

Joined: Thu Dec 13, 2007 8:44 am
Posts: 609
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


Top
 Profile  
 
 Post subject: Re: Disc Information
PostPosted: Wed May 05, 2010 3:23 am 
Offline

Joined: Mon Aug 25, 2008 1:50 pm
Posts: 394
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.


Top
 Profile  
 
 Post subject: Re: Disc Information
PostPosted: Wed May 05, 2010 10:58 am 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
AND it with DVD region (like 5 or 1) to find out will the disc play or not.


Top
 Profile  
 
 Post subject: Re: Disc Information
PostPosted: Wed May 05, 2010 12:32 pm 
Offline

Joined: Mon Aug 25, 2008 1:50 pm
Posts: 394
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
Top
 Profile  
 
 Post subject: Re: Disc Information
PostPosted: Wed May 05, 2010 12:38 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
237 = 0xED = 11101101

Region 2 is OK and Region 5 is OK


Top
 Profile  
 
 Post subject: Re: Disc Information
PostPosted: Thu May 06, 2010 8:48 am 
Offline

Joined: Thu Dec 13, 2007 8:44 am
Posts: 609
Hello

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

Regards,

Dmitry


Top
 Profile  
 
 Post subject: Re: Disc Information
PostPosted: Thu May 06, 2010 9:58 am 
Offline

Joined: Mon Aug 25, 2008 1:50 pm
Posts: 394
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.


Top
 Profile  
 
 Post subject: Re: Disc Information
PostPosted: Thu May 06, 2010 11:15 am 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Yes, you miss binary operations. Zeros in decoded byte show SUPPORTED region. Scan for zeros as they are located at the playable regions.


Top
 Profile  
 
 Post subject: Re: Disc Information
PostPosted: Thu May 06, 2010 12:13 pm 
Offline

Joined: Thu Dec 13, 2007 8:44 am
Posts: 609
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


Top
 Profile  
 
 Post subject: Re: Disc Information
PostPosted: Fri May 07, 2010 5:09 am 
Offline

Joined: Mon Aug 25, 2008 1:50 pm
Posts: 394
OK,

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


Top
 Profile  
 
 Post subject: Re: Disc Information
PostPosted: Fri May 07, 2010 9:56 am 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
NP :)


Top
 Profile  
 
 Post subject: Re: Disc Information
PostPosted: Sat May 08, 2010 3:37 am 
Offline

Joined: Mon Aug 25, 2008 1:50 pm
Posts: 394
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.


Top
 Profile  
 
 Post subject: Re: Disc Information
PostPosted: Sat May 08, 2010 5:16 pm 
Offline

Joined: Thu Dec 13, 2007 8:44 am
Posts: 609
Hello,

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

Regards,

Dmitry


Top
 Profile  
 
 Post subject: Re: Disc Information
PostPosted: Sat May 08, 2010 7:05 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 19 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group