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
#10
Argh, vsrepo also does only work for Windows.
So one still would have to compile all the Vapoursynth packages manually. :/

Sorry, but that basically means rewriting the build-plugins for LMDE, at least I don't have the time for that.

Here are the steps to:
a. install Hybrid
b. install Vapoursynth
Quote: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:
    sudo apt install python3-pip
    sudo ln -s /usr/bin/pip /usr/local/bin/pip

Now that you have Python 3.10 we need to compile and install Vapoursynth by:
  • downloading, building and installing zimg
    git clone https://github.com/sekrit-twc/zimg
    cd zimg
    git checkout $(git tag | sort -V | tail -1)
    autoreconf -if
    ./configure
    make -j 16
    sudo make install-strip
    cd ..
    rm -rf zimg
  • downloading, building and installing Vapoursynth:
    git clone https://github.com/vapoursynth/vapoursynth.git --depth=1
    cd vapoursynth
    ./autogen.sh
    ./configure --prefix=/usr/local/lib/python3.10/site-packages/
    make -j16
    sudo make install-strip
    if everything worked so far:
    vspipe --version
    should output:
    vspipe --version
    VapourSynth Video Processing Library
    Copyright (c) 2012-2022 Fredrik Mellbin
    Core R60
    API R4.0
    API R3.6
    Options: -
  • cleaning:
    rm -rf vapoursynth

=> Sorry, but until someone spends time on porting the hybrid-vapoursynth-addons or at least the build-plugins script to LMDE, one would have to compile all the scripts by hand.

Cu Selur
----
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: 2 Guest(s)