I have more than a million images in a directory. These images have been taking over the years and want to create a timelapse with mencoder on a per day basis.
Files have their date un the following format: image_2015-07-19_14_48_47.951.jpg and also their timestamp is correct.
I'd like to run a script to classify these moving them into a directory structure as follows: yyyy/mm/dd/image_yyyy-mm-dd_hh_mm_ss.951.jpg
Also more files are going to be add every minute and this script to be run daily for classification into the dir structure, mencode them in to x264 and after zip the screenshots.
How could I achieve this using Python for example?