add support for mp4 video and support for general video encoding