Added the dump function for video framing.