I have a client that plays network stream.
Code: Select all
const char * const vlc_argv[] = {
"-I", "dummy",
"--ignore-config",
"--plugin-path=C:\\Program Files\\VideoLAN\\VLC\\plugins\\"};
libvlc_instance_t * inst;
libvlc_media_player_t *mp;
libvlc_media_t *m;
inst = libvlc_new (sizeof(vlc_argv)/sizeof(vlc_argv[0]),vlc_argv);
m = libvlc_media_new_path (inst, "udp://127.0.0.1@127.0.0.1:1234");
mp = libvlc_media_player_new_from_media (m);
libvlc_media_player_play (mp);
Sleep (10000); /* Let it play a bit */
libvlc_media_player_stop (mp);
libvlc_media_player_release (mp);
libvlc_media_release (m);
libvlc_release (inst);
Libvlc doesn't support wmv3.
How can i get raw bytes from libvlc_media_t pointer 188 bytes packets for further processing?