-
Notifications
You must be signed in to change notification settings - Fork 2
Home
The bluray_info project contains a collection of programs to access information about Blu-rays and extract content.
Programs include:
- bluray_info - display information about a Blu-ray in human-readable, JSON, or MKV chapter formats.
- bluray_copy - copy tracks, chapters, from a Blu-ray to a file or stdout
- bluray_player - a small Blu-ray player using libmpv as backend
The two libraries that need to be installed for bluray_info to work is libbluray (at least version 1.2.0) and libaacs.
Configuration and installation uses common scripts:
./configure make make install
If you want to build bluray_player you will need libmpv installed on your system. Then, pass the build option to configure.
./configure --with-libmpv
Blu-ray path can be a device, a filename, or a directory. With no argument, the default device for your operating system will be used.
bluray_info bluray_info /dev/sr0 bluray_info movie.iso bluray_info ~/Videos/Blu-ray/
bluray_info has been tested on GNU/Linux, OpenBSD, FreeBSD, and NetBSD.
libbluray ships with sample binaries that are also very helpful. See bd_info for generic information, and bd_splice to also copy a title.
ffmpeg can read Blu-rays directly. See their documentation here.
ffmpeg -playlist 1 bluray:/dev/sr0 -codec copy bluray.mkv
If you run into problems, feel free to contact me or open a bug here on GitHub.