{"id":45911482,"url":"https://github.com/mhtvsSFrpHdE/AnimeAnyK-mpv","last_synced_at":"2026-03-27T23:01:20.923Z","repository":{"id":44879753,"uuid":"441704120","full_name":"mhtvsSFrpHdE/AnimeAnyK-mpv","owner":"mhtvsSFrpHdE","description":"Automatically turn on Anime4K in mpv player depending on video resolution.","archived":false,"fork":false,"pushed_at":"2023-04-28T10:51:50.000Z","size":65,"stargazers_count":15,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2023-04-28T12:04:39.612Z","etag":null,"topics":["anime4k","lua","mpv"],"latest_commit_sha":null,"homepage":"https://github.com/bloc97/Anime4K","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mhtvsSFrpHdE.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-12-25T15:15:02.000Z","updated_at":"2023-04-24T11:14:04.000Z","dependencies_parsed_at":"2022-09-10T19:11:21.087Z","dependency_job_id":null,"html_url":"https://github.com/mhtvsSFrpHdE/AnimeAnyK-mpv","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/mhtvsSFrpHdE/AnimeAnyK-mpv","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhtvsSFrpHdE%2FAnimeAnyK-mpv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhtvsSFrpHdE%2FAnimeAnyK-mpv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhtvsSFrpHdE%2FAnimeAnyK-mpv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhtvsSFrpHdE%2FAnimeAnyK-mpv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mhtvsSFrpHdE","download_url":"https://codeload.github.com/mhtvsSFrpHdE/AnimeAnyK-mpv/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mhtvsSFrpHdE%2FAnimeAnyK-mpv/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31065013,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-27T22:49:25.097Z","status":"ssl_error","status_checked_at":"2026-03-27T22:49:22.599Z","response_time":164,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["anime4k","lua","mpv"],"created_at":"2026-02-28T07:00:27.282Z","updated_at":"2026-03-27T23:01:20.917Z","avatar_url":"https://github.com/mhtvsSFrpHdE.png","language":"Lua","funding_links":[],"categories":["lua"],"sub_categories":[],"readme":"![](https://raw.githubusercontent.com/mhtvsSFrpHdE/contact-me/master/AboutIssue.svg)\n\n# AnimeAnyK-mpv\n\nThe core idea is to send different inputs to mpv player depending on video resolution.\n\nAutomatically turn on Anime4K in mpv player depending on video resolution.  \nCustomize Anime4K command for early access to new Anime4K version or bug workaround.  \nRemember Anime4K on/off status for other videos in the same folder.\n\n\u003e **Note: I do hope to preserve Linux/Unix support, but I only run Windows PC.**  \n\u003e **Please use code entry prepared in advance to test/fix error on Linux/Unix and pull your patch back.**\n\n## How to use\n\n### Install\n\nMinimum recommended AnyK version is `1.1.8 release`.\n\nDownload and put Lua script into your mpv script folder,  \nput Anime4K files to your mpv shader folder like this:\n\n```\nmpv\\mpv.conf\nmpv\\scripts\\AnimeAnyK.lua\nmpv\\shaders\\Anime4K_AutoDownscalePre_x2.glsl\nmpv\\shaders\\Anime4K_AutoDownscalePre_x4.glsl\n...and many other\n```\n\nAdd the following line to `mpv\\input.conf`:\n\n```\nCTRL+7 script-binding toggle-anime4k-jbgyampcwu\n```\n\nThis is a custom key binding, you can replace `CTRL+7` with any customizations.  \nBy default, AnimeAnyK doesn't bind any key to avoid potential conflicts.\n\n### Toggle Anime4K on/off\n\nOpen a video, press the bound key to trigger the \"toggle\" command,  \nthis will enable Anime4K, and create an indicator file in the folder where the video is stored.  \nThen open any other video inside the same folder will enable Anime4K automatically.\n\nPress the same key again, indicator file will be deleted  \nand use Anime4K official command to clear GLSL shaders.\n\nWithout the indicator file,  \nAnimeAnyK won't do anything to prevent enabling Anime4K on non-anime videos.\n\n### Custom Anime4K\n\nTo customize Anime4K, use any text editor open the \".lua\" file,  \nchange variables inside \"UserInput\" class.\n\nOnce `UseUserInputCommand` set to `true`,  \nAnimeAnyK will use user commands to replace built-in Anime4K commands.\n\n### Confirm Anime4K enabled by script\n\nOpen a video, then drag the same video into mpv player window,  \nOSD will show \"Anime4K: Scripted A/B/C\" on the top left corner.\n\n## Other\n\n### Auto generate logic\n\nBased on https://github.com/bloc97/Anime4K/blob/master/GLSL_Instructions.md\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FmhtvsSFrpHdE%2FAnimeAnyK-mpv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FmhtvsSFrpHdE%2FAnimeAnyK-mpv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FmhtvsSFrpHdE%2FAnimeAnyK-mpv/lists"}