Cleaned up takeSnapshot to take a VideoFormat as an option