Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > VapourSynth

Reply
 
Thread Tools Search this Thread Display Modes
Old 11th March 2024, 19:28   #181  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,334
Only tested that it works with my A380, but never did any speed test since my RTX 4080 is clearly faster.

Cu Selur
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 12th March 2024, 07:53   #182  |  Link
PatchWorKs
Registered User
 
PatchWorKs's Avatar
 
Join Date: Aug 2002
Location: Italy
Posts: 305
Quote:
Originally Posted by Selur View Post
Only tested that it works with my A380, but never did any speed test since my RTX 4080 is clearly faster.

Cu Selur
Ok, I'd like to understand how feasible (video) inferences are WITHOUT a discrete video card...

EDIT
I forgot to mention that I've collected some "AI" (= deep learning/neural nets) video tools in this GitHub page.
Suggestions - and direct contribution too - are welcome.
__________________
Hybrid Multimedia Production Suite will be a platform-indipendent open source suite for advanced audio/video contents production.

Official git: https://www.forart.it/HyMPS/

Last edited by PatchWorKs; 12th March 2024 at 07:59.
PatchWorKs is offline   Reply With Quote
Old 1st May 2024, 08:54   #183  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,334
Did anyone manage to get BasicVSR++ working with R66, now R67? (both requiring Python 3.12)
__________________
Hybrid here in the forum, homepage

Last edited by Selur; 4th May 2024 at 18:57.
Selur is offline   Reply With Quote
Old 6th May 2024, 19:20   #184  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,334
(since a user asked me via pm)
For those interested, here's how I atm. would create a portable Vapoursynth 67 with pytorch&co:
  • creat a new empty Vapoursynth-folder
  • download 'Windows embeddable package (64-bit)' from https://www.python.org/downloads/release/python-3122/
  • extract the Python download into the download into the 'Vapoursynth'-folder
  • downloaded 'VapourSynth64-Portable-R67' from https://github.com/vapoursynth/vapoursynth/releases
  • extract the Vapoursynth portable download into the 'Vapoursynth'-folder
  • download get-pip.py from https://bootstrap.pypa.io/get-pip.py and save it into the 'Vapoursynth'-folder
  • open a 'Windows Command Prompt'-window and navigate into the 'Vapoursynth'-folder
  • install pip by calling :
    Code:
    python get-pip.py
  • open the python312._pth in a text addition and added the following to lines above anything else in that file and saved the file
    Code:
    Scripts
    Lib\site-packages
  • install wheel
    Code:
    python -m pip install wheel/VapourSynth-67-cp312-cp312-win_amd64.whl
  • installed pytorch using:
    Code:
    python -m pip install torch===2.2.0+cu121 torchvision===0.17.1 -f https://download.pytorch.org/whl/torch_stable.html
  • TensorRT
    • created a 'torch_dependencies/bin'-folder inside the Vapoursynth folder
    • download https://developer.download.nvidia.co....cuda-12.4.zip
    • extract (from the lib folder into the 'torch_dependencies/bin'-folder):
      • nvinfer.dll
      • nvinfer_builder_resource.dll
      • nvinfer_plugin.dll
      • nvinfervc__plugin.dll
      • nvonnxparser.dll
    • extract (from the python folder into the Vapoursynth folder: 'tensorrt-10.0.0b6-cp312-none-win_amd64.whl' and called:
      Code:
      python -m pip install tensorrt-10.0.0b6-cp312-none-win_amd64.whl
    • download https://developer.download.nvidia.co...78_windows.exe
    • extract:
      • cuda_cudart\cudart\bin\cudart64_12.dll
      • cuda_nvrtc\nvrtc\bin\nvrtc64_120_0.dll
      • cuda_nvrtc\nvrtc\bin\nvrtc-builtins64_124.dll
      • libcublas\cublas\bin\cublas64_12.dll
      • libcublas\cublas\bin\cublasLt64_12.dll
      • libcublas\cublas\bin\nvblas64_12.dll
      • libcufft\cufft\bin\cufft64_11.dll
      • libcufft\cufft\bin\cufftw64_11.dll
      • libcurand\curand\bin\curand64_10.dll
      • libcusolver\cusolver\bin\cusolver64_11.dll
      • libcusolver\cusolver\bin\cusolverMg64_11.dll
      • libcusparse\cusparse\bin\cusparse64_12.dll
      • libnvjpeg\nvjpeg\bin\nvjpeg64_12.dll
      into the 'torch_dependencies/bin'-folder
  • download https://developer.download.nvidia.co....0_windows.exe
  • extract:
    • cudnn_cuda12.4\libcudnn\bin\12.4\cudnn64_9.dll
    • cudnn_cuda12.4\libcudnn\bin\12.4\cudnn_adv64_9.dll
    • cudnn_cuda12.4\libcudnn\bin\12.4\cudnn_cnn64_9.dll
    • cudnn_cuda12.4\libcudnn\bin\12.4\cudnn_ops64_9.dll
  • call
    Code:
    set PATH=<PATH TO torch_dependencies>\bin;%PATH%
    i.e.:
    Code:
    set PATH=F:\Vapoursynth\torch_dependencies\bin;%PATH%;
  • install VSGAN (https://github.com/rlaPHOENiX/VSGAN)
    Code:
    python -m pip install -U VSGAN
  • installed DPIR (https://github.com/HolyWu/vs-dpir)
    • python -m pip install -U vsdpir
      python -m pip install packaging
      python -m pip install onnxruntime-gpu
      python -m vsdpir[/code]
  • install Real-ESGRAN (https://github.com/HolyWu/vs-realesrgan)
    Code:
    python -m pip install -U vsrealesrgan
    python -m vsrealesrgan
  • install vs-rife (https://github.com/HolyWu/vs-rife)
    Code:
    python -m pip install --upgrade vsrife
    python -m vsrife
  • install GMFSS (https://github.com/HolyWu/vs-gmfss_fortuna)
    Code:
    python -m pip install -U vsgmfss-fortuna
  • install SwinIR (https://github.com/HolyWu/vs-swinir)
    Code:
    python -m pip install -U vsswinir
    python -m vsswinir
  • install HINet (https://github.com/HolyWu/vs-hinet)
    Code:
    python -m pip install --upgrade vshinet
    python -m vshinet
  • install AnimeSR (https://github.com/HolyWu/vs-animesr)
    Code:
    python -m pip install -U vsanimesr
  • install FeMaSR (https://github.com/HolyWu/vs-femasr)
    Code:
    python -m pip install -U vsfemasr
    python -m vsfemasr
  • install SCUNet (https://github.com/HolyWu/vs-scunet)
    Code:
    python -m pip install -U vsscunet
    python -m vsscunet
  • install CodeFormer (https://github.com/HolyWu/vs-codeformer)
    Code:
    python -m pip install -U vscodeformer
    python -m vscodeformer
  • install GRLIR (https://github.com/HolyWu/vs-grlir)
    Code:
    python -m pip install antlr4-python3-runtime
    python -m pip install wheel
    python -m pip install -U vsgrlir
    python -m vsgrlir
  • install BasicVSR++ (https://github.com/HolyWu/vs-basicvsrpp)
    ????

Sadly I have no clue how to BasicVSR++ (https://github.com/HolyWu/vs-basicvsrpp) installed, so far
Code:
set CUDA_HOME=F:\Vapoursynth\torch_dependencies\bin;
python -m pip install -U openmim==0.3.7
anything I tried so far after this fails :/
Seems like the problem is that there seems to be no mmcv with cp312 wheel for Windows.

Hope this is useful to anyone and if anyone finds a way to add BasicVSR++

Cu Selur
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Old 28th May 2024, 15:10   #185  |  Link
Cary Knoop
Cary Knoop
 
Cary Knoop's Avatar
 
Join Date: Feb 2017
Location: Newark CA, USA
Posts: 398
Thanks for that detailed description!

Life could be a lot easier if VapourSynth simply adhered to common standards.

More than a decade of VapourSynth and a simple "pip install VapourSynth" from a conda environment is still not supported.
Cary Knoop is offline   Reply With Quote
Old 28th May 2024, 15:28   #186  |  Link
Selur
Registered User
 
Selur's Avatar
 
Join Date: Oct 2001
Location: Germany
Posts: 7,334
Only 'fault' with Vapousynth is that it abandoned Python 3.11 and now requires Python 3.12, which other projects do not support atm.
__________________
Hybrid here in the forum, homepage
Selur is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:24.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.