-
Notifications
You must be signed in to change notification settings - Fork 2
bluray_copy
The bluray_copy program will copy a playlist or playlist and specific chapters from a Blu-ray to a filename, or to stdout.
By default bluray_copy will copy the main playlist, which can be overridden with the --playlist argument.
See also man bluray_copy
Options: -m, --main Copy main playlist (default) -p, --playlist <#> Copy playlist number -c, --chapter <#>[-#] Copy chapter number or range Destination: -o, --output <filename> Save to filename (default: bluray_title_###.m2ts) --output - Write to stdout Other: -k, --keydb <filename> Location to KEYDB.cfg (default: ~/.config/aacs/KEYDB.cfg) -a, --angle <#> Video angle (default: 1) -h, --help This output --version Version information
The format of the track copied is the same on the disc, namely, an MPEG2 transport stream container audio and video.
bluray_copy -o bluray_video.m2ts
You can use a program like ffprobe or MediaInfo to display more details about the copy.
bluray_copy by default will copy all the chapters on a title. You can specify chapters using -c #-# arguments.
An example, copy only the second through fifth chapters:
bluray_copy -c 2-5
By default, bluray_copy will save the file to bluray_playlist_<playlist_number>.m2ts. The filename can be overriden using the -o argument:
bluray_copy -o my_bluray.m2ts
You an use bluray_copy to pipe the output directly to stdout. This is useful if, for example, you want to remux the data directly, or send it to another application, like ffmpeg.
Simply pass the output filename as -
One example of using a pipe would to be send it directly to ffmpeg to remux it to another format:
bluray_copy -o - | ffmpeg -i - -codec copy bluray_video.mkv
Or even re-encode it:
bluray_copy -o - | ffmpeg -i - bluray_video.webm