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/26 18:18] beandog [dvd_info] |
dvd_info [2021/10/17 17:42] beandog |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== dvd_info ====== | ====== dvd_info ====== | ||
+ | |||
+ | * [[http://github.com/beandog/dvd_info|GitHub dvd_info repo]] | ||
+ | * [[https://github.com/beandog/dvd_info/releases|Downloads]] | ||
+ | * Portability: Linux, Cygwin, [[OpenBSD]], [[NetBSD]], FreeBSD | ||
+ | * [[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 8: | Line 15: | ||
* ''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 | ||
+ | * ''dvd_player'' - a DVD player using libmpv | ||
+ | * ''dvd_trip'' - a DVD ripper using libmpv | ||
- | 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, libmpv (optional) |
- | Build requirements: libdvdread, libdvdcss, [[http://www.digip.org/jansson/|jansson]] | + | === Installation ==== |
+ | |||
+ | Then you can do standard ''./configure; make; make install'' | ||
==== dvd_info ==== | ==== dvd_info ==== | ||
- | ** Usage: ** dvd_info [options] [-t track number] [dvd path] | + | See ''--help'' for all the fancy stuff it can do. A man page (man dvd_info) is also included. |
- | By default will open ''/dev/dvd''. Can also open directories or image files as well. | + | <code> |
+ | dvd_info - display information about a DVD | ||
- | Examples: | + | Usage: dvd_info [path] [options] |
- | <code> | + | Options: |
- | dvd_info /dev/sr0 | + | -t, --track <number> Limit to selected track (default: all tracks) |
- | dvd_info EXCITING_MOVIE.iso | + | -j, --json Display output in JSON format |
- | dvd_info ./ | + | |
+ | Detailed information: | ||
+ | -v, --video Display video streams | ||
+ | -a, --audio Display audio streams | ||
+ | -s, --subtitles Display VobSub subtitles | ||
+ | -c, --chapters Display chapters | ||
+ | -d, --cells Display cells | ||
+ | -x, --all Display all | ||
+ | |||
+ | Narrow results: | ||
+ | -l, --longest Track with the longest length | ||
+ | -A, --has-audio Track has audio streams | ||
+ | -S, --has-subtitles Track has VobSub subtitles | ||
+ | -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: | ||
+ | -i, --id Display DVD ID only | ||
+ | -u, --volume Display DVD UDF volume name only (for ISO or disc) | ||
+ | -g, --xchap Display title's chapter format for mkvmerge | ||
+ | -h, --help Display these help options | ||
+ | --version Display version | ||
+ | |||
+ | DVD path can be a device name, a single file, or a directory (default: /dev/sr0) | ||
</code> | </code> | ||