Improve video encode config.