Page 1 of 1

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

Posted: 16 Sep 2015 10:21
by parker
I used %M %S $l $D $O $V $_ ...
But it only works with: %M %S

Expect help

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

Posted: 16 Sep 2015 10:25
by Rémi Denis-Courmont
Meta-data expansion in marquee is not implemented. As far as I am aware, it was never implemented in LibVLC at all.

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

Posted: 16 Sep 2015 10:39
by parker
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 }

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

Posted: 16 Sep 2015 11:00
by Rémi Denis-Courmont
I don't see how that could ever have worked in LibVLC. But patch welcome.

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

Posted: 16 Sep 2015 12:21
by parker
How do I create a new line for text

EX: html <br>
vb.net vbNewline