Page 1 of 1
Tuto C++
Posted: 16 Nov 2009 12:31
by capflam
Bonjour,
I do yet some program integrating libvlc.dll into appli make with C++Builder.
But it was with libvlc version 0.8
I want to recompile with the new dll and i am little lost.
Somebody know a link where there is a tutoriel in C++ which use dll with getprocaddress instruction
thanks
Re: Tuto C++
Posted: 16 Nov 2009 16:12
by Jean-Baptiste Kempf
Wiki.videolan.org read developer's corner
Re: Tuto C++
Posted: 16 Nov 2009 18:54
by capflam
tanks a lot
But i see that in this tuto c++ it s write : ***DEPRECATED API*** USE NEW libvlc_ prefixed functions
i suppose that meams with the new dll it s not possible to use this functions.
whenever i try with the lastest dll and the : VLC_Create = (_VLC_CREATE) GetProcAddress(libvlc, "VLC_Create");
return NULL So it's mean that this function not exist in the DLL(1.0.2)
Any Idea??
tanks
Re: Tuto C++
Posted: 16 Nov 2009 21:37
by RĂ©mi Denis-Courmont
Those functions were deprecated in VLC 0.9 and removed in VLC 1.0.
Re: Tuto C++
Posted: 17 Nov 2009 01:05
by capflam
Those functions were deprecated in VLC 0.9 and removed in VLC 1.0.
Merci.
Effectively the last function works correctly.
I compile with success i just replace "playlist" function by media_player function.
I can see a video, the screen but i could not see webcam whith:
m = libvlc_media_new(_vlcinstance, "dshow://", &_vlcexcep);
libvlc_media_add_option(m,":dshow-vdev=USB 2.0 1.3M UVC WebCam ");
Any idea?
by, and good night
Re: Tuto C++
Posted: 17 Nov 2009 14:56
by capflam
HI,
Very strange
Webcam works with lib 0.8 not with lib 10.2 Whenever its works with the gui interface.
My head become very hot; someone have an idea?
by.
Re: Tuto C++
Posted: 18 Nov 2009 10:26
by capflam
Hi
The MRL structure seems have change
dshow:// dont works
screen:// works
file:// test.avi dont works but just the name test.avi works
????
very strange.
someone have infos about that?
thanks