libvlc_video_set_logо_[string|int]() parameter description

This forum is about all development around libVLC.
Jo2003
Blank Cone
Blank Cone
Posts: 67
Joined: 08 Feb 2010 13:29

libvlc_video_set_logо_[string|int]() parameter description

Postby Jo2003 » 10 Apr 2017 14:05

Hi all,
in a Qt desktop app (C++) I try to use libVLC function libvlc_video_set_logo_string() and libvlc_video_set_logo_int(). Could someone please explain which kind of parameter needs to be set and what they mean?
  • libvlc_logo_enable - understood - int: 1 -> enable, 0 -> disable
  • libvlc_logo_file - partly understood - string: path to local image file. What are other comma separated arguments in string?
  • libvlc_logo_x - not understood - int: is this size or position?
  • libvlc_logo_y - not understood - int: is this size or position?
  • libvlc_logo_delay - understood - int: delay in ms
  • libvlc_logo_repeat - not understood - horizontal / vertical repeat?
  • libvlc_logo_opacity - understood - int: 0 ... 255
  • libvlc_logo_position - not understood
Thank you very much for your help!

Best regards,
Jörg

Jo2003
Blank Cone
Blank Cone
Posts: 67
Joined: 08 Feb 2010 13:29

Re: libvlc_video_set_logо_[string|int]() parameter description

Postby Jo2003 » 10 Apr 2017 14:49

OK, found it in command line help:

Code: Select all

Logo sub source Use a local picture as logo on the video --logo-file=<string> Logo filenames Full path of the image files to use. Format is <image>[,<delay in ms>[,<alpha>]][;<image>[,<delay>[,<alpha>]]][;...]. If you only have one file, simply enter its filename. --logo-x=<integer [-2147483648 .. 2147483647]> X coordinate X coordinate of the logo. You can move the logo by left-clicking it. --logo-y=<integer [-2147483648 .. 2147483647]> Y coordinate Y coordinate of the logo. You can move the logo by left-clicking it. --logo-delay=<integer [-2147483648 .. 2147483647]> Logo individual image time in ms Individual image display time of 0 - 60000 ms. --logo-repeat=<integer [-2147483648 .. 2147483647]> Logo animation # of loops Number of loops for the logo animation.-1 = continuous, 0 = disabled --logo-opacity=<integer [0 .. 255]> Opacity of the logo Logo opacity value (from 0 for full transparency to 255 for full opacity). --logo-position={0 (Center), 1 (Left), 2 (Right), 4 (Top), 8 (Bottom), 5 (Top-Left), 6 (Top-Right), 9 (Bottom-Left), 10 (Bottom-Right)} Logo position Enforce the logo position on the video (0=center, 1=left, 2=right, 4=top, 8=bottom, you can also use combinations of these values, eg 6 = top-right).
Thanks anyway,
Jörg


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 30 guests