Welcome to the Invelos forums. Please read the forum rules before posting.

Read access to our public forums is open to everyone. To post messages, a free registration is required.

If you have an Invelos account, sign in to post.

    Invelos Forums->DVD Profiler: Contribution Discussion Page: 1... 6 7 8 9 10 ...15  Previous   Next
WARNING: wrong disc id with Windows 10 Update 1809
Author Message
DVD Profiler Unlimited Registrantproverbs311031
Registered: May 30, 2007
Posts: 55
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Just double-checking, the cdrom.sys driver that was used before Windows 10 update 1809 worked correctly in identifying the proper disc id?
DVD Profiler Unlimited RegistrantStar Contributorrdodolak
Registered: March 18, 2007
Reputation: Superior Rating
United States Posts: 1,646
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Quoting proverbs311031:
Quote:
Just double-checking, the cdrom.sys driver that was used before Windows 10 update 1809 worked correctly in identifying the proper disc id?


Yes.
DVD Profiler Unlimited RegistrantStar ContributorAssassin
Registered: March 15, 2007
Germany Posts: 122
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
Well then, can we just use the old driver then? Would be worth a try. Can anybody upload it?
DVD Profiler Unlimited RegistrantStar ContributorNexus the Sixth
Contributor since 2002
Registered: March 13, 2007
Reputation: High Rating
Sweden Posts: 3,197
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
First registered: February 15, 2002
DVD Profiler Desktop and Mobile RegistrantStar ContributorDJ Doena
Registered: May 1, 2002
Registered: March 14, 2007
Reputation: Highest Rating
Germany Posts: 6,747
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Quoting Assassin:
Quote:
Well then, can we just use the old driver then? Would be worth a try. Can anybody upload it?


Fair warning: You don't know what else Microsoft changed in that file. You might wreck your Windows with that move.
Karsten
DVD Collectors Online

DVD Profiler Unlimited Registrantproverbs311031
Registered: May 30, 2007
Posts: 55
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
disclosure: I've been in IT for over 25 years

long story short: when replacing the existing driver with older driver provided by iPatsa, my DVD-RW drive does not show as installed, even with all matching account permissions including TrustedInstaller when compared to existing build 18363 cdrom.sys driver, so there must be another "software hook or call being made".

Any suggestions on what I might be missing?
 Last edited: by proverbs311031
DVD Profiler Unlimited RegistrantStar ContributorAssassin
Registered: March 15, 2007
Germany Posts: 122
Posted:
PM this userEmail this userView this user's DVD collectionDirect link to this postReply with quote
Bummer. Well, Version 2004 is around the corner, maybe we have luck.
DVD Profiler Unlimited RegistrantStar Contributorrdodolak
Registered: March 18, 2007
Reputation: Superior Rating
United States Posts: 1,646
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Found this on the MyMovies site and what they apparently did to get around the issue in Win10.  Bottom line, they updated their program to no rely on the Windows calls and manually calculating the disc IDs.

Disc Id differences
DVD Profiler Unlimited RegistrantStar ContributorGSyren
Profiling since 2001
Registered: March 14, 2007
Reputation: Highest Rating
Sweden Posts: 4,695
Posted:
PM this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Quoting rdodolak:
Quote:
Found this on the MyMovies site and what they apparently did to get around the issue in Win10.  Bottom line, they updated their program to no rely on the Windows calls and manually calculating the disc IDs.

Disc Id differences

Interesting, but all it tells us is that Ken probably could fix this, if Ken was fixing things.
Not much we can do about it without him, is there? 
Well, I guess those of you who haven't already done so could by licenses to AnyDVD ... 
My freeware tools for DVD Profiler users.
Gunnar
DVD Profiler Desktop and Mobile RegistrantStar ContributorGreyHulk
Fixin' it for everyone..
Registered: November 24, 2008
Reputation: Highest Rating
United Kingdom Posts: 1,294
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
I can send people my old registered copy of SlySoft AnyDVD. I won't put my e-mail on this forum, for obvious reasons, but PM me and I can e-mail it to you.

This should help out anyone who can't contribute DVD disc IDs at the moment.
DVD Profiler Unlimited RegistrantStar ContributorObiKen
Registered: October 22, 2015
Reputation: Highest Rating
Australia Posts: 275
Posted:
PM this userDirect link to this postReply with quote
Quoting rdodolak:
Quote:
Found this on the MyMovies site and what they apparently did to get around the issue in Win10.  Bottom line, they updated their program to no rely on the Windows calls and manually calculating the disc IDs.

Disc Id differences

We know the 64-bit DVD DiscID does not reside on the DVD, so if MyMovies is now calculating the correct DiscID directly from the DVD's file system, does that imply:

a. there is nothing wrong with CDROM.SYS
b. there is something wrong with the Windows DIRECTSHOW API (which calculates the DiscID directly from the file system)
 Last edited: by ObiKen
DVD Profiler Unlimited RegistrantStar ContributorObiKen
Registered: October 22, 2015
Reputation: Highest Rating
Australia Posts: 275
Posted:
PM this userDirect link to this postReply with quote
Quoting proverbs311031:
Quote:
disclosure: I've been in IT for over 25 years

long story short: when replacing the existing driver with older driver provided by iPatsa, my DVD-RW drive does not show as installed, even with all matching account permissions including TrustedInstaller when compared to existing build 18363 cdrom.sys driver, so there must be another "software hook or call being made".

Any suggestions on what I might be missing?

Hmm, I tackled the problem differently, I started to work the problem from DVD profiler to the drive, not the other way round.

Initially, I ran Process Monitor tool and an API monitoring tool to check what happens when dvdpro.exe adds a DVD Disc ID in the database. I could see files in the VIDEO_TS directory were being read and some attributes such as filename, file size and date and times were also read.  But all the read data was correct and matched the values found on the DVD.

I ran the same test on many DVDs over many versions of Windows (XPsp2, Win7sp1, Win10v1709, Win10v1809, v1903, v1909) and found no evidence of corrupted data read from the DVDs.

Eventually, I did more research on the 64-bit CRC and found Microsoft's US patent which descibed the concept of the unique 64-bit CRC and how it could support bookmarking.  I learnt that there were four steps in the calculation process:

Step 1:
The filenames in the VIDEO_TS directory are collected and sorted alphabetically into a list

Step 2:
For each filename in the list, the following structure is filled out and added to the CRC (all data fields are in LSB first):
==> unsigned 64 bit Integer: dateTime (the time elapsed in 100 nanosecond intervals from Jan. 1, 1601)
==> unsigned 32 bit Integer: FileSize
==> BYTE: Filename [filename Length]
==> BYTE: FilenameTermNull=0

Step 3:
If present, the first 65,536 bytes of "VIDEO_TS.IFO are read and added to the CRC (if smaller then the entire file is added)

Step 4:
If present, the first 65,536 bytes of "VTS_01_0.IFO are read and added to the CRC (if smaller then the entire file is added)

In a nutshell, each file's attributes in the VIDEO_TS directory and the first 65,536 bytes of data from VIDEO_TS.IFO and VTS_01_0.IFO are the inputs added to the concatenated binary polynomial equation that generates the 64-bit CRC.

With the above steps in mind, I revisited the previous capture files I had and it finally dawned on me something did change with Win10 ver1809.

On every Windows platform, steps 2,3 and 4 were being carried out properly.
On the other hand, step 1 had changed:
==> Prior to Win10 ver1809, step 1 was being carried out properly.
==> From Win10 ver 1809 and onwards, only a subset of files in the VIDEO_TS directory were being read (VIDEO_TS.IFO, BUP and VOB, and VTS_01_0.IFO, BUP and VOB).

I can't give you a reason as to why the algorithm for calculating the DVD's unique 64-bit CRC changed, but I do note that both Microsoft's Windows Media Center application and Windows DVD Player application were both forcibly removed by the Win10 ver1809 upgrade, and both used the bookmarking feature via the DVD's unique 64-bit CRC!

Was the change just collateral damage?  I'll leave that to someone else to take up the gauntlet.  All I know is I finally convinced myself that CDROM.SYS was not the problem.
DVD Profiler Desktop and Mobile RegistrantStar ContributorDJ Doena
Registered: May 1, 2002
Registered: March 14, 2007
Reputation: Highest Rating
Germany Posts: 6,747
Posted:
PM this userEmail this userVisit this user's homepageView this user's DVD collectionDirect link to this postReply with quote
Quoting ObiKen:
Quote:
Hmm, I tackled the problem differently, I started to work the problem from DVD profiler to the drive, not the other way round.


Would you be OK if I add your entire post to the bug report I wrote to MS?
Karsten
DVD Collectors Online

 Last edited: by DJ Doena
DVD Profiler Unlimited RegistrantStar ContributorObiKen
Registered: October 22, 2015
Reputation: Highest Rating
Australia Posts: 275
Posted:
PM this userDirect link to this postReply with quote
Yes, you may use my post and add it to the bug report - good luck.
DVD Profiler Unlimited RegistrantStar ContributorObiKen
Registered: October 22, 2015
Reputation: Highest Rating
Australia Posts: 275
Posted:
PM this userDirect link to this postReply with quote
Quoting ObiKen:
Quote:
Yes, you may use my post and add it to the bug report - good luck.


And just for the record, the US patent was:

Patent No.:
6871012 B1

Patent title:
UNIQUE DIGITAL CONTENT IDENTIFIER GENERATING METHODS AND ARRANGEMENTS

Approval Date:
22nd March, 2005
DVD Profiler Desktop and Mobile RegistrantStar ContributorGreyHulk
Fixin' it for everyone..
Registered: November 24, 2008
Reputation: Highest Rating
United Kingdom Posts: 1,294
Posted:
PM this userView this user's DVD collectionDirect link to this postReply with quote
Bump (because it seems a lot of people are still unaware of this situation and I cannot get this thread pinned to the front page).
 Last edited: by GreyHulk
    Invelos Forums->DVD Profiler: Contribution Discussion Page: 1... 6 7 8 9 10 ...15  Previous   Next