add x264 support