[scripts] Update to work with videos