Convertir Mpg A Mp4 Gratis Online

Can the select subject/object and create mask layer step that is performed on the inset images be coded into the script? If so, can you direct me on how to start and experiment? Thanks for your advice.