Git Product home page Git Product logo

convert-and-move-anime's Introduction

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 to auto add the anime with proper seasons

If you would like to replicate my scripts, links to all the downloads necessary are below in Downloads section

Script autoconvert.bat

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

First half (use ffmpeg for 4k upscale)

  • Use timeouts to avoid trying to convert partially copied anime from another script.
  • Rename anime to a consistent naming scheme

Remove:

  • underlines between words
  • everything between round and square brackets e.g. (stuff to remove) and [stuff to remove]
  • dashes between words that are not between anime name and episode number
  • whitespaces at beginning and end of filename
    goal is to have ([anime name] - S[season]E[episode number]) as the final result
  • Use ffmpeg to upscale anime with anime4k shaders and copy over all subtitles, audio streams, and attachements
  • clean up by deleting all unnecessary empty folders left in downloads

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

(Given a filename with a lot of unnecessary information and potentially season information, clean up the filename, extract season number, create season folder, and move file into either anime folder or season folder in the anime folder) Final result [Anime Folder] [Season] [anime mkv file]

Extract:

  • anime's name without season number 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. 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
  • Anime4k shaders can be downloaded from repository or directly from Anime4k (Shaders in respository are the original anime4k shaders merged together into 1 file for each mode for simplicity)
  • Mkvmerge
  • Recycle (it is not necessary to send files to the recycle bin instead of deleting them permanently but I use it to avoid losing files when I am making changes to the script. This is also an easy to use file that requires no install)

convert-and-move-anime's People

Contributors

ryandash avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.