The Idea

There are several online database that can recognise audio CDs - like freeDB, MusicBrainz or Gracenote. But there is no equivalent for DVDs, although some databases exist. But none of them supports detecting a DVD in the drive and recognising it.

Information Sources

Excellent work by Georges Dumond, alas frontend GUI and DVD analysing code are entwined in a deadly embrace, it is quite impossible to use it without creating a user interface:

DVD Explorer (MFC C++ Code)

Mostly all DVD structures explained on Sourceforge (almost all information used to build this library is taken from there):

More details can also be found here:"
How Does DVD Work" series of articles

And then I bought the "Unofficial DVD Specifications Guide 2.2" which was also quite helpful.