My brother was a bit messy with his encodes, such as mixing Bluray with DVD, along with encodes done in ether H264 or Xvid. This moves things around, so its easier to figure out if something should be ripped again in H264 rather than leaving it in Xvid...or replace DVD rips with Blurays that are now available.
The Folders this script is to run against must be on ether a local or network mapped drive, as the script isn't setup to handle UNC paths.
Install AutoIt and set it to execute scripts when double clicked.
Create a folder somewhere...lets call it "Segregate Movies" just to be unimaginative.
Now inside "Segregate Movies" create a sub folder called "Bin".
Now extract the contents of FFMpeg's "Bin" folder into your new "Bin" sub folder.
Now going back into "Segregate Movies" folder Right Click on it's background and select "New\AutoIt v3 Script" from the context menu, and Rename it "Segregate Movies.au3"
Now Right Click "Segregate Movies.au3" & select "Edit Script" from the context menu.
Now paste the following code into:
Now you'll have to edit a User Var namely the path to FFMpeg...normally I'd have this set automatically to the Bin folder holding the script...but I'm getting a lot of scripts depending on FFMpeg...so I'm allowing you to set the path...so you really only have 1 copy on your system...or at least 1 less do to this script allowing you to set it to a different location.
Now save the script & execute it by double clicking it.
You will be asked for the "Source Folder"...this should be your main "Movies" folder...ie it should hold a collection of movies each in sub folders.
Next you will be asked for the "Final Folder"...this should ideally be on the same hard drive as the "Source Folder", to make things much quicker.
Once done you'll be able to look into your "Final Folder" and see sub folders labeled by resolution & codec...example _1080p_H264
Edited by Nologic, 23 February 2016 - 03:24 AM.