bloc97 / Anime4K

A High-Quality Real Time Upscaler for Anime Video
https://bloc97.github.io/Anime4K/
MIT License
18.56k stars 1.35k forks source link

Provision of exe #70

Open ghost opened 4 years ago

ghost commented 4 years ago

Is something packaged with exe such as waifu2x-caffe distributed? I want to spread it to general users! Java installation is cumbersome. Request the exe version. But, I am not familiar with the program. Please kindly answer someone.

Sorry, this sentence is written in English using Google Translate.

-Original (原文)- waifu2x-caffeのような、exeでパッケージされたものは配布されるのでしょうか? 一般的なユーザーに普及させたいです。Javaのインストールは面倒であるため、exe版の提供を求めます。 ですが、私はプログラムに詳しくありません。どなたか親切な方、教えてください。

bloc97 commented 4 years ago

The current way of using Anime4K is by installing mpv (offline use) or to use it on the browser with WebGL (online use). I don't think it is useful to create a media player just for a simple shader like this. Best regards.

ghost commented 4 years ago

Thank you for your reply! I will try using mpv.

However, is there any easier way to use the Java version? Installing Java is hard for ordinary users. I want to use it like waifu2x-caffe. (Rather than upscaling in real time, you want to create upscaled files in advance.)

-Original(原文)- お返事ありがとうございます! mpvを利用してみます。 しかしながら、Java版はもう少し手軽に利用できないのでしょうか? Javaのインストールは一般的なユーザーにとって大変な作業です。 waifu2x-caffeのように利用したいです。 (リアルタイムにアップスケーリングするのでなく、あらかじめアップスケーリングしたファイルを作りたい)

xpirad commented 4 years ago

@bloc97 Can you elaborate on how to use it on browser with WebGL?

bloc97 commented 4 years ago

@npkvis The Java version was just a proof-of-concept and was not designed to be used in production. If you want to convert video I would suggest using the GLSL shaders with ffmpeg directly, or use existing wrappers/pipelines that makes it easier for you, such as video2x. (Note that video2x currently uses the much older Java version (v0.9), and not the updated GLSL version (v2.0 RC3).)

@xpirad You can look at one example of video playback using WebGL in the folder /web. If you want to inject WebGL/GLSL code directly on websites, you would need special extensions for your browser.

bloc97 commented 4 years ago

@npkvis I just realized that mpv has built in transcoding. https://github.com/mpv-player/mpv/blob/master/DOCS/encoding.rst However, I do not know if it works with shaders.

Edit: On the other hand, when I release the TensorFlow version of Anime4K, you should be able to directly transcode video using ffmpeg-python.