move codec options to preferences dialog