How display three lines of text?

This forum is about all development around libVLC.
parker
Blank Cone
Blank Cone
Posts: 39
Joined: 21 Sep 2010 05:25

How display three lines of text?

Postby parker » 13 Jan 2016 18:51

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!

Rémi Denis-Courmont
Developer
Developer
Posts: 15268
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: How display three lines of text?

Postby Rémi Denis-Courmont » 13 Jan 2016 20:42

Add multiple marquee filters.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

parker
Blank Cone
Blank Cone
Posts: 39
Joined: 21 Sep 2010 05:25

Re: How display three lines of text?

Postby parker » 14 Jan 2016 19:08

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

parker
Blank Cone
Blank Cone
Posts: 39
Joined: 21 Sep 2010 05:25

Re: How display three lines of text?

Postby parker » 22 Jan 2016 17:58

help pleaseeeeeee!


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 33 guests