The following warnings occurred:
Warning [2] Undefined array key 1 - Line: 313 - File: inc/plugins/google_seo/redirect.php PHP 8.3.12-nmm1 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/google_seo/redirect.php 313 errorHandler->error_callback
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once
Warning [2] Undefined array key 1 - Line: 314 - File: inc/plugins/google_seo/redirect.php PHP 8.3.12-nmm1 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/google_seo/redirect.php 314 errorHandler->error_callback
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once
Warning [2] Undefined array key "" - Line: 327 - File: inc/plugins/google_seo/redirect.php PHP 8.3.12-nmm1 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/plugins/google_seo/redirect.php 327 errorHandler->error_callback
/inc/class_plugins.php 142 google_seo_redirect_hook
/global.php 100 pluginSystem->run_hooks
/showthread.php 28 require_once



This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Vapoursynth on LMDE
#11
gave it another try:

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:
    wget https://www.selur.de/sites/default/files/hybrid_downloads/Hybrid_20220320_Linux.7z
    (this download is just for the current version)
  • 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:
    nano ~/.hybrid/misc.ini
    with the follwing content:
    [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
    ./configure --enable-optimizations --enable-shared CFLAGS=-fPIC CXXFLAGS=-fPIC
    (maybe instead of 'CFLAGS=-fPIC CXXFLAGS=-fPIC' '--enable-pic' also works)
  • compile Python using:
    make -j 16
    (replace 16 with the number or physical cpu cores your system has)
  • 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'
    sudo apt-get install python-is-python3
    and caling:
    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
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
    and add
    LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
    to ~/.profile (nano ~/.profile)
    and
    export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
    to ~.bashrc (nano ~/.bashrc)
  • 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/
    nano build-vapoursynth.sh
    remove the lines
    python3-pip \
        lib$python3dotx \
        lib$python3dotx-dev \
  • start the script
    ./build-vapoursynth.sh
    adjust ~/.bashrc
    nano ~/.bashrc
    by adding:
    export LD_LIBRARY_PATH=/usr/local/lib:~/opt/vapoursynth/lib:~/opt/vapoursynth/lib/python3.10/site-packages
    export PATH="~/opt/vapoursynth/bin:$PATH"
    adjust ~/.profile
    nano ~/.profile
    by adding:
    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.
Reply


Messages In This Thread
Vapoursynth on LMDE - by soulcages - 27.08.2022, 12:24
RE: Vapoursynth on LMDE - by Selur - 27.08.2022, 12:40
RE: Vapoursynth on LMDE - by soulcages - 27.08.2022, 13:03
RE: Vapoursynth on LMDE - by Selur - 27.08.2022, 13:24
RE: Vapoursynth on LMDE - by Selur - 27.08.2022, 14:01
RE: Vapoursynth on LMDE - by soulcages - 27.08.2022, 14:16
RE: Vapoursynth on LMDE - by Selur - 27.08.2022, 16:30
RE: Vapoursynth on LMDE - by Selur - 27.08.2022, 16:38
RE: Vapoursynth on LMDE - by Selur - 27.08.2022, 17:37
RE: Vapoursynth on LMDE - by Selur - 27.08.2022, 19:47
RE: Vapoursynth on LMDE - by Selur - 27.08.2022, 22:04
RE: Vapoursynth on LMDE - by soulcages - 28.08.2022, 03:21
RE: Vapoursynth on LMDE - by soulcages - 04.09.2022, 12:19
RE: Vapoursynth on LMDE - by Selur - 04.09.2022, 12:22

Forum Jump:


Users browsing this thread: 1 Guest(s)