This is an old revision of the document!


My own set of C programs that are small utilities for reading DVD info, and managing DVD drives.


  • dvd_info - a successor in spirit to lsdvd, can output information about a DVD in human-readable or JSON output
  • dvd_drive_status - poll the DVD drive to see the status of a drive: open, polling, closed with no disc, closed with disc
  • dvd_eject - a small eject utility that does its best to make sure a drive is properly closed and ready to go before being able toa ccess it (very useful for shell scripts that access DVD drives)

To download, see

The code is open-source, licensed under GNU GPL v2. Source code is available at


Usage: dvd_info [-t track number] [dvd path]

By default will open /dev/dvd. Can also open directories or image files as well.


dvd_info /dev/sr0
dvd_info EXCITING_MOVIE.iso
dvd_info ./