gerafter.blogg.se

How to put a watermark on a video
How to put a watermark on a video









how to put a watermark on a video

While the result of using percents is probably easiest to understand, the one shortcoming is positioning a watermark with an exact margin. Note that in the case of a live stream, you do not need that first input object with the source URL of the video, as that comes from the live stream itself you just need the one object for the overlay. The watermark image will be retrieved from this URL at the start of each live stream, so you should make sure that the image will be available at that URL for as long as you plan to use the live stream. Multiple watermarks are possible using additional inputs as described in our API documentation for creating an asset API.įor a live stream, the overlay_settings must be embedded under the input array within new_asset_settings in the live stream creation API API, and the overlays will apply both to playback through the live stream's playback IDs and all assets created from the live stream. The first input in your array of inputs must be the video file you want to apply the watermark to, and the second should be the URL to the source watermark image along with placement details. You can add a watermark to your video using the overlay_settings in the asset creation API API.











How to put a watermark on a video