Home > Archive (Community help, from old helpdesk) > how to add text in out video stream

how to add text in out video stream

Avatar image
Aug 23, 2015
Archive Agent wrote
...
Completed
0
Vote
Reply
23 Answers
Aug 23, 2015
Archive Agent agent wrote
Anonymous

I think what I found: VideoCapture.OSD_Layers_Draw_Text Method

is this true?

on May 06, 2014 15:36
Aug 23, 2015
Archive Agent agent wrote
Roman Minyaylov

No, use Text Logo video effect, like shown in demo applications.

on May 06, 2014 17:25
Aug 23, 2015
Archive Agent agent wrote
Anonymous

Thanks, but what about the start and stop time?
how to see the text constantly?

on May 07, 2014 09:00
Aug 23, 2015
Archive Agent agent wrote
Anonymous

I should use to handle the event?
can show an example?

on May 7, 2014 9:13 AM
Aug 23, 2015
Archive Agent agent wrote
Anonymous

text logo works in real time?
Sorry for the number of questions

on May 7, 2014 9:57 AM
Aug 23, 2015
Archive Agent agent wrote
Anonymous

Which event occurs when the screen is refreshed?

on May 7, 2014 10:44 AM
Aug 23, 2015
Archive Agent agent wrote
Anonymous

i mean VideoCapture screen)))

on May 7, 2014 10:45 AM
Aug 23, 2015
Archive Agent agent wrote
Anonymous

i found, just downloaded the examples again.
now only one:
"Which event occurs when the screen is refreshed?"

on May 7, 2014 10:52 AM
Aug 23, 2015
Archive Agent agent wrote
Roman Minyaylov

It's no event if screen refreshed, but you can use events started from OnVideoFrame to get frames that comes from screen.

on May 7, 2014 11:24 AM
Aug 23, 2015
Archive Agent agent wrote
Anonymous

Thanks so much

on May 7, 2014 12:00 PM
Aug 23, 2015
Archive Agent agent wrote
Anonymous

how you have implemented a text overlay on video?
layers?
can tell the approximate algorithm?
it is the same as in DirectShow?

on May 7, 2014 12:01 PM
Aug 23, 2015
Archive Agent agent wrote
Anonymous

as your library, we can understand that now the main text than video, that is the text above?

on May 7, 2014 12:02 PM
Aug 23, 2015
Archive Agent agent wrote
Roman Minyaylov

We draw text on frames that comes as RGB24 buffer.

Yes, text always above.

on May 7, 2014 12:04 PM
Aug 23, 2015
Archive Agent agent wrote
Anonymous

By the way, I was not able to make the text to be on top.
in VideoCapture1_OnVideoFrameBuffer
we have VideoCapture1.Video_Effects_Text_Logo.
but I do not see the text

on May 7, 2014 12:08 PM
Aug 23, 2015
Archive Agent agent wrote
Anonymous

Thank you for good answers

on May 7, 2014 12:09 PM
Aug 23, 2015
Archive Agent agent wrote
Anonymous

can I use the wrong font?
Font newFont = newFont1 = new Font(this.Font.FontFamily, 32);
VideoCapture1.Video_Effects_Text_Logo(
2,
0,
0,
true,
"TEXT",
50,
50,
newFont1,
Color.Red);

on May 7, 2014 12:16 PM
Aug 23, 2015
Archive Agent agent wrote
Roman Minyaylov

in Main Demo worked?

Video_Effects_Enabled is true?

on May 7, 2014 12:33 PM
Aug 23, 2015
Archive Agent agent wrote
Anonymous

In IP capture

on May 7, 2014 12:35 PM
Aug 23, 2015
Archive Agent agent wrote
Anonymous

now rules.
was false

on May 7, 2014 12:36 PM
Aug 23, 2015
Archive Agent agent wrote
Anonymous

THANKS!!!

on May 7, 2014 12:36 PM
Aug 23, 2015
Archive Agent agent wrote
Roman Minyaylov

^__^

on May 7, 2014 12:37 PM
Aug 23, 2015
Archive Agent agent wrote
Anonymous

;)
good luck
thanks again for the great support.
Glad that bought a license av*@d**p*c.ru

on May 7, 2014 12:43 PM
Aug 23, 2015
Archive Agent agent wrote
Roman Minyaylov

Thank you!

on May 7, 2014 12:59 PM