Trouble using VLC lib

*nix specific usage questions
bird12358
Blank Cone
Blank Cone
Posts: 10
Joined: 03 Feb 2013 14:42

Trouble using VLC lib

Postby bird12358 » 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:

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);
But on my other computer when I launch the program I get that:

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
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.

Rémi Denis-Courmont
Developer
Developer
Posts: 15265
Joined: 07 Jun 2004 16:01
VLC version: master
Operating System: Linux
Contact:

Re: Trouble using VLC lib

Postby Rémi Denis-Courmont » 02 Jul 2014 19:48

dshow:// is not a file path. Please refer to the Doxygen documentation.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 9 guests