added x264 encoding to mp4