Skip to content

Encode anime to 4k using ffmpeg and Anime4k filters, interpolate to 48fps, and move anime into proper subfolders with proper seasons

License

Notifications You must be signed in to change notification settings

ryandash/Convert-and-Move-Anime

Repository files navigation

Convert-and-Move-Anime

Upscale anime to 4k using ffmpeg and anime4k filters, convert to 48fps using hybrid from selur, and moving the anime into proper subfolders to allow Plex or Jellyfin to auto add the anime with proper metadata.

If you would like to replicate my scripts, links to all the downloads necessary are below in Things to Download section and run pip install anitopy before trying any batch files. Anitopy python is used to get the title name, season, and episode information.

Script autoconvert.bat

(Given an anime video, upscale and convert the anime to 4k 48fps)

First half (use ffmpeg for 4k upscale)

Second half (to use hybrid to convert to 48fps)

  • clean up downloads by deleting all empty folders
  • create a variable with 1 string containing all anime full directories
  • use hybrid script to convert anime from 23.976 fps (~24 fps) to 47.952 fps (~48 fps)

Script custommove.bat + move_anime.py

(Given a filename with a lot of unnecessary information and potentially season information, clean up the filename, extract season number, create season folder, rename videos, and move file into either anime folder or season folder in the anime folder)

Final result:

[Anime Folder]
    [Season]
        [anime mkv file]
	[anime subtitle files]

Extract:

  • anime's name for folder name
  • season number for season subfolder
  • subtitles

Scripts can be simplified and improved but should work as is for common downloaded anime episodes WITH changes to directory information.

The variable %UserDirectory% can be changed to the %UserProfile% path on windows which is the common location for documents and downloads. Suggestions on how to improve the scripts are welcome and appreciated, but I rarely visit this repository so do not expect any quick responses.

Things to Download:

  • Hybrid from selur
  • FFmpeg
  • Python
  • Anime4k shaders can be downloaded from repository or directly from Anime4k (Shaders in repository are the original anime4k shaders merged together into 1 file for each mode for simplicity)

About

Encode anime to 4k using ffmpeg and Anime4k filters, interpolate to 48fps, and move anime into proper subfolders with proper seasons

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages