speed test and set h264 profile to main