Skip to content

Adding a logo when transcoding a stream

Flussonic Media Server can add a logo to your video in the process of transcoding:

Transcoder

When using the transcoder to overlay a logo on a video stream, the image will be "burned" into the video track. This means that it will be displayed on any device and recorded in the DVR archive.

Example:


vb=2048k preset=fast logo=/storage/logo.png@10:10 ab=128k

Here, 10:10 are the coordinates with an offset of 10 from the top left corner of the screen.

To place the logo in another part of the screen, you will need to use a slightly more complex formula.

To place the logo in the center:


vb=2048k preset=fast logo=/storage/logo.png@(main_w-overlay_w-10)/2:(main_h-overlay_h-10)/2 ab=128k

To place the logo in the bottom left corner:


vb=2048k preset=fast logo=/storage/logo.png@10:(main_h-overlay_h-10) ab=128k

To place the logo in the top right corner:


vb=2048k preset=fast logo=/storage/logo.png@(main_w-overlay_w-10):10 ab=128k

To place the logo in the bottom right corner:


vb=2048k preset=fast logo=/storage/logo.png@(main_w-overlay_w-10):(main_h-overlay_h-10) ab=128k

Warning

Adding a logo is possible only when you use the CPU or NVENC transcoder.