Java project that reads exif tags from images and sorts a set of images according to the date taken
Diagram created using http://asciiflow.com/
Examples for the extractor - https://github.com/drewnoakes/metadata-extractor/wiki/GettingStarted
For Video - There might be this:
com.googlecode.mp4parser isoparser 1.1.7