Page 1 of 1

How display three lines of text?

Posted: 13 Jan 2016 18:51
by parker
When I play the video in VLC, it appeared three lines of text.
Image
Line 1: Title

Line 2: configured as shown below

Line 3: Subtitles

Image


How to write code for the 2nd line with language vb.net

Best Regards!

Re: How display three lines of text?

Posted: 13 Jan 2016 20:42
by RĂ©mi Denis-Courmont
Add multiple marquee filters.

Re: How display three lines of text?

Posted: 14 Jan 2016 19:08
by parker
Add multiple marquee filters.
Thank you

I use the command line

Code: Select all

marq{marquee=Text1,x=10,y=10}:marq{marquee=Text2,x=500,y=500}:marq{marquee=Text3,position=10}
it worked fine



How to add 3 lines at runtime

Code: Select all

m_player.Marquee.Enabled = false; m_player.Marquee.Text = "text 1"; m_player.Marquee.Timeout = 2000; m_player.Marquee.Y = 10; m_player.Marquee.X = 100; m_player.Marquee.Text = "text 2"; m_player.Marquee.Timeout = 2000; m_player.Marquee.Y = 40; m_player.Marquee.X = 100; m_player.Marquee.Text = "text 3"; m_player.Marquee.Timeout = 2000; m_player.Marquee.Y = 80; m_player.Marquee.X = 100; m_player.Marquee.Color = VlcColor.Blue; m_player.Marquee.Enabled = true;
Only 1 line appearance (3rd line)

Best Regards

Re: How display three lines of text?

Posted: 22 Jan 2016 17:58
by parker
help pleaseeeeeee!