qt media player code code example
Example 1: qt video player with codecs
//Play the video:
libvlc_media_player_set_media(player, media);
libvlc_media_player_play(player);
Example 2: qt video player with codecs
//Initialization
libvlc_instance_t *vlcinstance = libvlc_new(0, NULL);
libvlc_media_player_t *player = libvlc_media_player_new(vlcinstance);
libvlc_media_t *media = libvlc_media_new_path(vlcinstance, file_path);