Manipulating dotSUB videos using its API with PHP