Trouble using VLC lib
Posted: 02 Jul 2014 12:18
Hello,
I just get a new computer and I launch my program on it. I try to get a video from the dshow:// stream.
On my first computer, it works properly with this program:
But on my other computer when I launch the program I get that:
Why the program add " C:\Users\SS\Desktop\IHM_2p4-build-Desktop-Release\" before "dshow:\" ?
I don't really anderstand that.
Can someone help me ?
Than you in advance.
Best regard.
I just get a new computer and I launch my program on it. I try to get a video from the dshow:// stream.
On my first computer, it works properly with this program:
Code: Select all
m = libvlc_media_new_path(inst, "dshow://");
libvlc_media_add_option(m,":dshow-vdev="); //USB2.0 Grabber
libvlc_media_add_option(m,":dshow-adev=none"); //USB2.0 Grabber
/* Create a media player playing environement */
mp = libvlc_media_player_new_from_media (m);
libvlc_media_player_set_hwnd(mp,_videoWidget->winId()); // for vlc 1.0
// libvlc_media_player_set_xwindow(mp,(uint32_t)this->winId());
/* play the media_player */
libvlc_media_player_play(mp);
Code: Select all
libdvdnav: Using dvdnav version 5.0.0
libdvdread: Could not open C:\Users\SS\Desktop\IHM_2p4-build-Desktop-Release\ dshow:\ with libdvdcss.
libdvdread: Can't open C:\Users\SS\Desktop\IHM_2p4-build-Desktop-Release\ dshow:\ for reading
I don't really anderstand that.
Can someone help me ?
Than you in advance.
Best regard.