This is an old revision of the document!


dvd_info

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

Included:

  • 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 http://bluray.beandog.org/dvd_info/.

The code is open-source, licensed under GNU GPL v2. Source code is available at https://github.com/beandog/dvd_info.

dvd_info

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

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

Examples:

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

Navigation