Flussonic Media Server documentation

Overlay logo

Overlay logo Anchor Anchor x2

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

  • With web player. Player adds transparent layer with your image. This way is well suited for embeding video to website.
  • With 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.

HTML Overlay Anchor Anchor x2

Available from version 4.6.15. This logo will not be displayed 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;

logo path=flu/erly-small.png height=100 width=100 left=0 top=0;

  • path (required) — path relative to 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.

Transcoder logo Anchor Anchor x2

Logo will burned to video track and displayed on any devices and DVR records.

Config 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;
}

10:10 are coordinates of the top left corner of the screen. To place a logo in another part of the screen a slightly more complex formula should be written. For example, to place 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 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;
}

More about transcoder settings.