defaulting bd encoding to 1 pass only. now there is a parameter to set the number of passes