Skip to content

A utility script for building a VLC redistribution NuGet package.

License

Notifications You must be signed in to change notification settings

awesome-inc/VLC.Native

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VLC.Native

NuGet NuGet

A utility script for building a VLC redistribution NuGet package.

Build

On the command line, type

build.bat [version=3.0.8]

where version defaults to 3.0.8 and refers to the VCL version you want to package. The script then downloads, unzips and packages the VLC distribution from the official VLC download site.

Prerequisites

You should have the following tools on the command line

Example Usage with C#

Installing the package using

Install-Package VLC.Native

adds the file VlcConfiguration.cs to your project.

NOTE: The VLC dependency package is quite big (~320MB, 166 MB each for x86/x64), so when using VLC.Native together with Continuous Testing Tools (e.g. NCrunch) you may consider disabling the large footprint of the native VLC dependencies by setting

<PropertyGroup>
  <!-- set to anything different than '', e.g. 1 -->
  <DisableVlcNative>$(NCrunch)</DisableVlcNative>
</PropertyGroup>

Here we used NCrunch-specific build properties but any value other than '' will cause VLC.Native to skip including the native dependencies as content to your build, c.f.

Where to go from here

Have a look at

  • nVLC, one of the few good managed wrappers for VLC
  • hello.nVLC, a minimal WPF player application

About

A utility script for building a VLC redistribution NuGet package.

Resources

License

Stars

Watchers

Forks

Packages

No packages published