added x264 support