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
#7
Okay, this will take a bit since it really seems to be difficult to install Vapoursynth in LMDE 5.  Undecided
What I did so far:
I installed LMDE5 in a VirtualBox VM and then did the following to install Hybrid:
  • I opened a terminal
  • made sure the system was 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
  • tried to start Hybrid from the command line using:
    ~/hybrid/Hybrid
    but noticed that DivX265 and neroAacEnc didn't work. (both use 32bit libraries that don't work on LMDE5 afaik)
  • so created a misc.ini in that folder using:
    nano ~/.hybrid/misc.ini
    with the follwing content:
    [General] ignoreTools=DivX265;neroAacEnc
  • starting Hybrid now with:
    ~/hybrid/Hybrid
    it reported that tsMuxeR didn't work.
    calling:
    ~/hybrid/tsMuxeR
    it reported:
    lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29' not found
    downloading the latest tsMuxeR from https://github.com/justdan96/tsMuxer/act...2852491399
    and extracting the tsMuxeR file into the ~/hybrid folder and calling 'chmod +x ~/hybrid/tsMuxeR' solved that.
    now I Hybrid successfully started without any issues. Smile
  • removing the download by calling:
    rm Hybrid_20220320_Linux.7z

Since Hybrid itself was working I added Vapoursynth support by:
  • checking the installed python3 version using:
    python3 --version
    since this showed that Python 3.9.2 was installed, by Vapoursynth R59 only support Python 3.8 and Python 3.10 I installed Python 3.10 by:
    • installing all 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
    • downloading latest Pythong 3.10.6:
      wget https://www.python.org/ftp/python/3.10.6/Python-3.10.6.tgz
    • extracting the download using:
      tar -xf Python-3.10.6.tgz
    • changing into the Python folder:
      cd Python-3.10.6
    • configuring Python for compilation
      ./configure --enable-optimizations
    • compiling Python using:
      make -j 16
      (replace 16 with the number or physical cpu cores your system has)
    • installing python 3.10
      sudo make install
    • making sure calling python3 will call the new 3.10 version.
    • checking that Python 3.10 was installed:
      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*
    • installing pip using:
      sudo apt install python3-pip sudo ln -s /usr/bin/pip /usr/local/bin/pip
Problem is when I now call:
[*]installing Vapoursynth R59:
sudo python -m pip install wheel sudo python -m pip install Cython sudo python -m pip install vapoursynth
[/list]
I end up with:
selur@lmde5:~$ sudo python -m pip install vapoursynth Collecting vapoursynth Using cached VapourSynth-59.zip (561 kB) Preparing metadata (setup.py) ... done Building wheels for collected packages: vapoursynth Building wheel for vapoursynth (setup.py) ... error error: subprocess-exited-with-error × python setup.py bdist_wheel did not run successfully. │ exit code: 1 ╰─> [18 lines of output] running bdist_wheel running build running build_ext skipping 'src/cython/vapoursynth.c' Cython extension (up-to-date) building 'vapoursynth' extension creating build creating build/temp.linux-x86_64-cpython-310 creating build/temp.linux-x86_64-cpython-310/src creating build/temp.linux-x86_64-cpython-310/src/cython gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DVS_GRAPH_API -I. -Isrc/cython -Isrc/vsscript -I/usr/local/include/python3.10 -c src/cython/vapoursynth.c -o build/temp.linux-x86_64-cpython-310/src/cython/vapoursynth.o src/cython/vapoursynth.c:61602:18: warning: ‘__pyx_f_11vapoursynth__vsscript_use_or_create_environment’ defined but not used [-Wunused-function] 61602 | static PyObject *__pyx_f_11vapoursynth__vsscript_use_or_create_environment(int __pyx_v_id) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ creating build/lib.linux-x86_64-cpython-310 gcc -pthread -shared build/temp.linux-x86_64-cpython-310/src/cython/vapoursynth.o -L. -Lbuild -lvapoursynth -o build/lib.linux-x86_64-cpython-310/vapoursynth.cpython-310-x86_64-linux-gnu.so /usr/bin/ld: cannot find -lvapoursynth collect2: error: ld returned 1 exit status error: command '/usr/bin/gcc' failed with exit code 1 [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. ERROR: Failed building wheel for vapoursynth Running setup.py clean for vapoursynth Failed to build vapoursynth Installing collected packages: vapoursynth Running setup.py install for vapoursynth ... error error: subprocess-exited-with-error × Running setup.py install for vapoursynth did not run successfully. │ exit code: 1 ╰─> [20 lines of output] running install /usr/local/lib/python3.10/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( running build running build_ext skipping 'src/cython/vapoursynth.c' Cython extension (up-to-date) building 'vapoursynth' extension creating build creating build/temp.linux-x86_64-cpython-310 creating build/temp.linux-x86_64-cpython-310/src creating build/temp.linux-x86_64-cpython-310/src/cython gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -DVS_GRAPH_API -I. -Isrc/cython -Isrc/vsscript -I/usr/local/include/python3.10 -c src/cython/vapoursynth.c -o build/temp.linux-x86_64-cpython-310/src/cython/vapoursynth.o src/cython/vapoursynth.c:61602:18: warning: ‘__pyx_f_11vapoursynth__vsscript_use_or_create_environment’ defined but not used [-Wunused-function] 61602 | static PyObject *__pyx_f_11vapoursynth__vsscript_use_or_create_environment(int __pyx_v_id) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ creating build/lib.linux-x86_64-cpython-310 gcc -pthread -shared build/temp.linux-x86_64-cpython-310/src/cython/vapoursynth.o -L. -Lbuild -lvapoursynth -o build/lib.linux-x86_64-cpython-310/vapoursynth.cpython-310-x86_64-linux-gnu.so /usr/bin/ld: cannot find -lvapoursynth collect2: error: ld returned 1 exit status error: command '/usr/bin/gcc' failed with exit code 1 [end of output] note: This error originates from a subprocess, and is likely not a problem with pip. error: legacy-install-failure × Encountered error while trying to install package. ╰─> vapoursynth note: This is an issue with the package mentioned above, not pip. hint: See above for output from the failure.
and I'm not sure how to fix that atm.

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: 1 Guest(s)