LibVLCSharp.WPF 3.6.1 Prefix Reserved

Install-Package LibVLCSharp.WPF -Version 3.6.1
dotnet add package LibVLCSharp.WPF --version 3.6.1
<PackageReference Include="LibVLCSharp.WPF" Version="3.6.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LibVLCSharp.WPF --version 3.6.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: LibVLCSharp.WPF, 3.6.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install LibVLCSharp.WPF as a Cake Addin
#addin nuget:?package=LibVLCSharp.WPF&version=3.6.1

// Install LibVLCSharp.WPF as a Cake Tool
#tool nuget:?package=LibVLCSharp.WPF&version=3.6.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.


NuGet Stats NuGet Stats

LibVLCSharp.WPF is the WPF integration for LibVLCSharp.

It contains the views that allow to display a video played with LibVLCSharp in a WPF app.

LibVLCSharp.Forms.Platforms.WPF depends on this package.

This package depends on LibVLCSharp.

Supported frameworks:

  • net461+
  • netcoreapp3.0

Supported platform:

  • Windows

Airspace limitations

If you encounter UI issues with the WPF VideoView in your application, you may be running into what is called airspace limitations.

For context and explanations of the tradeoffs, see this PR. Issues related to airspace are tracked on our GitLab with the airspace tag.

WPF control specific stuffs

Due to the Airspace issue, you cannot easily draw things over the video in WPF, unless you have a hack like the one that is included in this project. This hack means that the WPF control works a little differently than other platform's.

If you want to place something over the control, you would probably write code like this in other platforms:

    <vlc:VideoView x:Name="VideoView" />
    <Button Click="Play_Clicked">PLAY</Button>

But for WPF, you would rather need something like this:

    <vlc:VideoView x:Name="VideoView">
        <Button Click="Play_Clicked">PLAY</Button>

The VideoView appears as a container in your XAML (you can set its Content property from code too), but it is really a detached window over your video control.

The DataContext of the VideoView is propagated to your overlay content. This means you can inherit the DataContext environment from the outside of your VideoView

Note : This behavior is specific to the LibVLCSharp WPF implementation and is not (yet?) available to LibVLCSharp.Forms.Platforms.WPF

Why should I reference this package in my project?

If you want to create a video application using WPF and any supported .NET language, this package is made for you.

You can also create a true cross-platform application with Xamarin.Forms, and use the WPF backend. In that case, you would need the LibVLCSharp.Forms.Platforms.WPF package instead, which internally references this one.

For other platforms, see the main documentation.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on LibVLCSharp.WPF:

Package Downloads

LibVLCSharp is a cross-platform audio and video API for .NET platforms based on VideoLAN's LibVLC Library. It provides a comprehensive multimedia API that can be used across mobile, server and desktop to render video and output audio. Mono, .NET Framework and .NET Core runtimes are supported. LibVLCSharp.Forms.WPF contains the Xamarin.Forms support for LibVLCSharp through custom renderers on the WPF platform. It depends on LibVLCSharp.Forms and LibVLCSharp.WPF. Xamarin.Forms support for other platforms are in different packages (namely LibVLCSharp.Forms and LibVLCSharp.Forms.GTK). LibVLC needs to be installed separately, see VideoLAN.LibVLC.* packages.

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on LibVLCSharp.WPF:

Repository Stars
Free and open-source software that allows users to set animated desktop wallpapers and screensavers.
Version Downloads Last updated
3.6.1 1,368 9/28/2021
3.6.0 1,078 8/11/2021
3.5.1 2,342 6/8/2021
3.5.0 2,529 3/29/2021
3.4.9 5,331 11/12/2020
3.4.8 2,527 9/16/2020
3.4.7 846 8/12/2020
3.4.6 1,045 7/9/2020
3.4.5 1,375 5/7/2020
3.4.4 619 4/22/2020
3.4.3 831 3/5/2020
3.4.2 1,024 1/21/2020
3.4.1 581 12/26/2019
3.4.0 499 12/11/2019
3.3.1 893 10/30/2019
3.3.0 360 10/24/2019
3.2.5 360 10/21/2019
3.2.4 356 10/13/2019
3.2.3 558 9/24/2019
3.2.2 370 9/23/2019
3.2.1 870 8/26/2019
3.2.0 431 8/13/2019
3.1.1 377 8/9/2019
3.1.0 578 7/11/2019
3.0.3 552 6/20/2019
3.0.2 426 6/12/2019
3.0.1 397 6/4/2019
3.0.0 755 5/13/2019
0.8.1 506 4/16/2019
0.8.0 406 4/9/2019
0.7.0 642 4/1/2019
0.6.0 410 3/25/2019
0.3.0 887 1/21/2019
0.0.3 667 1/7/2019
0.0.2 498 12/12/2018
0.0.1 600 11/14/2018
0.0.1-alpha2 430 10/29/2018
0.0.1-alpha1 602 7/31/2018
0.0.1-alpha 498 7/19/2018