FAQ: Text on top of video

Yury Udovichenko 2017-07-10 06:29:45 UTC in WMSPanel functionality

Q: How do I draw some text on top of any outgoing stream?

A: You need to use our Live Transcoder with
drawtext filter.

1. Install Live Transcoder and get a license to make it work:

2. Create a scenario with a decoder for your incoming stream. Check one of our videos as example:

3. Add custom filter. Specify its name as drawtext, and set its value to something like:

fontfile=/usr/share/fonts/dejavu/DejaVuSans-Bold.ttf: text='%{localtime\:%T}': fontcolor=white@0.8: x=7: y=700


fontsize=45: fontfile=/usr/share/nimble/fonts/VCR_OSD_MONO_1.001.ttf: text='%{localtime\:%F %T %Z}': fontcolor=white@0.8: x=15: y=1000: box=1: boxcolor=black@0.4

4. Add encoder for outgoing stream and save scenario.

That's it, your outgoing stream will now have text with local time of the server.

helin 2018-01-14 09:09:03 UTC 

This is an example of Linux.
How it works on Windows?

Alex Pokotilo 2018-01-14 13:30:30 UTC 

this is example for transcoder and it should work the same way for linux/windows

helin 2018-01-14 14:47:23 UTC 

There is no /usr/ share path in Windows how it works?

Alex Pokotilo 2018-01-14 22:14:07 UTC 

you need to specify windows path where font located

Ryan 2022-03-18 21:39:15 UTC 

how do i do text overlay in transcoder for windows? the draw text filter ruins the entire transcode scenario when testing

Sergei 2022-03-21 09:55:00 UTC 

Hello, Ryan.

Please open a ticket at as we will ask you some sensitive details about your setup.
Just a guess, have you specified correct path to the font file for the drawtext filter?

Thank you.

Max 2022-04-06 21:20:26 UTC 

Also having problems running this on Windows.
Has anyone found a solution yet?

Thank you!

Sergei 2022-04-07 01:07:31 UTC 

Hello, Max.

Unfortunately the "drawtext" filter is currently not supported in the Transcoder for Windows, please use Linux version to make it work.

Thank you.

Max 2022-04-12 13:29:52 UTC 

Thank you, are there plans of supporting it in future update?

Sergei 2022-04-13 01:29:26 UTC 

Hello, Max.
Not at the moment, as it is heavily depends on linux dependencies.

Thank you.

Post a reply

Post a new question


This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the Privacy Policy. If you want to know more or withdraw your consent to all or some of the cookies, please refer to the Privacy Policy.
By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to the use of cookies.