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 [2018/03/27 23:40] beandog |
dvd_info [2021/10/17 17:42] beandog |
||
---|---|---|---|
Line 2: | Line 2: | ||
* [[http://github.com/beandog/dvd_info|GitHub dvd_info repo]] | * [[http://github.com/beandog/dvd_info|GitHub dvd_info repo]] | ||
- | * [[https://sourceforge.net/projects/dvdinfo/files/|SourceForge downloads]] | + | * [[https://github.com/beandog/dvd_info/releases|Downloads]] |
- | * Portability: [[OpenBSD]], [[NetBSD]] | + | * Portability: Linux, Cygwin, [[OpenBSD]], [[NetBSD]], FreeBSD |
* [[dvd_copy]] | * [[dvd_copy]] | ||
* [[dvd_drive_status]] | * [[dvd_drive_status]] | ||
Line 16: | Line 16: | ||
* ''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 | * ''dvd_copy'' - copies a VOB straight to harddrive or stdout | ||
+ | * ''dvd_player'' - a DVD player using libmpv | ||
+ | * ''dvd_trip'' - a DVD ripper using libmpv | ||
- | 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 | + | Build requirements: libdvdread, libdvdcss, libmpv (optional) |
+ | |||
+ | === Installation ==== | ||
+ | |||
+ | Then you can do standard ''./configure; make; make install'' | ||
==== dvd_info ==== | ==== dvd_info ==== | ||
- | See ''--help'' for all the fancy stuff it can do: | + | See ''--help'' for all the fancy stuff it can do. A man page (man dvd_info) is also included. |
<code> | <code> | ||
- | dvd_info 1.2 - display information about a DVD | + | dvd_info - display information about a DVD |
- | Usage: dvd_info [options] [-t track number] [dvd path] | + | Usage: dvd_info [path] [options] |
Options: | Options: | ||
- | -t, --track # Limit to one track number (default: longest) | + | -t, --track <number> Limit to selected track (default: all tracks) |
+ | -j, --json Display output in JSON format | ||
Detailed information: | Detailed information: | ||
- | -a, --audio audio streams | + | -v, --video Display video streams |
- | -v, --video video | + | -a, --audio Display audio streams |
- | -c, --chapters chapters | + | -s, --subtitles Display VobSub subtitles |
- | -s, --subtitles subtitles | + | -c, --chapters Display chapters |
- | -d, --cells cells | + | -d, --cells Display cells |
- | -x, --all display all | + | -x, --all Display all |
- | Formatting: | + | Narrow results: |
- | -j, --json Display output in JSON format | + | -l, --longest Track with the longest length |
- | -o, --ogm Display OGM chapter format for track (default: longest) | + | -A, --has-audio Track has audio streams |
- | -i, --id Display DVD id only (from libdvdread) | + | -S, --has-subtitles Track has VobSub subtitles |
- | -T, --title Display DVD title only (path must be device or file) | + | -E, --seconds <secs> Track has minimum number of seconds |
+ | -M, --minutes <mins> Track has minimum number of minutes | ||
+ | -T, --vts <number> Track is in video title set number | ||
+ | -L, --valid Track is marked as valid | ||
Other: | Other: | ||
- | -q, --quiet Don't display DVD title, longest track | + | -i, --id Display DVD ID only |
- | -h, --help Display these help options | + | -u, --volume Display DVD UDF volume name only (for ISO or disc) |
- | -V, --version Version information | + | -g, --xchap Display title's chapter format for mkvmerge |
- | + | -h, --help Display these help options | |
- | DVD path can be a device name, a single file, or directory. | + | --version Display version |
- | Examples: | + | DVD path can be a device name, a single file, or a directory (default: /dev/sr0) |
- | 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> | ||