Last active
June 23, 2023 00:02
-
-
Save nickferrando/084afd67609303a81474074f7459fccf to your computer and use it in GitHub Desktop.
Installing Bento4 Tools for Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Install Git | |
sudo apt update | |
sudo apt install git | |
#Git Clone Bento4 | |
git clone https://github.com/axiomatic-systems/Bento4.git | |
cd Bento4/ | |
#As per README.md, at line 82: "Linux and other platforms, using CMake" | |
mkdir cmakebuild | |
cd cmakebuild/ | |
cmake -DCMAKE_BUILD_TYPE=Release .. | |
make | |
#In order to use mp4dash, mp4hls, mp4dashclone which are just bash wrappers to call python scripts like mp4-dash.py, you can move these directories as well. | |
cp -r ../Source/Python/utils /usr/local/bin | |
cp -r ../Source/Python/wrappers /usr/local/bin | |
#Add the wrappers directory to your path to use them like the other compiled executables | |
export PATH="/usr/local/bin/wrappers:$PATH" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment