The page that has the link to download the VLC windows executable also has a link for source code tarball. The header files I use are in that source code (the include/vlc directory). The libvlc.dll and libvlccore.dll that I link to come from the windows install (or zip) package, currently 2.1.0.
vlc.dll/lib -> libvlc.dll/lib
... | ... | @@ -92,7 +92,7 @@ |
<Link> | ||
<SubSystem>Console</SubSystem> | ||
<IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries> | ||
<AdditionalDependencies>WindowsPhoneCore.lib;RuntimeObject.lib;PhoneAppModelHost.lib;vlc.lib;vlccore.lib;d3d11.lib;dxgi.lib;d2d1.lib;dxguid.lib;runtimeobject.lib;vlc.lib;vlccore.lib;WindowsPhoneCore.lib;RuntimeObject.lib;PhoneAppModelHost.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
<AdditionalDependencies>WindowsPhoneCore.lib;RuntimeObject.lib;PhoneAppModelHost.lib;libvlc.lib;libvlccore.lib;d3d11.lib;dxgi.lib;d2d1.lib;dxguid.lib;runtimeobject.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
<AdditionalLibraryDirectories>$(SolutionDir)..vlcWindowsPhonevlc-$(Platform)$(Configuration)</AdditionalLibraryDirectories> | ||
</Link> | ||
<PostBuildEvent> | ||
... | ... | @@ -112,7 +112,7 @@ |
<Link> | ||
<SubSystem>Console</SubSystem> | ||
<IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries> | ||
<AdditionalDependencies>WindowsPhoneCore.lib;RuntimeObject.lib;PhoneAppModelHost.lib;vlc.lib;vlccore.lib;WindowsPhoneCore.lib;RuntimeObject.lib;PhoneAppModelHost.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
<AdditionalDependencies>WindowsPhoneCore.lib;RuntimeObject.lib;PhoneAppModelHost.lib;libvlc.lib;libvlccore.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
<AdditionalLibraryDirectories>$(SolutionDir)..vlcWindowsPhonevlc-$(Platform)$(Configuration)</AdditionalLibraryDirectories> | ||
</Link> | ||
<PostBuildEvent> | ||
... | ... | @@ -134,7 +134,7 @@ |
<Link> | ||
<SubSystem>Console</SubSystem> | ||
<IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries> | ||
<AdditionalDependencies>WindowsPhoneCore.lib;RuntimeObject.lib;PhoneAppModelHost.lib;vlc.lib;vlccore.lib;dxgi.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
<AdditionalDependencies>WindowsPhoneCore.lib;RuntimeObject.lib;PhoneAppModelHost.lib;libvlc.lib;libvlccore.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
<AdditionalLibraryDirectories>$(SolutionDir)..vlcWindowsPhonevlc-$(Platform)$(Configuration)</AdditionalLibraryDirectories> | ||
</Link> | ||
<PostBuildEvent> | ||
... | ... | @@ -155,7 +155,7 @@ |
<Link> | ||
<SubSystem>Console</SubSystem> | ||
<IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries> | ||
<AdditionalDependencies>WindowsPhoneCore.lib;RuntimeObject.lib;PhoneAppModelHost.lib;vlc.lib;vlccore.lib;WindowsPhoneCore.lib;RuntimeObject.lib;PhoneAppModelHost.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
<AdditionalDependencies>WindowsPhoneCore.lib;RuntimeObject.lib;PhoneAppModelHost.lib;libvlc.lib;libvlccore.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
<AdditionalLibraryDirectories>$(SolutionDir)..vlcWindowsPhonevlc-$(Platform)$(Configuration)</AdditionalLibraryDirectories> | ||
<GenerateDebugInformation>false</GenerateDebugInformation> | ||
</Link> | ||
... | ... |
... | ... | @@ -130,7 +130,7 @@ |
</ClCompile> | ||
<Link> | ||
<SubSystem>Console</SubSystem> | ||
<AdditionalDependencies>d3d11.lib;dxgi.lib;d2d1.lib;dxguid.lib;runtimeobject.lib;vlc.lib;vlccore.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
<AdditionalDependencies>d3d11.lib;dxgi.lib;d2d1.lib;dxguid.lib;runtimeobject.lib;libvlc.lib;libvlccore.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
<IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries> | ||
<AdditionalLibraryDirectories>$(SolutionDir)..vlcWindowsvlc-$(Platform)$(Configuration)</AdditionalLibraryDirectories> | ||
</Link> | ||
... | ... | @@ -152,7 +152,7 @@ |
</ClCompile> | ||
<Link> | ||
<SubSystem>Console</SubSystem> | ||
<AdditionalDependencies>d3d11.lib;dxgi.lib;d2d1.lib;dxguid.lib;runtimeobject.lib;vlc.lib;vlccore.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
<AdditionalDependencies>d3d11.lib;dxgi.lib;d2d1.lib;dxguid.lib;runtimeobject.lib;libvlc.lib;libvlccore.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
<IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries> | ||
<AdditionalLibraryDirectories>$(SolutionDir)..vlcWindowsvlc-$(Platform)$(Configuration)</AdditionalLibraryDirectories> | ||
</Link> | ||
... | ... | @@ -176,7 +176,7 @@ |
</ClCompile> | ||
<Link> | ||
<SubSystem>Console</SubSystem> | ||
<AdditionalDependencies>d3d11.lib;dxgi.lib;d2d1.lib;dxguid.lib;runtimeobject.lib;vlc.lib;vlccore.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
<AdditionalDependencies>d3d11.lib;dxgi.lib;d2d1.lib;dxguid.lib;runtimeobject.lib;libvlc.lib;libvlccore.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
<IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries> | ||
<AdditionalLibraryDirectories>$(SolutionDir)..vlcWindowsvlc-$(Platform)$(Configuration)</AdditionalLibraryDirectories> | ||
</Link> | ||
... | ... | @@ -199,7 +199,7 @@ |
</ClCompile> | ||
<Link> | ||
<SubSystem>Console</SubSystem> | ||
<AdditionalDependencies>d3d11.lib;dxgi.lib;d2d1.lib;dxguid.lib;runtimeobject.lib;vlc.lib;vlccore.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
<AdditionalDependencies>d3d11.lib;dxgi.lib;d2d1.lib;dxguid.lib;runtimeobject.lib;libvlc.lib;libvlccore.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
<IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries> | ||
<AdditionalLibraryDirectories>$(SolutionDir)..vlcWindowsvlc-$(Platform)$(Configuration)</AdditionalLibraryDirectories> | ||
<GenerateDebugInformation>false</GenerateDebugInformation> | ||
... | ... | @@ -221,7 +221,7 @@ |
</ClCompile> | ||
<Link> | ||
<SubSystem>Console</SubSystem> | ||
<AdditionalDependencies>d3d11.lib;dxgi.lib;d2d1.lib;dxguid.lib;runtimeobject.lib;vlc.lib;vlccore.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
<AdditionalDependencies>d3d11.lib;dxgi.lib;d2d1.lib;dxguid.lib;runtimeobject.lib;libvlc.lib;libvlccore.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
<IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries> | ||
<AdditionalLibraryDirectories>$(SolutionDir)..vlcWindowsvlc-$(Platform)$(Configuration)</AdditionalLibraryDirectories> | ||
</Link> | ||
... | ... | @@ -243,7 +243,7 @@ |
</ClCompile> | ||
<Link> | ||
<SubSystem>Console</SubSystem> | ||
<AdditionalDependencies>d3d11.lib;dxgi.lib;d2d1.lib;dxguid.lib;runtimeobject.lib;vlc.lib;vlccore.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
<AdditionalDependencies>d3d11.lib;dxgi.lib;d2d1.lib;dxguid.lib;runtimeobject.lib;libvlc.lib;libvlccore.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
<IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries> | ||
<AdditionalLibraryDirectories>$(SolutionDir)..vlcWindowsvlc-$(Platform)$(Configuration)</AdditionalLibraryDirectories> | ||
</Link> | ||
... | ... |
Vlc Libvlc.dll Download
... | ... | @@ -384,9 +384,6 @@ |
<ContentInclude='......vlcWindowsvlc-$(Platform)$(Configuration)pluginscodeclibddummy_plugin.dll'> | ||
<Link>pluginscodeclibddummy_plugin.dll</Link> | ||
</Content> | ||
<ContentInclude='......vlcWindowsvlc-$(Platform)$(Configuration)pluginscodeclibdmo_plugin.dll'> | ||
<Link>pluginscodeclibdmo_plugin.dll</Link> | ||
</Content> | ||
<ContentInclude='......vlcWindowsvlc-$(Platform)$(Configuration)pluginscodeclibdts_plugin.dll'> | ||
<Link>pluginscodeclibdts_plugin.dll</Link> | ||
</Content> | ||
... | ... | @@ -402,9 +399,6 @@ |
<ContentInclude='......vlcWindowsvlc-$(Platform)$(Configuration)pluginscodecliblpcm_plugin.dll'> | ||
<Link>pluginscodecliblpcm_plugin.dll</Link> | ||
</Content> | ||
<ContentInclude='......vlcWindowsvlc-$(Platform)$(Configuration)pluginscodeclibmft_plugin.dll'> | ||
<Link>pluginscodeclibmft_plugin.dll</Link> | ||
</Content> | ||
<ContentInclude='......vlcWindowsvlc-$(Platform)$(Configuration)pluginscodeclibmpeg_audio_plugin.dll'> | ||
<Link>pluginscodeclibmpeg_audio_plugin.dll</Link> | ||
</Content> | ||
... | ... | @@ -840,14 +834,6 @@ |
<ContentInclude='......vlcWindowsvlc-$(Platform)$(Configuration)pluginsvisualizationlibvisual_plugin.dll'> | ||
<Link>pluginsvisualizationlibvisual_plugin.dll</Link> | ||
</Content> | ||
<ContentInclude='......vlcWindowsvlc-$(Platform)$(Configuration)vlc.dll'> | ||
<Link>vlc.dll</Link> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
</Content> | ||
<ContentInclude='......vlcWindowsvlc-$(Platform)$(Configuration)vlccore.dll'> | ||
<Link>vlccore.dll</Link> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
</Content> | ||
<ContentInclude='......vlcWindowsvlc-$(Platform)$(Configuration)pluginsaccesslibaccess_winrt_plugin.dll'> | ||
<Link>pluginsaccesslibaccess_winrt_plugin.dll</Link> | ||
</Content> | ||
... | ... | @@ -860,6 +846,12 @@ |
<ContentInclude='......vlcWindowsvlc-$(Platform)$(Configuration)pluginsvideo_outputlibdirect2d_winrt_plugin.dll'> | ||
<Link>pluginsvideo_outputlibdirect2d_winrt_plugin.dll</Link> | ||
</Content> | ||
<ContentInclude='......vlcWindowsvlc-$(Platform)$(Configuration)libvlc.dll'> | ||
<Link>libvlc.dll</Link> | ||
</Content> | ||
<ContentInclude='......vlcWindowsvlc-$(Platform)$(Configuration)libvlccore.dll'> | ||
<Link>libvlccore.dll</Link> | ||
</Content> | ||
<ContentInclude='AssetsBadgeLogo.scale-100.png'/> | ||
<ContentInclude='AssetsBadgeLogo.scale-140.png'/> | ||
<ContentInclude='AssetsLogo.scale-100.png'/> | ||
... | ... |
... | ... | @@ -168,12 +168,12 @@ |
</AppxManifest> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<ContentInclude='......vlcWindowsPhonevlc-$(Platform)$(Configuration)vlc.dll'> | ||
<Link>vlc.dll</Link> | ||
<ContentInclude='......vlcWindowsPhonevlc-$(Platform)$(Configuration)libvlc.dll'> | ||
<Link>libvlc.dll</Link> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
</Content> | ||
<ContentInclude='......vlcWindowsPhonevlc-$(Platform)$(Configuration)vlccore.dll'> | ||
<Link>vlccore.dll</Link> | ||
<ContentInclude='......vlcWindowsPhonevlc-$(Platform)$(Configuration)libvlccore.dll'> | ||
<Link>libvlccore.dll</Link> | ||
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> | ||
</Content> | ||
<ContentInclude='......vlcWindowsPhonevlc-$(Platform)$(Configuration)pluginsaccesslibaccess_bd_plugin.dll'> | ||
... | ... |
... | ... | @@ -88,7 +88,7 @@ |
<SubSystem>Console</SubSystem> | ||
<IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries> | ||
<AdditionalLibraryDirectories>$(SolutionDir)..vlcWindowsPhonevlc-$(Platform)$(Configuration)</AdditionalLibraryDirectories> | ||
<AdditionalDependencies>runtimeobject.lib;d3d11.lib;d2d1.lib;vlc.lib;MMDevAPI.lib;runtimeobject.lib;vlc.lib;d3d11.lib;d2d1.lib;dxgi.lib;MMDevAPI.lib;MFuuid.lib;MFReadWrite.lib;MFplat.lib;uuid.lib;WindowsCodecs.lib;WindowsPhoneCore.lib;PhoneAppModelHost.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
<AdditionalDependencies>runtimeobject.lib;d3d11.lib;d2d1.lib;libvlc.lib;MMDevAPI.lib;runtimeobject.lib;libvlc.lib;d3d11.lib;d2d1.lib;dxgi.lib;MMDevAPI.lib;MFuuid.lib;MFReadWrite.lib;MFplat.lib;uuid.lib;WindowsCodecs.lib;WindowsPhoneCore.lib;PhoneAppModelHost.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
</Link> | ||
</ItemDefinitionGroup> | ||
<ItemDefinitionGroupCondition='$(Configuration)|$(Platform)'Release|Win32'> | ||
... | ... | @@ -106,7 +106,7 @@ |
<Link> | ||
<SubSystem>Console</SubSystem> | ||
<IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries> | ||
<AdditionalDependencies>runtimeobject.lib;d3d11.lib;d2d1.lib;vlc.lib;MMDevAPI.lib;WindowsPhoneCore.lib;RuntimeObject.lib;PhoneAppModelHost.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
<AdditionalDependencies>runtimeobject.lib;d3d11.lib;d2d1.lib;libvlc.lib;MMDevAPI.lib;WindowsPhoneCore.lib;RuntimeObject.lib;PhoneAppModelHost.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
<AdditionalLibraryDirectories>$(SolutionDir)..vlcWindowsPhonevlc-$(Platform)$(Configuration)</AdditionalLibraryDirectories> | ||
</Link> | ||
</ItemDefinitionGroup> | ||
... | ... | @@ -124,7 +124,7 @@ |
<Link> | ||
<SubSystem>Console</SubSystem> | ||
<IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries> | ||
<AdditionalDependencies>runtimeobject.lib;d3d11.lib;d2d1.lib;vlc.lib;MMDevAPI.lib;WindowsPhoneCore.lib;RuntimeObject.lib;PhoneAppModelHost.lib;vlc.lib;d3d11.lib;d2d1.lib;MMDevAPI.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
<AdditionalDependencies>d3d11.lib;d2d1.lib;libvlc.lib;MMDevAPI.lib;WindowsPhoneCore.lib;RuntimeObject.lib;PhoneAppModelHost.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
<AdditionalLibraryDirectories>$(SolutionDir)..vlcWindowsPhonevlc-$(Platform)$(Configuration)</AdditionalLibraryDirectories> | ||
</Link> | ||
</ItemDefinitionGroup> | ||
... | ... | @@ -144,7 +144,7 @@ |
<Link> | ||
<SubSystem>Console</SubSystem> | ||
<IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries> | ||
<AdditionalDependencies>runtimeobject.lib;d3d11.lib;d2d1.lib;vlc.lib;MMDevAPI.lib;WindowsPhoneCore.lib;RuntimeObject.lib;PhoneAppModelHost.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
<AdditionalDependencies>runtimeobject.lib;d3d11.lib;d2d1.lib;libvlc.lib;MMDevAPI.lib;WindowsPhoneCore.lib;RuntimeObject.lib;PhoneAppModelHost.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
<AdditionalLibraryDirectories>$(SolutionDir)..vlcWindowsPhonevlc-$(Platform)$(Configuration)</AdditionalLibraryDirectories> | ||
<GenerateDebugInformation>false</GenerateDebugInformation> | ||
</Link> | ||
... | ... |
... | ... | @@ -123,7 +123,7 @@ |
</ClCompile> | ||
<Link> | ||
<SubSystem>Windows</SubSystem> | ||
<AdditionalDependencies>runtimeobject.lib;d3d11.lib;d2d1.lib;vlc.lib;MMDevAPI.lib;synchronization.lib;dxgi.lib;MMDevAPI.lib;MFuuid.lib;MFReadWrite.lib;MFplat.lib;uuid.lib;WindowsCodecs.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
<AdditionalDependencies>runtimeobject.lib;d3d11.lib;d2d1.lib;libvlc.lib;MMDevAPI.lib;synchronization.lib;dxgi.lib;MMDevAPI.lib;MFuuid.lib;MFReadWrite.lib;MFplat.lib;uuid.lib;WindowsCodecs.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
<IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries> | ||
<AdditionalLibraryDirectories>$(SolutionDir)..vlcWindowsvlc-$(Platform)$(Configuration)</AdditionalLibraryDirectories> | ||
</Link> | ||
... | ... | @@ -162,7 +162,7 @@ |
</ClCompile> | ||
<Link> | ||
<SubSystem>Console</SubSystem> | ||
<AdditionalDependencies>runtimeobject.lib;d3d11.lib;d2d1.lib;vlc.lib;MMDevAPI.lib;synchronization.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
<AdditionalDependencies>runtimeobject.lib;d3d11.lib;d2d1.lib;libvlc.lib;MMDevAPI.lib;synchronization.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
<IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries> | ||
<AdditionalLibraryDirectories>$(SolutionDir)..vlcWindowsvlc-$(Platform)$(Configuration)</AdditionalLibraryDirectories> | ||
</Link> | ||
... | ... | @@ -181,7 +181,7 @@ |
</ClCompile> | ||
<Link> | ||
<SubSystem>Console</SubSystem> | ||
<AdditionalDependencies>runtimeobject.lib;d3d11.lib;d2d1.lib;vlc.lib;MMDevAPI.lib;synchronization.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
<AdditionalDependencies>runtimeobject.lib;d3d11.lib;d2d1.lib;libvlc.lib;MMDevAPI.lib;synchronization.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
<IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries> | ||
<AdditionalLibraryDirectories>$(SolutionDir)..vlcWindowsvlc-$(Platform)$(Configuration)</AdditionalLibraryDirectories> | ||
<GenerateDebugInformation>false</GenerateDebugInformation> | ||
... | ... | @@ -199,7 +199,7 @@ |
</ClCompile> | ||
<Link> | ||
<SubSystem>Console</SubSystem> | ||
<AdditionalDependencies>runtimeobject.lib;d3d11.lib;d2d1.lib;vlc.lib;MMDevAPI.lib;synchronization.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
<AdditionalDependencies>runtimeobject.lib;d3d11.lib;d2d1.lib;libvlc.lib;MMDevAPI.lib;synchronization.lib;%(AdditionalDependencies)</AdditionalDependencies> | ||
<IgnoreAllDefaultLibraries>false</IgnoreAllDefaultLibraries> | ||
<AdditionalLibraryDirectories>$(SolutionDir)..vlcWindowsvlc-$(Platform)$(Configuration)</AdditionalLibraryDirectories> | ||
</Link> | ||
... | ... |
For the demo, you need to download the actual VLC package and copy the plug-ins in the corresponding directory of the demo. You will also need to have libvlc.dll and libvlccore.dll in your path.
- Download source [VLC API 2.0.0 required!] - 248.88 KB
This package includes projects for Visual Studio 6 and Visual Studio 2010. The source package also includes the VLC headers and the libs for linking. You can find the libs on the videolan site in special ZIP files intended for developers. They are bigger (~36MB) than the normal ZIPs on the download page.
Introduction
This article presents a little C++-wrapper for the libvlc
-library, which is the core component of the VLC media player. I was looking for an easy way to integrate video playback in my C++ applications. Because I've been using VLC for media playback for many years now, I started playing around with the VLC API. The result is a little wrapper around the libvlc-library. It provides basic media playback functionality. Since v.2.0 the libvlc
-library is released under the LGPL, so you can use it in commercial applications. All sourcecode in this arcticle is licensed under the CPOL. Please excuse any bugs because this wrapper is more a quick hack than a feature complete wrapper. ;)
For testing purposes, I wrote a simple media player which uses the VLCWrapper
. It's included in the example above.
Background
The most valuable source of information about the VLC API for me was the developer section on the VLC website and the documented C-headers of the VLC source. The project website is a good starting point if you plan to code something with VLC or extend the VLCWrapper
.
The C++-Interface of VLCWrapper to LIBVLC
The interface declared in 'VLCWrapper.h' is small and the member functions are quite self-explanatory. To get a good overlook, I stripped of the comments. Check out the sources for more information.
Using the Code
Using the VLCWrapper
is easy. The first step would be to add a new VLCWraper
as a member of your window class and a CStatic
for video output:
Now we can initialize the VLCWrapper
in OnInitDialog()
:
The handler function for VLC events:
Now everything is in place, and you can start playing media files. E.g., the 'Load
' and 'Play
' members look like this:
Dll Download Windows 10
Libvlc.dll Download 64-bit
History
Download Dll Files Windows 7
- 03/12/2012
- Updated the project to use the VLC API 2.0.0.
- Changed license to CPOL.
- 09/20/2011
- Added project files for Visual Studio 2010.
- 09/11/2010
- Some bugfixes and optimizations, thanks to heretic13!
- Build the demo with VLC 1.1.4.
- Removed demo & source links to old
VLCDialog
versions which required VLC < 1.1. - 05/29/2010
- Updated the project to use the VLC API 1.1
- The wrapper now uses an
auto_ptr
for its Pimpl. I missed deleting the Pimpl in the first versions - Fixed a redraw error
- Thanks to Haim Engler for the hint on the memory leak and the redraw problem!
- 08/20/2009
- Pimped
VlcDialog
(Resizing, Icon-Buttons) - Striped off dependency to 'StdAfx.h' in
class VLCWrapper
andclass VLCWrapperImpl
- Replaced a deprecated function call to
libvlc
; nowSetOutputWindow(void*)
takes avoid
pointer to a window handle - 08/14/2009
- Some fixes in the example listings
- 08/11/2009
- Initial release