That’s one of the nicest reviews I’ve had @bigboyz, thanks very much for that, much appreciated.
To give some context about image overlays, I don’t think it’s easy to do this in the browser, but if you’re already using MUX then they can do this, although I haven’t exposed the functionality yet to make it possible, I can certainly do that if you wanted. It looks like this feature is only supported for videos though.
https://docs.mux.com/guides/video/add-watermarks-to-your-videos
To transpose an image over a video, means the video has to be re-encoded in some way or other. I do have a number of CloudConvert actions included, one of which allows you to run a custom FFMPEG command. I’ve just modified that action and pushed another update, so if you wanted to use it then you can do.
First off, the FFMPEG command for this is:
-filter_complex "overlay=W-w-5:H-h-5" /output/myVideo.mp4
The action is called VideoJS - Custom FFMPEG (as shown below).
Since CloudConvert give us X number of free conversions daily, I included my own key into the action, but because I’ve been testing all morning, I’ve used all those now!
I was testing with the Wait option set to Yes, which just makes that action wait until something comes back. If you’re videos are small, then you can do that and just save the result of that actions ‘converted file’ like this, otherwise I would recommend on setting up the webhook, and make sure you also implement some sort of error catching workflow because when it does error, it’s tricky to pinpoint.
I’m not sure on the quality of videos you’re working with but be mindful that they will be re-encoded. It should be fine, you can play with some of FFPMEG parameters, I’m no expert but this command will also work.
-filter_complex "overlay=W-w-5:H-h-5" -codec:a copy -preset ultrafast -async 1 /output/myVideo.mp4
Hope that helps
Paul