Package Details: vapoursynth-plugin-vsrealesrgan-git 4.0.1.2.gba2fe5c-1

Git Clone URL: https://aur.archlinux.org/vapoursynth-plugin-vsrealesrgan-git.git (read-only, click to copy)
Package Base: vapoursynth-plugin-vsrealesrgan-git
Description: Plugin for Vapoursynth: vsrealesrgan (GIT version)
Upstream URL: https://github.com/HolyWu/vs-realesrgan
Keywords: vapoursynth
Licenses: BSD
Conflicts: vapoursynth-plugin-vsrealesrgan
Provides: vapoursynth-plugin-vsrealesrgan
Submitter: sl1pkn07
Maintainer: sl1pkn07
Last Packager: sl1pkn07
Votes: 1
Popularity: 0.000019
First Submitted: 2021-10-10 05:21 (UTC)
Last Updated: 2023-01-05 20:08 (UTC)

Latest Comments

TheBill2001 commented on 2023-06-13 13:25 (UTC)

Seem to be missing torch-tensorrt-fx-only and torchvision

sl1pkn07 commented on 2023-04-21 20:25 (UTC)

Hi i think that question can be solved better if you go to forum.doom9.net forums (https://forum.doom9.org/forumdisplay.php?f=82) and learn how use vapoursynth framework and plugins

greetings

DavTheRaveUK commented on 2023-04-20 14:28 (UTC)

Hi. I hate to sound like a muppet, but how do I use this file? I would like to use it to de-noise an MP4 file - what terminal command would I have to use? Thanks.

dreieck commented on 2023-02-14 19:33 (UTC)

Is it possible to move the download of the large files which are downloaded during prepare() into the source array? That would allow for resume of interrupted downloads.

==> Starting prepare()...
ESRGAN_SRx4_DF2KOST_official-ff704c30.pth: 100%|██████████████████████████████████████████████████████████████████████████| 63.8M/63.8M [02:16<00:00, 489kB/s]
realesr-animevideov3.pth: 100%|███████████████████████████████████████████████████████████████████████████████████████████| 2.39M/2.39M [00:10<00:00, 237kB/s]
RealESRGAN_x2plus.pth:  97%|███████████████████████████████████████████████████████████████████████████████████████████▏  | 62.1M/64.0M [02:02<00:03, 652kB/s]
[...]

Regards!

sandsmark commented on 2022-04-27 11:14 (UTC)

pip is notoriously ugly for packaging, so it fails to build without net or jailed.

Here's a patch to do what seems to be the standard way of handling it in other packages:

diff --git a/PKGBUILD b/PKGBUILD
  index 4317a25..ae06ac8 100644
  --- a/PKGBUILD
  +++ b/PKGBUILD
  @@ -2,7 +2,7 @@

   _plug=vsrealesrgan
   pkgname=vapoursynth-plugin-${_plug}-git
  -pkgver=2.0.0.0.gb66f5b1
  +pkgver=3.1.0.0.gb53bb06
   pkgrel=1
   pkgdesc="Plugin for Vapoursynth: ${_plug} (GIT version)"
   arch=('any')
  @@ -14,15 +14,28 @@ depends=('vapoursynth'
            'python-requests'
            )
   makedepends=('git'
  -             'python-pip'
  +             'python-build'
  +             'python-installer'
  +             'python-setuptools'
  +             'python-wheel'
                )
   optdepends=('python-pytorch: CPU with AVX2 optimizations'
               'python-pytorch-cuda: CUDA with CPU with AVX2 optimizations'
               )
   provides=("vapoursynth-plugin-${_plug}")
   conflicts=("vapoursynth-plugin-${_plug}")
  -source=("${_plug}::git+https://github.com/HolyWu/vs-realesrgan.git")
  -sha256sums=('SKIP')
  +source=("${_plug}::git+https://github.com/HolyWu/vs-realesrgan.git"
  +    "https://github.com/HolyWu/vs-realesrgan/releases/download/model/realesr-animevideov3.onnx"
  +    "https://github.com/HolyWu/vs-realesrgan/releases/download/model/RealESRGAN_x2plus.onnx"
  +    "https://github.com/HolyWu/vs-realesrgan/releases/download/model/RealESRGAN_x4plus.onnx"
  +    "https://github.com/HolyWu/vs-realesrgan/releases/download/model/RealESRGAN_x4plus_anime_6B.onnx"
  +    )
  +
  +sha256sums=('SKIP'
  +        '94b61e647caeed8ee262d24b73f981588d236dacfe097f12adbfd17775abd048'
  +        '1a54ab066f029ae41db492a7128a09c9f58434016fa4e714f9d3a30c43c0e185'
  +        'dbd95e12e5bb0e89971548061b714581cb30f7d886ac9e2051a313f520fe0d72'
  +        '5010b93cc6b544a4ca657e4a324008315defb285c5fa52bcbee8f179324e505f')

   pkgver() {
     cd "${_plug}"
  @@ -31,17 +44,20 @@ pkgver() {

   prepare() {
     cd "${_plug}/vsrealesrgan"
  -  python __main__.py
  +  ln -fs "${srcdir}"/realesr-animevideov3.onnx .
  +  ln -fs "${srcdir}"/RealESRGAN_x2plus.onnx .
  +  ln -fs "${srcdir}"/RealESRGAN_x4plus.onnx .
  +  ln -fs "${srcdir}"/RealESRGAN_x4plus_anime_6B.onnx .
   }

   build() {
     cd "${_plug}"
  -  pip wheel --no-deps . -w dist
  +  python -m build --wheel --no-isolation
   }

   package() {
     cd "${_plug}"
  -  pip install -I --root "${pkgdir}" --no-warn-script-location --no-deps dist/*.whl
  +  python -m installer --destdir="$pkgdir" dist/*.whl

     install -Dm644 README.md "${pkgdir}/usr/share/doc/vapoursynth/plugins/${_plug}/README.md"
     install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"

sl1pkn07 commented on 2021-10-25 18:46 (UTC)

done

Win8Error commented on 2021-10-25 18:43 (UTC)

Please add python-pip as make-dependency.