[PD] [GEM] Using masks with videos