Flussonic Media Server documentation

Logo Overlaying

There are 2 ways to overlay logo with Flussonic Media Server:

  • Using a web player. Player adds transparent layer with your image. This way is well suited for embeding video to website.
  • Using the transcoder. This is a resouce-intensive proccess but allow to burn image into the video track. Will be impossible to hide or delete this logo. Suitable for Set-Top-Boxes.

Logo overlaying with a web player Anchor Anchor x2

Such a logo will not be suitable for displaying on mobile devices and in the DVR player, but it does not generate additional load on the server.

Config example:

stream ort {
  url udp://239.0.0.1:5000;
  logo path=flu/erly-small.png height=100 width=100 left=0 top=0;

In the line logo path=flu/erly-small.png height=100 width=100 left=0 top=0 the following options are used:

  • path (required) — path relative to /opt/flussonic/wwwroot directory.
  • height, width — logo image size in px. If ony only one of these parameters is present then the other is scaled proportionally. Omit these parameters to display logo in the original size.
  • left, top, right, bottom — logo image location specified by offset in px. For example, right bottom corner: right=0, bottom=0. Don't use left and right, top and bottom parameters together.

Logo overlaying with the transcoder Anchor Anchor x2

The logo will be "burned" to a video track and displayed on any device and in the DVR archive.

Configuration example:

stream ort {
  url udp://239.0.0.1:5000;
  transcoder vb=2048k preset=fast logo=/path/to/erly-small.png@10:10 ab=128k;
}

Here 10:10 are the coordinates of the top left corner of the screen.

To place a logo in another part of the screen, use a bit more complex notation. For example, to place a logo in the center:

stream ort {
  url udp://239.0.0.1:5000;
  transcoder vb=2048k preset=fast logo=/path/to/erly-small.png@(main_w-overlay_w-10)/2:(main_h-overlay_h-10)/2 ab=128k;
}

To place a logo in the bottom left corner:

stream ort {
  url udp://239.0.0.1:5000;
  transcoder vb=2048k preset=fast logo=/path/to/erly-small.png@10:(main_h-overlay_h-10) ab=128k;
}

To place logo in the top right corner:

stream ort {
  url udp://239.0.0.1:5000;
  transcoder vb=2048k preset=fast logo=/path/to/erly-small.png@(main_w-overlay_w-10):10 ab=128k;
}

To place logo in the bottom right corner:

stream ort {
  url udp://239.0.0.1:5000;
  transcoder vb=2048k preset=fast logo=/path/to/erly-small.png@(main_w-overlay_w-10):(main_h-overlay_h-10) ab=128k;
}

Learn more about transcoder settings.