Package Details: video2x 6.4.0-3

Git Clone URL: https://aur.archlinux.org/video2x.git (read-only, click to copy)
Package Base: video2x
Description: A machine learning-based video super resolution and frame interpolation framework
Upstream URL: https://github.com/k4yt3x/video2x
Licenses: AGPL-3.0-only
Conflicts: video2x
Provides: video2x
Submitter: aviallon
Maintainer: aviallon (k4yt3x)
Last Packager: k4yt3x
Votes: 8
Popularity: 0.000002
First Submitted: 2020-12-29 19:10 (UTC)
Last Updated: 2025-02-02 00:27 (UTC)

Sources (4)

Latest Comments

1 2 Next › Last »

tommahu commented on 2026-02-04 23:46 (UTC)

The package currently fails to build due to an API incompatibility between the pinned librife-ncnn-vulkan submodule commit and the current ncnn library. The fix is to update librife-ncnn-vulkan to the latest master branch.

Reference: https://github.com/k4yt3x/video2x/commit/d848db037a797d68bdc3301798a0be1450398002

Clear yay's cache for this package

rm -rf ~/.cache/yay/video2x/

Go to a fresh directory

yay -G video2x cd video2x

Edit the PKGBUILD to update the submodule

prepare() { cd "${srcdir}/${pkgname}" git rm third_party/{ncnn,spdlog,boost} git submodule init

git config submodule.third_party/libreal_esrgan_ncnn_vulkan.url "${srcdir}/libreal-esrgan-ncnn-vulkan"
git config submodule.third_party/librealcugan_ncnn_vulkan.url "${srcdir}/librealcugan-ncnn-vulkan"
git config submodule.third_party/librife_ncnn_vulkan.url "${srcdir}/librife-ncnn-vulkan"

git -c protocol.file.allow=always submodule update

# THE FIX -> ADD THESE LINES TO UPDATE librife TO LATEST:
cd third_party/librife_ncnn_vulkan
git fetch origin
git checkout master
git pull origin master

}

Clean previous build artifacts (if any).

rm -rf src pkg

Rebuild with force flag

makepkg -sf sudo pacman -U video2x-6.4.0-3-x86_64.pkg.tar.zst

risse commented on 2026-01-24 07:50 (UTC)

Broken currently, spdlog got upgraded to 1.17

video2x: error while loading shared libraries: libspdlog.so.1.16: cannot open shared object file: No such file or directory

tegularius commented on 2025-11-01 17:27 (UTC)

It's already been fixed upstream but there's not been a release yet: https://github.com/k4yt3x/video2x/issues/1423

video2x-git package works

tegularius commented on 2025-10-31 13:22 (UTC) (edited on 2025-10-31 13:34 (UTC) by tegularius)

Does not seem to build anymore, seems ncnn installed is too new?

[ 61%] Building CXX object third_party/librealesrgan_ncnn_vulkan/src/CMakeFiles/librealesrgan-ncnn-vulkan.dir/realesrgan.cpp.o
/home/XXX/.cache/paru/clone/video2x/src/video2x/third_party/librife_ncnn_vulkan/src/warp.cpp:62:13: error:
      no member named 'use_shader_pack8' in 'ncnn::Option'
   62 |     if (opt.use_shader_pack8)
      |         ~~~ ^
/home/XXX/.cache/paru/clone/video2x/src/video2x/third_party/librife_ncnn_vulkan/src/warp.cpp:82:42: warning:
      unused parameter 'opt' [-Wunused-parameter]
   82 | int Warp::destroy_pipeline(const Option& opt)
      |                                          ^
/home/XXX/.cache/paru/clone/video2x/src/video2x/third_party/librife_ncnn_vulkan/src/warp.cpp:127:34: warning:
      implicit conversion from 'int' to 'float' may lose precision
      [-Wimplicit-int-float-conversion]
  127 |                 float sample_x = x + flow_x;

It's fixed in the librife-ncnn-vulkan git but that's not pulled and I don't know why.

k4yt3x commented on 2024-12-23 18:01 (UTC)

Thanks @aviallon for adding me as a maintainer. The package has now been updated to 6.3.1.

k4yt3x commented on 2024-12-22 04:44 (UTC)

Hello there, I can maintain this package for the 6.x.x versions. I'm already actively maintaining the -git version, so I might as well keep this package up-to-date as well.

If you'd like, please add me as a maintainer and I'll update it to 6.3.1. Thanks for maintaining it thus far. I didn't really expect to see 4.x.x on Arch at all, amazing that you managed it.

Misaka13514 commented on 2024-12-02 15:41 (UTC)

The package still build. Namcap log:

$ namcap PKGBUILD
PKGBUILD (video2x) W: Non-unique source name (4.8.1.tar.gz). Use a unique filename.
$ namcap video2x-4.8.1-1-any.pkg.tar.zst 
video2x E: GPL3 is not a valid SPDX license identifier. See https://spdx.org/licenses/ for valid identifiers, or prefix the identifier with 'LicenseRef-', if it is custom.
video2x W: Referenced python module 'image_cleaner.ImageCleaner' is an uninstalled dependency (needed in files ['usr/share/video2x/upscaler.py'])
video2x W: Referenced python module 'progress_monitor.ProgressMonitor' is an uninstalled dependency (needed in files ['usr/share/video2x/upscaler.py'])
video2x W: Referenced python module 'wrappers.ffmpeg.Ffmpeg' is an uninstalled dependency (needed in files ['usr/share/video2x/upscaler.py'])
video2x W: Referenced python module 'exceptions.*' is an uninstalled dependency (needed in files ['usr/share/video2x/upscaler.py'])
video2x W: Referenced python module 'upscaler.Upscaler' is an uninstalled dependency (needed in files ['usr/share/video2x/video2x.py'])
video2x W: Referenced python module 'upscaler.UPSCALER_VERSION' is an uninstalled dependency (needed in files ['usr/share/video2x/video2x.py'])
video2x W: Referenced python module 'bilogger.BiLogger' is an uninstalled dependency (needed in files ['usr/share/video2x/video2x.py'])
video2x W: Referenced python module 'upscaler.AVAILABLE_DRIVERS' is an uninstalled dependency (needed in files ['usr/share/video2x/video2x.py'])
video2x W: Referenced python module 'wrappers.gifski.Gifski' is an uninstalled dependency (needed in files ['usr/share/video2x/upscaler.py'])
video2x W: Referenced python module 'avalon_framework.Avalon' is an uninstalled dependency (needed in files ['usr/share/video2x/upscaler.py', 'usr/share/video2x/video2x.py', 'usr/share/video2x/wrappers/anime4kcpp.py', 'usr/share/video2x/wrappers/ffmpeg.py', 'usr/share/video2x/wrappers/realsr_ncnn_vulkan.py', 'usr/share/video2x/wrappers/waifu2x_caffe.py', 'usr/share/video2x/wrappers/waifu2x_ncnn_vulkan.py', 'usr/share/video2x/wrappers/srmd_ncnn_vulkan.py', 'usr/share/video2x/wrappers/waifu2x_converter_cpp.py', 'usr/share/video2x/wrappers/gifski.py'])
video2x E: Dependency python-yaml detected and not included (python modules ['yaml'] needed in files ['usr/share/video2x/video2x.py'])
video2x W: Dependency included, but may not be needed ('ffmpeg')
video2x W: Dependency included, but may not be needed ('python-pyaml')
video2x W: Dependency included, but may not be needed ('python-avalon_framework')
video2x W: Dependency included, but may not be needed ('python-colorama')
video2x W: Dependency included, but may not be needed ('patool')
video2x W: Dependency included, but may not be needed ('python-requests')

It is outdated, the latest version is 6.1.1. For PKGBUILD update you can refer to video2x-git. If you need help, you can add me (or k4yt3x) as co-maintainer.

aviallon commented on 2024-12-02 15:30 (UTC)

Does the package still build? I don't have an Arch machine at hand, so I can't check right now.

bambuch commented on 2024-07-11 01:04 (UTC)

Version 4.3.1 is bug (or strange feature) in source repo - https://github.com/k4yt3x/video2x/blob/4.8.1/src/video2x.py#L85

Misaka13514 commented on 2024-01-28 06:37 (UTC)

Please follow Arch Linux RFC16: use SPDX license identifier in PKGBUILD.

https://gitlab.archlinux.org/archlinux/rfcs/-/blob/master/rfcs/0016-spdx-license-identifiers.rst