Why method "Marquee" in the library "VLC 2.1.5" Not working?

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

Why method "Marquee" in the library "VLC 2.1.5" Not working?

Postby parker » 16 Sep 2015 10:21

I used %M %S $l $D $O $V $_ ...
But it only works with: %M %S

Expect help

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

Re: Why method "Marquee" in the library "VLC 2.1.5" Not working?

Postby Rémi Denis-Courmont » 16 Sep 2015 10:25

Meta-data expansion in marquee is not implemented. As far as I am aware, it was never implemented in LibVLC at all.
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: Why method "Marquee" in the library "VLC 2.1.5" Not working?

Postby parker » 16 Sep 2015 10:39

thanks Remi
This is the code of the method "Marquee" it still works in older versions

Code: Select all

public enum libvlc_video_marquee_option_t { libvlc_marquee_Enable = 0, /// <summary> /// Marquee text to display. /// (Available format strings: /// Time related: %Y = year, %m = month, %d = day, %H = hour, /// %M = minute, %S = second, ... /// Meta data related: $a = artist, $b = album, $c = copyright, /// $d = description, $e = encoded by, $g = genre, /// $l = language, $n = track num, $p = now playing, /// $r = rating, $s = subtitles language, $t = title, /// $u = url, $A = date, /// $B = audio bitrate (in kb/s), $C = chapter, /// $D = duration, $F = full name with path, $I = title, /// $L = time left, /// $N = name, $O = audio language, $P = position (in %), $R = rate, /// $S = audio sample rate (in kHz), /// $T = time, $U = publisher, $V = volume, $_ = new line) /// </summary> libvlc_marquee_Text, /// <summary> /// Color of the text that will be rendered on /// the video. This must be an hexadecimal (like HTML colors). The first two /// chars are for red, then green, then blue. #000000 = black, #FF0000 = red, /// #00FF00 = green, #FFFF00 = yellow (red + green), #FFFFFF = white /// </summary> libvlc_marquee_Color, /// <summary> /// Opacity (inverse of transparency) of overlayed text. 0 = transparent, 255 = totally opaque. /// </summary> libvlc_marquee_Opacity, /// <summary> /// You can enforce the marquee position on the video. /// </summary> libvlc_marquee_Position, /// <summary> /// Number of milliseconds between string updates. This is mainly useful when using meta data or time format string sequences. /// </summary> libvlc_marquee_Refresh, /// <summary> /// Font size, in pixels. Default is -1 (use default font size). /// </summary> libvlc_marquee_Size, /// <summary> /// Number of milliseconds the marquee must remain displayed. Default value is 0 (remains forever). /// </summary> libvlc_marquee_Timeout, /// <summary> /// X offset, from the left screen edge. /// </summary> libvlc_marquee_X, /// <summary> /// Y offset, down from the top. /// </summary> libvlc_marquee_Y }

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

Re: Why method "Marquee" in the library "VLC 2.1.5" Not working?

Postby Rémi Denis-Courmont » 16 Sep 2015 11:00

I don't see how that could ever have worked in LibVLC. But patch welcome.
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: Why method "Marquee" in the library "VLC 2.1.5" Not working?

Postby parker » 16 Sep 2015 12:21

How do I create a new line for text

EX: html <br>
vb.net vbNewline


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 9 guests