'AWS Elastic Transcoder to replace file

I'm trying to watermark and generate thumbnails from an S3 object with Elastic Transcode and rewrite the original file,

  1. I have successfully generated a thumbnail and watermarked a video.

I'm currently generating transcode jobs from the backend and after executing the code I'm getting the error message in the dashboard that says "The specified object could not be saved in the specified bucket because an object by that name already exists:", which is expected behavior from transcoder doc but is there any other options like overwrite the original file? or should I save the transcoder job output in the temp bucket and replace it in the main bucket with additional methods?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source