A command line tool for Blu-ray Disc (e.g. BD-R, BD-RE) formatting and data recording.
# Intel
export PATH=$PWD/bin/x64/:$PATH
# ARM
export PATH=$PWD/bin/arm64/:$PATH
bluray-data --help
bluray-data list-devices
bluray-data eject --device-index 0
bluray-data close-tray --device-index 0
bluray-data disc-info --device-index 0
bluray-data speed-info --device-index 0
bluray-data format --device-index 0
# force
bluray-data format --force --device-index 0
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
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
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