figure out what encoding to use, based on what the hardware supports. still uses yuy2 by default if the hardware supports it.