I am using LibVLc 2.6.1 RinceWind on Ubuntu 14.04.5 LTS. I want to build a mini player with LibVlc Qt4.8 C++ (Eclipse). I can play, pause and stop the video.
I tried to add text with
Code: Select all
libvlc_video_set_marquee_string(_mediaPlayer, libvlc_marquee_Text, "myText");
libvlc_video_set_marquee_int(_mediaPlayer, libvlc_marquee_X,50);
libvlc_video_set_marquee_int(_mediaPlayer, libvlc_marquee_Y, 50);
libvlc_video_set_marquee_int(_mediaPlayer, libvlc_marquee_Opacity, 50);
libvlc_video_set_marquee_int(_mediaPlayer, libvlc_marquee_Timeout, 4000);
libvlc_video_set_marquee_int(_mediaPlayer, libvlc_marquee_Size, 40);
libvlc_video_set_marquee_int(_mediaPlayer, libvlc_marquee_Color, 0xffffff);
libvlc_video_set_marquee_int(_mediaPlayer, libvlc_marquee_Enable, 1);
Code: Select all
libvlc_video_set_logo_string( _mediaPlayer,libvlc_logo_file, "logo.jpeg");
libvlc_video_set_logo_int(_mediaPlayer, libvlc_logo_enable, 1);
Code: Select all
const char * const vlc_args[] = {"--sub-filter=marq", "--no-xlib"};
_instance = libvlc_new (2,vlc_args);
https://forum.videolan.org/viewtopic.php?t=115986
https://github.com/assen-totin/vbs/blob ... ideo-vlc.c
Have someone a solution for this problem ?
Many thanks in advance.
ShadowMaster