This is an old revision of the document!
disc_id
disc_id is a very small binary that used to ship with libdvdread. The code still exists in the repository, but doesn't build by default, and doesn't build with newer versions (last I checked, which would have been years ago).
It returns a small hash which I use in all my scripts as a unique identifier for each DVD.
You can download the 64-bit compiled version of it that I always use here: http://spaceparanoids.org/downloads/multimedia/disc_id