Skip to content

Latest commit

 

History

History

bluray-data

bluray-data

A command line tool for Blu-ray Disc (e.g. BD-R, BD-RE) formatting and data recording.

Set PATH to compiled programs

# Intel
export PATH=$PWD/bin/x64/:$PATH

# ARM
export PATH=$PWD/bin/arm64/:$PATH

List options

bluray-data --help

List available devices

bluray-data list-devices

Eject

bluray-data eject --device-index 0

Close tray

bluray-data close-tray --device-index 0

Disc Info

bluray-data disc-info --device-index 0

Write Speed Info

bluray-data speed-info --device-index 0

Quick format

bluray-data format --device-index 0

# force
bluray-data format --force --device-index 0

Burn

Download test files

mkdir -p $HOME/DataDisc/Hippo

pushd $HOME/DataDisc/Hippo
wget https://archive.org/download/WildlifeVideoMedia/Hippo.ogv 
popd

mkdir -p $HOME/DataDisc/Elephant

pushd $HOME/DataDisc/Elephant
wget https://archive.org/download/WildlifeVideoMedia/Elephant.ogv
popd

Start a new disc

NOTE: We use the --overwrite flag to start a new disc.

bluray-data burn \
    --overwrite \
    --source-folder $HOME/DataDisc/Elephant \
    --volume-label Animals \
    --eject \
    --device-index 0

Append to existing data

NOTE: No --overwrite flag

bluray-data close-tray --device-index 0

bluray-data burn \
    --source-folder $HOME/DataDisc/Hippo \
    --volume-label Animals \
    --eject \
    --device-index 0