libVLC and Visual Studio 2005 C++
Posted: 07 Aug 2008 09:02
Hi Everyone,
I'm currently attempting to build an application that requires video streaming from a camera over a network. I've researched the many available options and concluded that the functionality and simplicity in VLC is exactly what I need.
I was originally going to try and delve into the live555 source code but this is a project in itself!
The problem I've encountered is that the VCL source code with Visual C++ 2005. As many of the posts in this forum indicate, it is not possible to compile VLC using Visual C++; however the options that remain available for use include "libvlc" and the active X module.
What I really need is a way to implement the libvlc in my existing Visual C++ project.
I've gone through all the posts regarding libvlc.dll and its implementation and still have not come up with any useful output.
I first tried following the Wiki guide on LibVLC Visual C
LibVLC_Visual_C
While this builds (with modification to the dshow lines), it doesn't really do anything, it just stops on the line:
I'm not sure if I need to do something else here?
The other information that i've encountered is the need for a .lib file. Is this required?
e.g. viewtopic.php?f=14&t=45309
and viewtopic.php?f=14&t=45260&p=143004&hilit=dll#p143004
If so, I honestly have no idea how to create this .lib file or what I need to do with .def files.
I'm currently working with VLC version 0.8.6i, but I have read in the posts that 0.9 would be better.
Any help or recommendations would be greatly appreciated.
Kind Regards,
Mkov
I'm currently attempting to build an application that requires video streaming from a camera over a network. I've researched the many available options and concluded that the functionality and simplicity in VLC is exactly what I need.
I was originally going to try and delve into the live555 source code but this is a project in itself!
The problem I've encountered is that the VCL source code with Visual C++ 2005. As many of the posts in this forum indicate, it is not possible to compile VLC using Visual C++; however the options that remain available for use include "libvlc" and the active X module.
What I really need is a way to implement the libvlc in my existing Visual C++ project.
I've gone through all the posts regarding libvlc.dll and its implementation and still have not come up with any useful output.
I first tried following the Wiki guide on LibVLC Visual C
LibVLC_Visual_C
While this builds (with modification to the dshow lines), it doesn't really do anything, it just stops on the line:
Code: Select all
i_ret = (VLC_Init)(id, 6, commands );
The other information that i've encountered is the need for a .lib file. Is this required?
e.g. viewtopic.php?f=14&t=45309
and viewtopic.php?f=14&t=45260&p=143004&hilit=dll#p143004
If so, I honestly have no idea how to create this .lib file or what I need to do with .def files.
I'm currently working with VLC version 0.8.6i, but I have read in the posts that 0.9 would be better.
Any help or recommendations would be greatly appreciated.
Kind Regards,
Mkov