27.08.2022, 22:04
gave it another try:
Install Hybrid:
If Hybrid itself works, install Python 3.10 since LMDE 5 comes with Python 3.9.2, but Vapoursynth R59 only support Python 3.8 and Python 3.10:
Now that you have Python 3.10 we need to compile and install Vapoursynth by:
Install Hybrid:
- opened a terminal
- make sure the system iss up-to-date using:
sudo apt update && sudo apt upgrade -y && sudo apt autoremove && sudo apt -y autoclean && sudo -y autopurge
- went to https://www.selur.de/downloads and copied the downloadlink to 'Hybrid Linux64bit (with base tools and most dependencies)'
- downloaded the file into my home folder:
(this download is just for the current version)wget https://www.selur.de/sites/default/files/hybrid_downloads/Hybrid_20220320_Linux.7z
- I extracted the download into my home folder:
7z x Hybrid_20220320_Linux.7z
- create a folder for the configs
mkdir ~.hybrid
- created a misc.ini in that folder using:
with the follwing content:nano ~/.hybrid/misc.ini
[General]
ignoreTools=DivX265;neroAacEnc - download the latest tsMuxeR from https://github.com/justdan96/tsMuxer/act...2852491399
and extracting the tsMuxeR file into the ~/hybrid-folder and then call 'chmod +x ~/hybrid/tsMuxeR'.
now I Hybrid should successfully start when using:
~/hybrid/Hybrid
- remove the download by calling:
rm Hybrid_20220320_Linux.7z
If Hybrid itself works, install Python 3.10 since LMDE 5 comes with Python 3.9.2, but Vapoursynth R59 only support Python 3.8 and Python 3.10:
- install needed dependencies for building Python 3.10 using:
sudo apt install build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libssl-dev libreadline-dev libffi-dev libsqlite3-dev wget libbz2-dev
- download latest Pythong 3.10.6:
wget https://www.python.org/ftp/python/3.10.6/Python-3.10.6.tgz
- extract the download using:
tar -xf Python-3.10.6.tgz
- change into the Python folder:
cd Python-3.10.6
- configure Python for compilation
(maybe instead of 'CFLAGS=-fPIC CXXFLAGS=-fPIC' '--enable-pic' also works)./configure --enable-optimizations --enable-shared CFLAGS=-fPIC CXXFLAGS=-fPIC
- compile Python using:
(replace 16 with the number or physical cpu cores your system has)make -j 16
- install python 3.10
sudo make install
- making sure calling python3 will call the new 3.10 version.
python3 --version
- making sure that python also points to python3 by installing 'python-is-python3'
and caling:sudo apt-get install python-is-python3
sudo update-alternatives --install /usr/bin/python python /usr/local/bin/python3 1
- removing the download and the source code using:
cd
sudo rm -rf Python-3.10.6* - extending LD_LIBRARY_PATH
and addexport LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
to ~/.profile (nano ~/.profile)LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
and
to ~.bashrc (nano ~/.bashrc)export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
- installing pip using:
curl -O https://bootstrap.pypa.io/get-pip.py
sudo pyhton get-pip.pypip
sudo ln -s /usr/bin/pip /usr/local/bin/pip
rm get-pip.py
Now that you have Python 3.10 we need to compile and install Vapoursynth by:
- donwload the build-vapoursynth.sh script:
sudo apt-get -y install git && git clone https://github.com/Selur/hybrid-vapoursynth-addon.git
- adjust the build-vapoursynth.sh
cd hybrid-vapoursynth-addon/
remove the linesnano build-vapoursynth.sh
python3-pip \
lib$python3dotx \
lib$python3dotx-dev \ - start the script
adjust ~/.bashrc./build-vapoursynth.sh
by adding:nano ~/.bashrc
adjust ~/.profileexport LD_LIBRARY_PATH=/usr/local/lib:~/opt/vapoursynth/lib:~/opt/vapoursynth/lib/python3.10/site-packages
export PATH="~/opt/vapoursynth/bin:$PATH"
by adding:nano ~/.profile
LD_LIBRARY_PATH=~/opt/vapoursynth/lib:~/opt/vapoursynth/lib/python3.10/site-packages
PYTHONPATH=~/opt/vapoursynth/lib/python3.10/site-packages
PATH="~/opt/vapoursynth/bin:$PATH"
PATH="~/.local/bin:$PATH"
assuming everything worked, closing the terminal and calling 'vspipe --version' should work, but here it gives me 'Failed to initialize VSScript' and I have no clue why :/
----
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.
Dev versions are in the 'experimental'-folder of my GoogleDrive, which is linked on the download page.