Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
dvd_info [2014/09/08 22:47] beandog |
dvd_info [2020/09/26 21:47] beandog |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== dvd_info ====== | ====== dvd_info ====== | ||
+ | |||
+ | * [[http://github.com/beandog/dvd_info|GitHub dvd_info repo]] | ||
+ | * [[https://sourceforge.net/projects/dvdinfo/files/|SourceForge downloads]] | ||
+ | * [[http://bluray.beandog.org/dvd_info/|Downloads]] | ||
+ | * Portability: [[OpenBSD]], [[NetBSD]] | ||
+ | * [[dvd_copy]] | ||
+ | * [[dvd_drive_status]] | ||
+ | * [[dvd_eject]] | ||
My own set of C programs that are small utilities for reading DVD info, and managing DVD drives. | My own set of C programs that are small utilities for reading DVD info, and managing DVD drives. | ||
Line 5: | Line 13: | ||
Included: | Included: | ||
- | * ''dvd_info'' - a successor in spirit to [[lsdvd]], can output information about a DVD in human-readable or JSON output | + | * ''dvd_info'' - a successor in spirit to [[http://sourceforge.net/projects/lsdvd|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_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) | * ''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) | ||
- | + | * ''dvd_copy'' - copies a VOB straight to harddrive or stdout | |
- | 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]]. | The code is open-source, licensed under GNU GPL v2. Source code is available at [[https://github.com/beandog/dvd_info]]. | ||
- | Build requirements: libdvdread, libdvdcss, jansson | + | Build requirements: libdvdread, libdvdcss |
- | ==== dvd_info ==== | + | === Installation ==== |
- | ** Usage: ** dvd_info [options] [-t track number] [dvd path] | + | Based on what release version you get, github or a compiled package, you may need to build your own ''configure'' files. |
- | By default will open ''/dev/dvd''. Can also open directories or image files as well. | + | <code> |
+ | autoreconf -fi | ||
+ | </code> | ||
- | Examples: | + | Then you can do standard ''./configure; make; make install'' |
+ | |||
+ | ==== dvd_info ==== | ||
+ | |||
+ | See ''--help'' for all the fancy stuff it can do: | ||
<code> | <code> | ||
- | dvd_info /dev/sr0 | + | dvd_info 1.2 - display information about a DVD |
- | dvd_info EXCITING_MOVIE.iso | + | |
- | dvd_info ./ | + | Usage: dvd_info [options] [-t track number] [dvd path] |
+ | |||
+ | Options: | ||
+ | -t, --track # Limit to one track number (default: longest) | ||
+ | |||
+ | Detailed information: | ||
+ | -a, --audio audio streams | ||
+ | -v, --video video | ||
+ | -c, --chapters chapters | ||
+ | -s, --subtitles subtitles | ||
+ | -d, --cells cells | ||
+ | -x, --all display all | ||
+ | |||
+ | Formatting: | ||
+ | -j, --json Display output in JSON format | ||
+ | -o, --ogm Display OGM chapter format for track (default: longest) | ||
+ | -i, --id Display DVD id only (from libdvdread) | ||
+ | -T, --title Display DVD title only (path must be device or file) | ||
+ | |||
+ | Other: | ||
+ | -q, --quiet Don't display DVD title, longest track | ||
+ | -h, --help Display these help options | ||
+ | -V, --version Version information | ||
+ | |||
+ | DVD path can be a device name, a single file, or directory. | ||
+ | |||
+ | Examples: | ||
+ | dvd_info # Read default DVD device (/dev/sr0) | ||
+ | dvd_info /dev/dvd # Read a specific DVD device | ||
+ | dvd_info movie.iso # Read an image file | ||
+ | dvd_info ~/movie/ # Read a directory that contains VIDEO_TS | ||
</code> | </code> | ||