First I try to do it using the VLC player. As this manual says, I launch the player this way:
Code: Select all
vlc --sub-filter=marq --marq-marquee="Obvious Watermark" --marq-position=0 --marq-size=50 somevideo.avi
Then I try to do the same in my app which uses libVLC library. I initialize the VLC instance:
Code: Select all
const char* const argv[] =
{"--no-plugins-cache",
"--sub-filter=marq",
"--marq-marquee=\"Obvious Watermark\"",
"--marq-position=0",
"--marq-size=50"};
int argc = sizeof(args) / sizeof(args[0]);
vlcObject = libvlc_new(argc, argv));
What am I doing wrong?
I'm using libVLC 2.1.4 on Centos 6.5.