Project information: A machine learning-based video super resolution and frame interpolation framework. Est. Hack the Valley II, 2018.
Name: video2x
Homepage: https://video2x.org/
License: AGPL-3.0 license
Upstream has been contacted: Yes
Note: Maintainer got pretty far with the initial manifest and might be a good starting point. Some additional complications may arise from the for non-free build of FFMPEG.
app-id: io.github.k4yt3x.Video2X
runtime: org.freedesktop.Platform
runtime-version: "24.08"
sdk: org.freedesktop.Sdk
command: video2x
add-extensions:
org.freedesktop.Platform.ffmpeg-full:
version: "24.08"
directory: lib/ffmpeg
add-ld-path: .
cleanup-commands:
- mkdir -p ${FLATPAK_DEST}/lib/ffmpeg
finish-args:
- --device=all
- --share=ipc
- --socket=x11
- --socket=wayland
- --env=LC_ALL=C.UTF-8
- --env=LANG=C.UTF-8
- --filesystem=home
modules:
- name: video2x
buildsystem: cmake
builddir: true
config-opts:
- -DCMAKE_BUILD_TYPE=Release
- -DCMAKE_INSTALL_PREFIX=/app
- -DBUILD_SHARED_LIBS=OFF
- -DVIDEO2X_USE_EXTERNAL_BOOST=OFF
- -DVIDEO2X_USE_EXTERNAL_SPDLOG=OFF
- -DVIDEO2X_USE_EXTERNAL_NCNN=OFF
- -DNCNN_AVX512=OFF
sources:
- type: git
url: https://github.com/k4yt3x/video2x.git
branch: master