siguiendo con el api, esto es lo que tengo hasta el momento. no me muestra nada.
https://progur.com/2017/06/how-to-use-vlc-api-in-c.html
bcc32 -I.\include -L.\lib libvlc.lib myplayer3.c
- Code: Select all Expand view RUN
#include <windows.h>
#include <stdio.h>
#include <vlc.h>
#include <stdlib.h>
int main(void)
{
libvlc_instance_t *my_instance;
libvlc_media_t *my_media_file;
libvlc_media_player_t *my_player;
//instance
my_instance = libvlc_new(0, NULL);
if(my_instance == NULL) {
return(-1);
}
//use a media file
my_media_file = libvlc_media_new_path(my_instance, "video.mp4");
// Create player
my_player = libvlc_media_player_new_from_media(my_media_file);
// Start playing
libvlc_media_player_play(my_player);
Sleep(5);
libvlc_media_release(my_media_file);
libvlc_media_player_release(my_player);
libvlc_release(my_instance);
return(0);
}