{"id":15034758,"url":"https://github.com/tianzerl/anime4kcpp","last_synced_at":"2025-05-14T09:06:55.972Z","repository":{"id":47303859,"uuid":"250037047","full_name":"TianZerL/Anime4KCPP","owner":"TianZerL","description":"A high performance anime upscaler","archived":false,"fork":false,"pushed_at":"2025-05-13T18:09:44.000Z","size":7766,"stargazers_count":1881,"open_issues_count":50,"forks_count":146,"subscribers_count":20,"default_branch":"master","last_synced_at":"2025-05-14T09:06:11.920Z","etag":null,"topics":["anime","anime4k","anime4kcpp","avisynth","avisynthplus-plugin","cnn","computer-graphics","cpp","directshow-filter","gpu-acceleration","machine-learning","upscaling","vapoursynth","vapoursynth-plugin","video-processing"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/TianZerL.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE-GPLv3","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-03-25T16:51:24.000Z","updated_at":"2025-05-13T18:09:48.000Z","dependencies_parsed_at":"2024-01-06T00:11:53.971Z","dependency_job_id":"49db706a-b492-411f-9baa-da2d05e3e8ea","html_url":"https://github.com/TianZerL/Anime4KCPP","commit_stats":{"total_commits":791,"total_committers":8,"mean_commits":98.875,"dds":"0.010113780025284402","last_synced_commit":"890890443ccdddfffd389e298fbdf0ce1a674e7e"},"previous_names":[],"tags_count":17,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TianZerL%2FAnime4KCPP","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TianZerL%2FAnime4KCPP/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TianZerL%2FAnime4KCPP/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/TianZerL%2FAnime4KCPP/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/TianZerL","download_url":"https://codeload.github.com/TianZerL/Anime4KCPP/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254110374,"owners_count":22016391,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["anime","anime4k","anime4kcpp","avisynth","avisynthplus-plugin","cnn","computer-graphics","cpp","directshow-filter","gpu-acceleration","machine-learning","upscaling","vapoursynth","vapoursynth-plugin","video-processing"],"created_at":"2024-09-24T20:26:14.494Z","updated_at":"2025-05-14T09:06:55.950Z","avatar_url":"https://github.com/TianZerL.png","language":"C++","readme":"\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"./images/Logo.png\"\u003e\n\u003c/div\u003e\n\n# Anime4KCPP v3\nAnime4KCPP is a high performance anime upscaler.\n\nAnime4KCPP v3 uses CNN based algorithm, and aims to be simple and efficient.\n\n# Build\n## Dependency\nTo build Anime4KCPP v3 you need CMake and a C++17 compiler, and most dependencies will be resolved automatically by CMake if you have internet.\n\n***List of dependencies that need to be prepared by yourself:***\n\n| Dependency                                                | CMake option      | Module     |\n| --------------------------------------------------------- | ----------------- | ---------- |\n| [CUDA Toolkit](https://developer.nvidia.com/cuda-toolkit) | AC_CORE_WITH_CUDA | core(CUDA) |\n| [libavcodec](https://ffmpeg.org)                          | AC_BUILD_VIDEO    | video      |\n| [libavformat](https://ffmpeg.org)                         | AC_BUILD_VIDEO    | video      |\n| [libavutil](https://ffmpeg.org)                           | AC_BUILD_VIDEO    | video      |\n| [Qt](https://www.qt.io)                                   | AC_BUILD_GUI      | gui        |\n\n- The minimum tested version of the CUDA Toolkit is 11\n- The minimum version of libav is ffmpeg 4\n- Both Qt5 and Qt6 should be OK\n\n***List of dependencies that can be resolved automatically:***\n\n| Dependency                                                                                                                            | CMake option                | Module              |\n| ------------------------------------------------------------------------------------------------------------------------------------- | --------------------------- | ------------------- |\n| [Avisynth SDK](https://github.com/AviSynth/AviSynthPlus/tree/master/avs_core/include)                                                 | AC_BUILD_FILTER_AVISYNTH    | filter(avisynth)    |\n| [CLI11](https://github.com/CLIUtils/CLI11)                                                                                            | AC_BUILD_CLI                | cli                 |\n| [DirectShow base classes](https://github.com/microsoft/Windows-classic-samples/Samples/Win7Samples/multimedia/directshow/baseclasses) | AC_BUILD_FILTER_DIRECTSHOW  | filter(directshow)  |\n| [Eigen3](https://gitlab.com/libeigen/eigen)                                                                                           | AC_CORE_WITH_EIGEN3         | core(eigen3)        |\n| [OpenCL SDK](https://github.com/KhronosGroup/OpenCL-SDK)                                                                              | AC_CORE_WITH_OPENCL         | core(opencl)        |\n| [pybind11](https://github.com/pybind/pybind11)                                                                                        | AC_BUILD_BINDING_PYTHON     | binding(python)     |\n| [ruapu](https://github.com/nihui/ruapu)                                                                                               | N/A                         | core                |\n| [stb](https://github.com/nothings/stb)                                                                                                | N/A                         | core                |\n| [VapourSynth SDK](https://github.com/vapoursynth/vapoursynth/tree/master/include)                                                     | AC_BUILD_FILTER_VAPOURSYNTH | filter(vapoursynth) |\n\n## Platform\n### Windows\nTested with MinGW-w64 and MSVC.\n\n*Build with MinGW-w64:*\n```powershell\nmkdir build; cd build\ncmake -G \"MinGW Makefiles\" .. -DAC_ENABLE_STATIC_CRT=ON\ncmake --build . --config Release -j8\ncd bin\n./ac_cli -v\n```\n\nTo setup ffmpeg's libav for building video module on Windows, it is recommended to add an `AC_PATH_FFMPEG` variable to CMake, but you can also use `pkg-config` for Windows. `AC_PATH_FFMPEG` should be a path to the ffmpeg's root folder witch contains `lib` and `include`.\n\nTo add `AC_PATH_FFMPEG` to CMake, click `Add Entry` button in `cmake-gui` or use `-DAC_PATH_FFMPEG=\"path/to/ffmpeg/root\"` in terminal.\n\nYou can download ffmpeg with sdk from [BtBN](https://github.com/BtbN/FFmpeg-Builds/releases) (`ffmpeg-master-latest-win64-gpl-shared.zip` or `ffmpeg-master-latest-win64-lgpl-shared.zip`) or [gyan.dev](https://www.gyan.dev/ffmpeg/builds/) (`ffmpeg-release-full-shared.7z`) for Windows.\n\n***You need MSVC to build directshow filter, witch is only available on Windows.***\n\n### Linux\nTested with gcc and clang.\n\n```shell\nmkdir build \u0026\u0026 cd build\ncmake ..\ncmake --build . --config Release -j8\ncd bin\n./ac_cli -v\n```\n\n### Termux\nTo build with opencl support, you need install `ocl-icd` package, OpenCL SDK from Khronos seems not to be worked with termux.\n\n```shell\npkg install cmake clang ocl-icd opencl-clhpp opencl-headers\nmkdir build \u0026\u0026 cd build\ncmake .. -DAC_CORE_WITH_OPENCL=ON\ncmake --build . --config Release -j8\ncd bin\nLD_LIBRARY_PATH=/vendor/lib64:$PREFIX/lib ./ac_cli -l\n```\n\n### WASM\nOnly tested with Emscripten. See [wasm test](test/wasm/).\n\n### Mac OS\nUntested. If you do, please provide feedback.\n\n## CMake options\n\n| Option                               | Description                                        | Default     |\n| ------------------------------------ | -------------------------------------------------- | ----------- |\n| AC_SHARED_LIB                        | build as a shared library                          | OFF         |\n| AC_CORE_WITH_EIGEN3                  | build core with eigen3                             | OFF         |\n| AC_CORE_WITH_SSE                     | build core with x86 sse                            | Auto detect |\n| AC_CORE_WITH_AVX                     | build core with x86 avx                            | Auto detect |\n| AC_CORE_WITH_FMA                     | build core with x86 fma and avx                    | Auto detect |\n| AC_CORE_WITH_NEON                    | build core with arm neon                           | Auto detect |\n| AC_CORE_WITH_WASM_SIMD128            | build core with wasm simd128                       | Auto detect |\n| AC_CORE_WITH_OPENCL                  | build core with opencl                             | OFF         |\n| AC_CORE_WITH_CUDA                    | build core with cuda                               | OFF         |\n| AC_CORE_ENABLE_FAST_MATH             | enable fast math for core                          | OFF         |\n| AC_CORE_ENABLE_IMAGE_IO              | enable image file read and write for core          | ON          |\n| AC_BUILD_CLI                         | build cli                                          | ON          |\n| AC_BUILD_GUI                         | build gui                                          | OFF         |\n| AC_BUILD_VIDEO                       | build video module                                 | OFF         |\n| AC_BUILD_FILTER_AVISYNTH             | build avisynth filter                              | OFF         |\n| AC_BUILD_FILTER_VAPOURSYNTH          | build vapoursynth filter                           | OFF         |\n| AC_BUILD_FILTER_DIRECTSHOW           | build directshow filter (Windows MSVC only)        | OFF         |\n| AC_BUILD_FILTER_AVISYNTH_VAPOURSYNTH | build an avisynth and vapoursynth universal filter | OFF         |\n| AC_BUILD_BINDING_C                   | build c binding for core                           | OFF         |\n| AC_BUILD_BINDING_PYTHON              | build python binding for core                      | OFF         |\n| AC_TOOLS_BENCHMARK                   | build benchmark                                    | OFF         |\n| AC_TEST_UTIL                         | build util module test                             | OFF         |\n| AC_TEST_VIDEO                        | build video module test                            | OFF         |\n| AC_TEST_WASM                         | build wasm test (Emscripten only)                  | OFF         |\n| AC_ENABLE_LTO                        | enable LTO                                         | OFF         |\n| AC_ENABLE_STATIC_CRT                 | enable static link crt                             | OFF         |\n| AC_DISABLE_RTTI                      | disable rtti                                       | OFF         |\n| AC_DISABLE_EXCEPTION                 | disable exception                                  | OFF         |\n| AC_DISABLE_PIC                       | disable pic or pie                                 | OFF         |\n\nThere are some convenient presets:\n\n`AC_PRESET_RELEASE`\n- AC_CORE_WITH_OPENCL\n- AC_CORE_WITH_CUDA\n- AC_CORE_ENABLE_FAST_MATH\n- AC_CORE_ENABLE_IMAGE_IO\n- AC_BUILD_CLI\n- AC_BUILD_GUI\n- AC_BUILD_VIDEO\n- AC_BUILD_FILTER_AVISYNTH_VAPOURSYNTH\n- AC_BUILD_FILTER_DIRECTSHOW (MSVC only)\n\n# LICENSE\nThe [video module](/video/) is under GPLv3, any module built with the video module are also under GPLv3, others under MIT.\nFor example, if [cli](/cli/) build with video module, it is under GPLv3, otherwise, it is under MIT.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftianzerl%2Fanime4kcpp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftianzerl%2Fanime4kcpp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftianzerl%2Fanime4kcpp/lists"}