QString qstr = "测A试";
QByteArray qByteArray = qstr.toUtf8();
char* cStr = qByteArray.data();
libvlc_video_set_marquee_string(vlcMediaPlayer, libvlc_marquee_Text, cStr);
libvlc_video_set_marquee_int(vlcMediaPlayer, libvlc_marquee_Color, 0x00FFFFFF);
libvlc_video_set_marquee_int(vlcMediaPlayer, libvlc_marquee_Position, 10);
libvlc_video_set_marquee_int(vlcMediaPlayer, libvlc_marquee_Opacity, 255);
// libvlc_video_set_marquee_int(vlcMediaPlayer, libvlc_marquee_X, 0); //从屏幕左边缘开始的 X 偏移。
// libvlc_video_set_marquee_int(vlcMediaPlayer, libvlc_marquee_Y, 0);// 从屏幕顶部d向下的 Y 偏移。
libvlc_video_set_marquee_int(vlcMediaPlayer, libvlc_marquee_Timeout, 0);
libvlc_video_set_marquee_int(vlcMediaPlayer, libvlc_marquee_Size, 64);
libvlc_video_set_marquee_int(vlcMediaPlayer, libvlc_marquee_Enable, 1);
libvlc_video_set_marquee_int(vlcMediaPlayer, libvlc_marquee_Refresh, 10);