bloc97 / Anime4K

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

How to use Anime4K GLSL for Bitmap #218

Open liguobing opened 7 months ago

liguobing commented 7 months ago

I have tried using MPV+Anime4K to play videos on an Android phone, and the results are great. However, I am currently unable to access video files and can only obtain each frame as a Bitmap. So, I want to render these Bitmaps onto a GLSurfaceView and apply Anime4K for enhancement. I have never done anything similar before and have no idea how to proceed. Do you have any suggestions? thanks

MiiC27 commented 5 months ago

I don't have any experience with GLSurfaceView or Anime4k on Android. My way would be, to copy them to my PC or make the bitmaps accessible over the network and upscale the bitmaps with ffmpeg and Anime4k, or convert the bitmaps to a video format and upscale the it.

If you need help with this, let me know.