integrated A/V encoding scripts with all the bits