Various scripts related to video encoding