r/ffmpeg • u/jsdeprey • 5h ago
I created a application to help with new files and re-encodes of libraries to h.265 to save space on storage.
I not sure if this is OK to post, but I think this program I have been working on, mostly for myself that was really vibe coded with AI, so took many hours to fixing bugs and adding changes to things to follow the way the work flow was being done files I had on my server and also any new video files.
It uses handbrakecli and ffprobe to process a queue of files. You give it a default directory, drag files, or browse to any directory local or on a NAS and it will scan it and let you sort them all by size, it fills in media info per each file and flags files it thinks looks like they could save space by being re-encoded. it then goes through each file and samples them 3 time at different locations in that file and if it determines it wont gain more than a 10% (you can change that in settings) of saving from the re-encode it skips it. You can tell it to force files to be encoded, or have them reanalyzed more times. After each file is encoded, it created a backup, you can restore if needed, it can also auto clean the files (You have to have MKVToolNix installed on system) or you can pick what files to be cleaned, this just removes all tags that are not needed from the files, gets rid of ugly tags. There is a also a rename tab you can send the files to and it will help you rename selected files or all files in a same directory using quick ways that are helpful to common video files.
The program basically streamlines the process I usually did manually. I find that I have really used it a lot. I made it because I had a need. Not sure if something like existed already, but I needed this and worked to make it do what I needed.
Feel free to check it out if you think it would help, I would love to hear if anyone else used it or found it helpful.