All encoded files are cached on S3 so that processing occurs once. To recache (e.g. you update a video file and need to re-encode) you can prepend ‘recache’ to the mpaction.
original encoding:
mpaction='convert format=flv'
to recache (re-encode):
mpaction='recache;convert format=flv'
Note: The subsequent call to retrieve the file should not prepend recache as this would force the file to be re-encoded again.