Improved searching for valid datetime.
Added support for mp4 files.