improvements in 2 pass encoding workflow