Moved timing prototype definition out of Windows only code block
Added error message when input image/video file is not found