Keep the encoded vp9 video to reuse if the commons API call fails
I've been uploading some mp4 videos, and after ffmpeg runs and the video gets converted, in some of them (3 failed of 10) I've been seeing this exception:
An exception occurred: TaskError: pywikibot.Error: APIError: stashfailed: Internal error: Server failed to publish temporary file. [help:See https://commons.wikimedia.org/w/api.php for API usage. Subscribe to the mediawiki-api-announce mailing list at <https://lists.wikimedia.org/mailman/listinfo/mediawiki-api-announce> for notice of API deprecations and breaking changes.]
When clicking restart, it seems the mp4 video is there, but it is re-encoded again with ffmpeg, which takes a lot of time and resources for a task that was just done.
Maybe the transformed video can be kept so that it doesn't need to be re-encoded when retrying?
Hi! Is this still reproducible?