Greetings folks.. long time listener, first time caller..
I put togther an “Uber” script for library conversion that may help some people. The problem with most “transcoding” scripts is they depend a lot on other infrastructure or lack a lot of checks and verifications that I wanted.. so I built my own. (after trying with Tdarr and not getting to the intelligence I wanted).. I wrote originally like 4 different versions of the script.. one for TV shows, one for Anime, one for movies and one that was a fork for Cygwin under windows.. and it worked.. but still lacked things I wanted.. so I revamped it and generated a new one that ties everything together into a single script.. checks for data integrity, attempts at healing, upscaling, logic for sizes (I’m favoring AV1 with my script with a fallback to x265). and given the size of my library, I am running (testing) it on a AMD Linux Desktop (5080 16GB and a A4500 20GB), A widows laptop with an nvidia 4070 GPU, a Macbook Pro M2 Max, and an Intel Mac with an AMD GPU (that I reformatted to be a Fedora laptop).. The script is not designed to talk to any of them, but it covers their hardware needs.. tries to use hardware encodig then failing any hardware (NVIDIA, AMD GPU, Intel quicksync) then falls back to software encoding.
Has checks for sanity, verification, indentification, organization, and even metadata cleaning).. basically the idea was turn it loose on a directory and it will organize it the way I want, repair/heal lightly damaged mkv files, (upscale where needed), and reformat the images (without deletion) to be either AV1 or x265 whichever is best based on sampling size… (
Anyway, let me know what you think, if you have questions.. or suggestions to make it better. It does depend on a number of tools.. (HandbrakeCLI.. GREAT GREAT tool, ffmpeg, ffprobe, mkvalidator, and a few others.. and will even try to help you get connected (my videos all run from my NAS so it tries to check the SMB/NFS shares and mount if not present but needed.)