libvlc and visual-c++

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
DaRkYoda63
New Cone
New Cone
Posts: 4
Joined: 31 Mar 2006 15:13

libvlc and visual-c++

Postby DaRkYoda63 » 15 Mar 2007 17:34

Hello,

I Want to use libvlc with visual-c++ (or QT...)

So I want to generate a .lib from the dll to have all exported function.

I use impdef to generate .def file and it seems to be good ! : impdef libvlc.dll

I use dlltool : dlltool --dllname libvlc.dll --input-def libvlc.def --output-lib libvlc.lib

to generate the lib file and it seems to work fine...

I create a new project, I use libvlc.h and vlc.h to have the function prototype and link with the libvlc.lib !

I try a simple function like VLC_Version()

All it's fine and the executable is generated, the link works.

BUT ! And it's my problem ... when I run the program, it hang with an exception ...

Somebody have already use the libvlc with visual-c++ ?

Or somebody cn help me on my mistake ?

Thanks,

A+

Asha
New Cone
New Cone
Posts: 4
Joined: 18 Apr 2007 15:32

libvlc and visual-c++

Postby Asha » 21 Apr 2007 08:24

Hi,
Even I am facing the same probs...
Please provide some pointers to this problem.

Regards,
Asha

loic69
Blank Cone
Blank Cone
Posts: 37
Joined: 31 Jan 2007 18:10
Location: France

Postby loic69 » 27 Apr 2007 11:45

Hi

I would like too to use libvlc with VS6 or better VS2005...

I have not again find a solution ! But I know some people have it...

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:

Postby Jean-Baptiste Kempf » 27 Apr 2007 13:28

Stop double posting.
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.

twk83
New Cone
New Cone
Posts: 3
Joined: 25 Sep 2008 13:23

Re: libvlc and visual-c++

Postby twk83 » 07 Oct 2008 10:59

Is there actually any solution?
My VS2005 doesn't play any sound with libvlc in debug-mode.
If I start the exe separately, it works. This is interesting but i have to debug my program.
Anybody here who knows how it works?

Tobias

loic69
Blank Cone
Blank Cone
Posts: 37
Joined: 31 Jan 2007 18:10
Location: France

Re: libvlc and visual-c++

Postby loic69 » 07 Oct 2008 11:13

Hi
I use VLC on my professionnal solutions but it seams not to be a good solution in professionnal solutions.
In fact, we can't use visual studio 2005 or 2008 to compile VLC. We used VS6 to compile just some special plugins but it's hard to do this task.
So we have to do this with each new version of VLC...

So now, I search actively for a new solution of video player, audio player/ RTSP demux which can compile great on Visual Studio 2008.

twk83
New Cone
New Cone
Posts: 3
Joined: 25 Sep 2008 13:23

Re: libvlc and visual-c++

Postby twk83 » 07 Oct 2008 13:45

Thanks for the fast reply.
So please tell me if you find a solution!

Tobi

loic69
Blank Cone
Blank Cone
Posts: 37
Joined: 31 Jan 2007 18:10
Location: France

Re: libvlc and visual-c++

Postby loic69 » 07 Oct 2008 13:49

Thanks for the fast reply.
So please tell me if you find a solution!

Tobi
I'm searching a solution at this moment, not yet found it...
I know live555 (live dot com) is an open source project and compile under Visual Studio.
I have to found now a decoder video (MPEG4 IP ???) or use ffdshow to rendering audio and video...
Don't know at this time...

User avatar
jiapei100
Blank Cone
Blank Cone
Posts: 33
Joined: 06 Aug 2009 02:17
VLC version: 4.0.0-dev
Operating System: Ubuntu
Location: Surrey, BC, Canada
Contact:

Re: libvlc and visual-c++

Postby jiapei100 » 30 Sep 2009 02:22

It looks till now, there is no standard solution to this problem yet.

no libvlc.lib at all

What can I do?
Welcome to Vision Open
http://www.visionopen.com

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: libvlc and visual-c++

Postby Jean-Baptiste Kempf » 01 Oct 2009 01:53

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.


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 9 guests