Add function to probe video and set internal metadata