Tuto C++

This forum is about all development around libVLC.
capflam
New Cone
New Cone
Posts: 7
Joined: 16 Nov 2009 12:17

Tuto C++

Postby capflam » 16 Nov 2009 12:31

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
Last edited by capflam on 16 Nov 2009 18:50, edited 2 times in total.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Tuto C++

Postby Jean-Baptiste Kempf » 16 Nov 2009 16:12

Wiki.videolan.org read developer's corner
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

capflam
New Cone
New Cone
Posts: 7
Joined: 16 Nov 2009 12:17

Re: Tuto C++

Postby capflam » 16 Nov 2009 18:54

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

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

Re: Tuto C++

Postby Rémi Denis-Courmont » 16 Nov 2009 21:37

Those functions were deprecated in VLC 0.9 and removed in VLC 1.0.
Rémi Denis-Courmont
https://www.remlab.net/
Private messages soliciting support will be systematically discarded

capflam
New Cone
New Cone
Posts: 7
Joined: 16 Nov 2009 12:17

Re: Tuto C++

Postby capflam » 17 Nov 2009 01:05

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

capflam
New Cone
New Cone
Posts: 7
Joined: 16 Nov 2009 12:17

Re: Tuto C++

Postby capflam » 17 Nov 2009 14:56

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.

capflam
New Cone
New Cone
Posts: 7
Joined: 16 Nov 2009 12:17

Re: Tuto C++

Postby capflam » 18 Nov 2009 10:26

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


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 36 guests