Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,10 @@ models/
*.zip
*.msi
*.userprefs
tmp/
third_party/Practical-RIFE/
third_party/rife-ncnn-vulkan/
third_party/vs-mlrt/
src/AnimeEnhancer.App/Assets/Beta/faye-cutout.png
src/AnimeEnhancer.App/Assets/Beta/spike-cutout.png
src/AnimeEnhancer.App/Assets/Beta/original-character-source.png
6 changes: 3 additions & 3 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<LangVersion>latest</LangVersion>
<Deterministic>true</Deterministic>
<Version>1.0.17</Version>
<FileVersion>1.0.17.0</FileVersion>
<AssemblyVersion>1.0.17.0</AssemblyVersion>
<Version>1.1.0-beta.1</Version>
<FileVersion>1.1.0.0</FileVersion>
<AssemblyVersion>1.1.0.0</AssemblyVersion>
<Authors>picki</Authors>
<Company>picki</Company>
<Product>AnimeEnhancer</Product>
Expand Down
12 changes: 9 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ AnimeEnhancer also performs actions that heuristic antivirus scanners watch clos
Before running the app:

1. Download it only from the [official GitHub Releases page](../../releases/latest).
2. Compare the file's SHA-256 hash with the included `SHA256SUMS.txt`. In PowerShell, run `Get-FileHash .\AnimeEnhancer-1.0.17-win-x64.zip -Algorithm SHA256`.
2. Compare the file's SHA-256 hash with the included `SHA256SUMS.txt`. For the beta ZIP, run `Get-FileHash .\AnimeEnhancer-1.1.0-beta.1-win-x64.zip -Algorithm SHA256` in PowerShell.
3. You can inspect the complete source code here or build it yourself.
4. If the hash matches and SmartScreen shows the blue warning, select **More info**, confirm the publisher is listed as unknown, then choose **Run anyway**.

Expand All @@ -48,9 +48,15 @@ Do not disable Microsoft Defender or add a broad antivirus exclusion. If Defende

Saturation and contrast update live. Stream Cleanup and Smooth Gradients are optional and disabled by default, since they help compressed video but can soften clean sources. Split view makes it easy to compare the original and enhanced image.

## AnimeFlow 60 FPS beta

The 1.1 beta adds optional RIFE/ncnn Vulkan frame interpolation for NVIDIA RTX systems. AnimeFlow derives presentation timing from the captured video timestamps, skips already-high-frame-rate content automatically, and keeps the normal Anime4K reconstruction path active for interpolated frames.

AnimeFlow is still experimental. Fast cuts, subtitles, hair, particles, and heavy camera motion can produce temporary warping or uneven motion. Leave it disabled for the most predictable image quality, and please report the source site, GPU, display refresh rate, and a short description of the scene when filing feedback.

## Lossless Scaling Frame Generation

Version 1.0.17 includes an **LS FrameGen output** mode. It makes AnimeEnhancer's processed output visible to external capture without repeatedly forcing the enhancement overlay above Lossless Scaling or stealing focus from the source video.
AnimeEnhancer includes an **LS FrameGen output** mode. It makes AnimeEnhancer's processed output visible to external capture without repeatedly forcing the enhancement overlay above Lossless Scaling or stealing focus from the source video.

1. Enable **LS FrameGen output** in AnimeEnhancer.
2. Start AnimeEnhancer and wait for the captureable `AnimeEnhancer LS Source` window to appear.
Expand Down Expand Up @@ -83,7 +89,7 @@ Automatic mode detects fullscreen windows by geometry rather than a browser allo
You need the .NET 10 SDK and Git. Clone with submodules, then run:

```powershell
git clone --recurse-submodules https://github.com/yohay2012/AnimeEnhancer.git
git clone --recurse-submodules https://github.com/picki1/AnimeEnhancer.git
cd AnimeEnhancer
powershell -ExecutionPolicy Bypass -File scripts/bootstrap.ps1
powershell -ExecutionPolicy Bypass -File scripts/build.ps1
Expand Down
3 changes: 3 additions & 0 deletions docs/SOURCES.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
Retrieval date: 2026-08-01.

- Anime4K v4.0.1, commit `4029bf701ecaa15f163cdc49cffe5501c1acf410`, MIT, <https://github.com/bloc97/Anime4K>. Vendored under `third_party/Anime4K`; complete Restore CNN S and Upscale CNN x2 S weights are mechanically translated to HLSL. Official `GLSL_Instructions.md` supplies Mode A/B/C orders.
- rife-ncnn-vulkan by nihui, MIT, <https://github.com/nihui/rife-ncnn-vulkan>. The AnimeFlow native bridge uses its Vulkan/ncnn inference implementation and the bundled RIFE v4.6 model.
- ncnn by Tencent, BSD 3-Clause with bundled third-party notices, <https://github.com/Tencent/ncnn>. Used by the AnimeFlow native runtime.
- Practical-RIFE by hzwer, MIT, <https://github.com/hzwer/ECCV2022-RIFE>. RIFE architecture and model provenance.
- Microsoft Windows.UI.Composition-Win32-Samples, commit `ee50e2ea137dcef7b82ba504eff7435e5ebf5294`, MIT, <https://github.com/microsoft/Windows.UI.Composition-Win32-Samples>. Reference-only clone; `BasicCapture.cs` informed WGC lifecycle. No SharpDX dependency or copied implementation.
- Vortice.Windows.Samples, commit `c7dd7a7bbf1f71e54698630f8fa5aa27343d9014`, MIT, <https://github.com/amerkoleci/Vortice.Windows.Samples>. Reference-only for current device and swap-chain usage.
- Vortice.Direct3D11, Vortice.DXGI, and Vortice.D3DCompiler 3.8.3, MIT, NuGet packages. Binding and shader compiler layer.
Expand Down
28 changes: 28 additions & 0 deletions docs/releases/1.1.0-beta.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# AnimeEnhancer 1.1.0 Beta 1

This is the first public beta of the redesigned AnimeEnhancer interface and the new AnimeFlow motion engine.

## What's new

- New compact neon/anime interface with original project artwork
- AnimeFlow 60 FPS experimental RIFE/ncnn Vulkan interpolation for RTX GPUs
- Timestamp-paced presentation to avoid bursts of stale generated frames
- Automatic passthrough for content that is already running at a high frame rate
- Anime4K reconstruction remains active on interpolated frames
- Lower-latency frame queues, scene-cut protection, and adaptive cadence
- GPU selection, saturation, contrast, Stream Cleanup, Smooth Gradients, split view, LS FrameGen output, screenshots, and diagnostics
- Fullscreen side notification, pointer-friendly browser controls, and a visible close control

## Beta warning

AnimeFlow is optional and experimental. Fast cuts, subtitles, hair, particles, and complex camera motion can still show temporary warping or uneven pacing. If a scene looks worse, turn AnimeFlow off; the normal Anime4K enhancement path is unchanged.

Start with a 720p source at minimum. A clean 1080p source gives the best reconstruction.

## Downloads

- `AnimeEnhancer-1.1.0-beta.1-win-x64.zip` — portable version; extract and run, no installation required
- `AnimeEnhancer-1.1.0-beta.1-x64.msi` — optional Windows installer
- `SHA256SUMS.txt` — hashes for both packages

Windows SmartScreen may show an unknown-publisher warning because the binaries are not commercially code-signed. Download only from this repository and verify the SHA-256 hash before running.
4 changes: 2 additions & 2 deletions installer/AnimeEnhancer.Installer.wixproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="WixToolset.Sdk/5.0.2">
<PropertyGroup><OutputType>Package</OutputType><InstallerPlatform>x64</InstallerPlatform><OutputName>AnimeEnhancer-1.0.17-x64</OutputName><SuppressIces>ICE57</SuppressIces></PropertyGroup>
<ItemGroup><BindPath Include="..\artifacts\portable\AnimeEnhancer-1.0.17"><BindName>Publish</BindName></BindPath></ItemGroup>
<PropertyGroup><OutputType>Package</OutputType><InstallerPlatform>x64</InstallerPlatform><OutputName>AnimeEnhancer-1.1.0-beta.1-x64</OutputName><SuppressIces>ICE57</SuppressIces></PropertyGroup>
<ItemGroup><BindPath Include="..\artifacts\portable\AnimeEnhancer-1.1.0-beta.1"><BindName>Publish</BindName></BindPath></ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion installer/Package.wxs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
<Package Name="AnimeEnhancer" Manufacturer="picki" Version="1.0.17.0" UpgradeCode="86E5F717-B4F4-4789-A666-DE302D743714" Scope="perMachine" Compressed="yes">
<Package Name="AnimeEnhancer" Manufacturer="picki" Version="1.1.0.0" UpgradeCode="86E5F717-B4F4-4789-A666-DE302D743714" Scope="perMachine" Compressed="yes">
<MajorUpgrade DowngradeErrorMessage="A newer AnimeEnhancer version is already installed." />
<MediaTemplate EmbedCab="yes" />
<Feature Id="MainFeature" Title="AnimeEnhancer"><ComponentGroupRef Id="ApplicationFiles"/><ComponentRef Id="StartMenuShortcut"/></Feature>
Expand Down
86 changes: 86 additions & 0 deletions licenses/NCNN-LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,86 @@
Tencent is pleased to support the open source community by making ncnn available.
Copyright (C) 2017 THL A29 Limited, a Tencent company. All rights reserved.
If you have downloaded a copy of the ncnn binary from Tencent, please note that the ncnn binary is licensed under the BSD 3-Clause License.
If you have downloaded a copy of the ncnn source code from Tencent, please note that ncnn source code is licensed under the BSD 3-Clause License, except for the third-party components listed below which are subject to different license terms. Your integration of ncnn into your own projects may require compliance with the BSD 3-Clause License, as well as the other licenses applicable to the third-party components included within ncnn.
A copy of the BSD 3-Clause License is included in this file.

Other dependencies and licenses:

Open Source Software Licensed Under the zlib License:
The below software in this distribution may have been modified by THL A29 Limited (“Tencent Modifications”). All Tencent Modifications are Copyright (C) 2017 THL A29 Limited.
----------------------------------------------------------------------------------------
1. neon_mathfun.h
Copyright (C) 2011 Julien Pommier

2. sse_mathfun.h
Copyright (C) 2007 Julien Pommier

3. avx_mathfun.h
Copyright (C) 2012 Giovanni Garberoglio
Interdisciplinary Laboratory for Computational Science (LISC)
Fondazione Bruno Kessler and University of Trento
via Sommarive, 18
I-38123 Trento (Italy)


Terms of the zlib License:
---------------------------------------------------
Copyright (c) <year> <copyright holders>

This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software.

Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions:

1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required.
2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software.
3. This notice may not be removed or altered from any source distribution.



Open Source Software Licensed Under the BSD 2-Clause License:
The below software in this distribution may have been modified by THL A29 Limited (“Tencent Modifications”). All Tencent Modifications are Copyright (C) 2017 THL A29 Limited.
----------------------------------------------------------------------------------------
1. squeezenet 1.1
Copyright (c) 2016 Forrest N. Iandola and Matthew W. Moskewicz and Khalid Ashraf and Song Han and William J. Dally and Kurt Keutzer
All rights reserved.

2. caffe.proto master
All contributions by the University of California:
Copyright (c) 2014-2017 The Regents of the University of California (Regents)
All rights reserved.

All other contributions:
Copyright (c) 2014-2017, the respective contributors
All rights reserved.


Terms of the BSD 2-Clause License:
--------------------------------------------------------------------
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.



Open Source Software Licensed Under the BSD 3-Clause License:
The below software in this distribution may have been modified by THL A29 Limited (“Tencent Modifications”). All Tencent Modifications are Copyright (C) 2017 THL A29 Limited.
----------------------------------------------------------------------------------------
1. android.toolchain.cmake master
Copyright (c) 2010-2011, Ethan Rublee
Copyright (c) 2011-2014, Andrey Kamaev
All rights reserved.


Terms of the BSD 3-Clause License:
--------------------------------------------------------------------

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
Neither the name of [copyright holder] nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
4 changes: 4 additions & 0 deletions licenses/NVIDIA/NOTICE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
RTX Motion uses NVIDIA Optical Flow FRUC runtime components from the
NVIDIA Optical Flow SDK 5.0.7 under the included NVIDIA DesignWorks SDK license.

This software contains source code provided by NVIDIA Corporation.
Binary file not shown.
21 changes: 21 additions & 0 deletions licenses/PRACTICAL-RIFE-LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2021 hzwer

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
21 changes: 21 additions & 0 deletions licenses/RIFE-NCNN-VULKAN-LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
The MIT License (MIT)

Copyright (c) 2020 nihui

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
2 changes: 1 addition & 1 deletion licenses/THIRD-PARTY-NOTICES.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

AnimeEnhancer's original application code, interface, branding, and packaging are Copyright © 2026 picki. All rights reserved. The following third-party components are not owned by picki and retain their original licenses.

Anime4K is MIT licensed by bloc97 and contributors. Vortice.Windows is MIT licensed by Amer Koleci and contributors. The Microsoft composition samples are MIT licensed. Serilog is Apache-2.0 licensed. See NuGet packages and `docs/SOURCES.md` for exact versions.
Anime4K is MIT licensed by bloc97 and contributors. rife-ncnn-vulkan is MIT licensed by nihui. Practical-RIFE is MIT licensed by hzwer. ncnn is BSD 3-Clause licensed by Tencent and includes additional third-party notices. Vortice.Windows is MIT licensed by Amer Koleci and contributors. The Microsoft composition samples are MIT licensed. Serilog is Apache-2.0 licensed. See NuGet packages, the license files in this directory, and `docs/SOURCES.md` for exact sources.
7 changes: 7 additions & 0 deletions native/AnimeFlow/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# AnimeFlow native bridge

`rife_native.cpp` is the small C ABI used by `RifeMotionEngine.cs`. The release DLL is built against the official [rife-ncnn-vulkan](https://github.com/nihui/rife-ncnn-vulkan) source with its recursive ncnn dependencies and Vulkan enabled.

To reproduce the native DLL, clone rife-ncnn-vulkan recursively, copy `rife_native.cpp` into its `src` directory, and add a shared-library target containing `rife_native.cpp`, `rife.cpp`, and `warp.cpp`, linked to the same libraries as the upstream executable. The shipped model directory is `rife-v4.6`.

The native runtime and model remain subject to their original third-party licenses; see `licenses/` and `docs/SOURCES.md`.
Loading
Loading