better support for youtube encoding