Package Details: svp-bin 4.5.210-5

Git Clone URL: https://aur.archlinux.org/svp-bin.git (read-only, click to copy)
Package Base: svp-bin
Description: SmoothVideo Project 4 (SVP4)
Upstream URL: https://www.svp-team.com/wiki/SVP:Linux
Licenses: custom
Provides: svp
Submitter: C0rn3j
Maintainer: C0rn3j (phiresky)
Last Packager: C0rn3j
Votes: 52
Popularity: 0.49
First Submitted: 2022-06-20 20:47 (UTC)
Last Updated: 2023-08-07 11:10 (UTC)

Pinned Comments

Latest Comments

1 2 3 4 5 6 .. 9 Next › Last »

rtentser commented on 2023-08-01 10:28 (UTC) (edited on 2023-08-01 10:52 (UTC) by rtentser)

Tried it. Fails with h265. Any ideas?

[vapoursynth] Script evaluation failed:
[vapoursynth] Python exception: SVSuper: Clip must be YV12
[vapoursynth] 
[vapoursynth] Traceback (most recent call last):
[vapoursynth]   File "vapoursynth.pyx", line 3121, in vapoursynth._vpy_evaluate
[vapoursynth]   File "vapoursynth.pyx", line 3122, in vapoursynth._vpy_evaluate
[vapoursynth]   File "/home/rtentser/.local/share/SVP4/scripts/1bb5e34b.py", line 59, in <module>
[vapoursynth]     smooth =  interpolate(clip)
[vapoursynth]               ^^^^^^^^^^^^^^^^^
[vapoursynth]   File "/home/rtentser/.local/share/SVP4/scripts/1bb5e34b.py", line 40, in interpolate
[vapoursynth]     super   = core.svp1.Super(input_m8,super_params)
[vapoursynth]               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[vapoursynth]   File "vapoursynth.pyx", line 2857, in vapoursynth.Function.__call__
[vapoursynth] vapoursynth.Error: SVSuper: Clip must be YV12
[vapoursynth] 
[vapoursynth] could not init VS
Disabling filter vapoursynth.00 because it has failed.

yangsheng6810 commented on 2023-07-04 15:59 (UTC)

In case anyone also saw SVPManager closes itself without GUI showing up, and the last line in log (you can find it in ~/.local/share/SVP4/logs/) is [I]: Video: reading OpenCL info

You might want to check if clinfo gives correct output. In my case, the offending package was intel-oneapi-compiler-shared-opencl-cpu, as I am using an AMD CPU. Check Arch WiKi OpenCL to ensure you only have those opencl libraries related to your hardware. Don't forget to kill all existing SVPManager process before another attempt to run it.

dreieck commented on 2023-02-14 13:44 (UTC) (edited on 2023-02-14 14:16 (UTC) by dreieck)

The custom licenses needs to be installed into /usr/share/licenses/svp-bin/.

Also, some libraries in /opt/svp/ are unstripped, but this might be intentionally and needed.

According to namcap, the following dependencies are missing:

  • python-pycryptodomex
  • python-keyring
  • python-websockets
  • python-mutagen
  • python-pycryptodome
  • youtube-dl
  • python-xattr

Thanks for maintaining!

RubenKelevra commented on 2022-06-23 21:08 (UTC)

@phiresky You still need a co-maintainer?

Btw you need to add 'svp' to conflicts and replaces :)

RubenKelevra commented on 2022-06-23 15:54 (UTC)

Hey @phiresky

how about putting them on ipfs?

You can just use a public http gateway like this from cloudflare (cloudflare-ipfs.com) as link.

Half a gigabyte of storage if free, on pinata.cloud :)

Sk1t commented on 2021-10-05 19:13 (UTC) (edited on 2021-10-05 19:14 (UTC) by Sk1t)

I'd be happy to do it. If you give me perms.

Here is the new PKGBUILD anyhow

# Maintainer: phiresky <phireskyde+git@gmail.com> 
pkgname=svp
pkgver=4.5.210
pkgrel=1
epoch=
pkgdesc="SmoothVideo Project 4 (SVP4)"
arch=('x86_64')
url="https://www.svp-team.com/wiki/SVP:Linux"
license=('custom')
groups=()
depends=(libmediainfo qt5-svg qt5-script qt5-declarative vapoursynth libusb xdg-utils lsof)
makedepends=(p7zip)
checkdepends=()
optdepends=(
    'mpv-git: needed for mpv vapoursynth support'
    'ocl-icd: for GPU acceleration'
)
provides=()
conflicts=()
replaces=()
backup=()
options=(!strip)
install=${pkgname}.install
changelog=
#source=("https://gist.githubusercontent.com/phiresky/1e2cbd30bed4e5978771af232d11afd1/raw/svp4-linux.$pkgver.tar.bz2")
source=("https://www.svp-team.com/files/svp4-linux.4.5.210-1.tar.bz2")
# I am rehosting the binaries
# taken from
# http://www.svp-team.com/files/svp4-linux-64.tbz2
# at https://gist.github.com/phiresky/1e2cbd30bed4e5978771af232d11afd1
# so they are correctly versioned and old versions still exist
# update 2019-10-06: svp-team.com now uses versioned file names. i'll keep rehosting them for now since i don't trust them to actually keep old versions.
noextract=()
sha256sums=('940d539ba50e4455fdaebbec07db03870f98f101fbb4ceadda013d1e00c90883')
validpgpkeys=()

prepare() {
    rm -rf "$srcdir/installer"
    mkdir "$srcdir/installer"
    echo "Finding 7z archives in installer..."
    LANG=C grep --only-matching --byte-offset --binary --text  $'7z\xBC\xAF\x27\x1C' "$srcdir/svp4-linux-64.run" |
        cut -f1 -d: |
        while read ofs; do dd if="$srcdir/svp4-linux-64.run" bs=1M iflag=skip_bytes status=none skip=$ofs of="$srcdir/installer/bin-$ofs.7z"; done

    echo "Extracting 7z archives from installer..."
    for f in "$srcdir/installer/"*.7z; do
        7z -bd -bb0 -y x -o"$srcdir/extracted/" "$f" || true
    done
}

#pkgver() {
#   xmllint --xpath '/Updates/PackageUpdate[Name="core.full"]/Version/text()' "$srcdir/installer/metadata/Updates.xml" | tr '-' '.'
#}

package() {
    mkdir -p "$pkgdir"/{opt/svp,usr/bin,usr/share/licenses/svp}
    if [[ -d "$srcdir/extracted/licenses" ]]; then
        mv "$srcdir/extracted/licenses" "$pkgdir/usr/share/licenses/$pkgname"
    fi
    mv "$srcdir/extracted/"* "$pkgdir/opt/$pkgname"
    # rm "$pkgdir/opt/$pkgname/extensions/libsvpcode.so" # previously this extension caused the whole thing to segfault. lmk if that's still the case
    ln -s "/opt/$pkgname/SVPManager" "$pkgdir/usr/bin/SVPManager"
    chmod -R +rX "$pkgdir/opt/svp" "$pkgdir/usr/share"
}

phiresky commented on 2021-10-05 17:58 (UTC)

I tried updating my binary-rehosting thing to prevent 404 errors, but I guess I hit the repository limit for GitHub Gists so I can't fix that (for now).

C0rn3j commented on 2021-10-05 17:56 (UTC)

I am down, also from your maintained packages I use qdirstat, so would be up for that too.

notEvil commented on 2021-10-05 16:37 (UTC) (edited on 2021-10-05 16:38 (UTC) by notEvil)

vapoursynth deprecated .get_core. Therefore script/generate.js needs a patch to use vs.core and core.num_threads = instead. (or fix version of vapoursynth ^^)