Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
bluray_info [2021/10/17 18:08] beandog |
bluray_info [2023/04/09 21:14] (current) beandog [bluray_info] |
||
---|---|---|---|
Line 2: | Line 2: | ||
* [[bluray_copy]] - copy a track to filesystem or stdout, part of bluray_info package | * [[bluray_copy]] - copy a track to filesystem or stdout, part of bluray_info package | ||
- | * [[https://github.com/beandog/bluray_info]] - source code and releases | + | * [[bluray_player]] - a Blu-ray player using libmpv |
+ | * [[Blu-ray DRM]] | ||
- | The [[https://www.videolan.org/developers/libbluray.html|libbluray]] API is very clean, and putting together an initial copy of ''bluray_info'' to print out details about a disc only took me two days. It's similar to [[dvd_info]] in that it does human-friendly and JSON output, but doesn't have nearly the amount of programs (like exporting chapters, copying tracks, etc.). The reason for that was ''dvd_info'' is a perpetual project that I never get around to doing point releases, so I decided to take the alternate approach here. | + | * [[https://github.com/beandog/bluray_info]] - source code |
+ | * [[https://github.com/beandog/bluray_info/releases]] - releases | ||
+ | * [[https://github.com/beandog/bluray_info/wiki]] - DOCUMENTATION | ||
+ | * [[http://fvonline-db.bplaced.net/]] - KEYDB.cfg downloads | ||
+ | * [[https://www.videolan.org/developers/libbluray.html|libbluray]] homepage | ||
- | You will need a copy of ''KEYDB.CFG'' to access your discs, most likely, so that libaacs can decrypt them. Get a copy [[http://fvonline-db.bplaced.net/|here]]. | + | **bluray_info** is a small program to display information about a Blu-ray disc (both original and 4K). It will run on Linux, Cygwin, OpenBSD, NetBSD, and FreeBSD. **You will need a KEYDB.cfg file for decryption of the DRM (details [[Blu-ray DRM|here]])** |
- | Downloads are available on [[https://github.com/beandog/bluray_info|github]]. I don't push stuff live if it's not working, so checking out the code from the repo should work just fine as well. | + | The [[https://www.videolan.org/developers/libbluray.html|libbluray]] API is very clean, and putting together an initial copy of ''bluray_info'' to print out details about a disc only took me two days. It's similar to [[dvd_info]] in that it does human-friendly and JSON output, but doesn't have nearly the amount of programs (like exporting chapters, copying tracks, etc.). The reason for that was ''dvd_info'' is a perpetual project that I never get around to doing point releases, so I decided to take the alternate approach here. |
==== Installation ==== | ==== Installation ==== | ||
Download a release at [[https://github.com/beandog/bluray_info/releases]]. | Download a release at [[https://github.com/beandog/bluray_info/releases]]. | ||
+ | |||
+ | If you want to build ''bluray_player'' you will need mpv installed with libmpv support. | ||
Standard installation: | Standard installation: | ||
Line 20: | Line 27: | ||
make | make | ||
sudo make install | sudo make install | ||
+ | </code> | ||
+ | |||
+ | ==== Help ==== | ||
+ | |||
+ | A man page is included with all the binaries shipped, see ''man bluray_info''. | ||
+ | |||
+ | Also, here is the help output: | ||
+ | |||
+ | <code> | ||
+ | bluray_info 1.9 - display information about a Blu-ray | ||
+ | |||
+ | Usage: bluray_info [path] [options] | ||
+ | |||
+ | Options: | ||
+ | -m, --main Limit to main title (default: all) | ||
+ | -t, --title <number> Limit to selected title | ||
+ | -p, --playlist <number> Limit to selected playlist | ||
+ | -j, --json Display format as JSON | ||
+ | |||
+ | Extra information: | ||
+ | -v, --video Display video streams | ||
+ | -a, --audio Display audio streams | ||
+ | -s, --subtitles Display subtitles | ||
+ | -c, --chapters Display chapters | ||
+ | -x, --all Display all | ||
+ | |||
+ | Narrow results: | ||
+ | -A, --has-audio Title has audio | ||
+ | -S, --has-subtitles Title has subtitles | ||
+ | -E, --seconds <number> Title has minimum number of seconds | ||
+ | -M, --minutes <number> Title has minimum number of minutes | ||
+ | |||
+ | Other: | ||
+ | -g, --xchap Display title's chapter format for mkvmerge | ||
+ | -k, --keydb <filename> Location to KEYDB.cfg (default: ~/.config/aacs/KEYDB.cfg) | ||
+ | -h, --help This output | ||
+ | --version Version information | ||
+ | |||
+ | Blu-ray path can be a device, a filename, or directory (default: /dev/sr0) | ||
</code> | </code> | ||