LibVLCSharp.WPF 3.8.5

Prefix Reserved
dotnet add package LibVLCSharp.WPF --version 3.8.5                
NuGet\Install-Package LibVLCSharp.WPF -Version 3.8.5                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="LibVLCSharp.WPF" Version="3.8.5" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LibVLCSharp.WPF --version 3.8.5                
#r "nuget: LibVLCSharp.WPF, 3.8.5"                
#r directive can be used in F# Interactive and Polyglot Notebooks. 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.8.5

// Install LibVLCSharp.WPF as a Cake Tool
#tool nuget:?package=LibVLCSharp.WPF&version=3.8.5                

LibVLCSharp.WPF

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:

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

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

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

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

WPF transforms support and limitations

Applying layout and render transforms to the VideoView or one of its ancestors is partially supported by LibVLCSharp.WPF:

Translate transforms and uniform scale transforms are fully supported and correctly applied to the video and the overlay content. Using a Viewbox with a uniform stretch is also fully supported, as it is analogous to a uniform scale transform.

Non-uniform scale transforms and negative scale factors (mirroring) have a limited support. That also applies to using a Viewbox with a non-uniform stretch.

Other transforms (rotate, skew, ...) are currently not supported.

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.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net6.0-windows7.0 is compatible.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.1 is compatible. 
.NET Framework net461 is compatible.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

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

Package Downloads
LibVLCSharp.Forms.WPF

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.

SmilesInc.Shared.Video

Package Description

GitHub repositories (2)

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

Repository Stars
CHKZL/DDTV
可对阿B进行直播多窗口观看、开播提醒、自动录制、合并、转码的跨平台工具
ME3Tweaks/LegendaryExplorer
Editor toolset for Mass Effect Trilogy and Mass Effect Legendary Edition
Version Downloads Last updated
3.8.5 3,577 5/23/2024
3.8.4 530 5/15/2024
3.8.3 186 5/13/2024
3.8.2 10,110 11/7/2023
3.8.1 8,580 10/17/2023
3.8.0 1,277 9/26/2023
3.7.0 8,854 4/4/2023
3.6.8 12,680 3/15/2023
3.6.7 9,054 10/3/2022
3.6.6 14,747 3/23/2022
3.6.5 3,510 12/28/2021
3.6.4 854 12/14/2021
3.6.3 472 12/8/2021
3.6.2 720 12/6/2021
3.6.1 3,353 9/28/2021
3.6.0 2,791 8/11/2021
3.5.1 5,119 6/8/2021
3.5.0 4,148 3/29/2021
3.4.9 11,499 11/12/2020
3.4.8 3,189 9/16/2020
3.4.7 1,160 8/12/2020
3.4.6 1,721 7/9/2020
3.4.5 1,865 5/7/2020
3.4.4 890 4/22/2020
3.4.3 1,257 3/5/2020
3.4.2 1,387 1/21/2020
3.4.1 851 12/26/2019
3.4.0 772 12/11/2019
3.3.1 1,185 10/30/2019
3.3.0 619 10/24/2019
3.2.5 613 10/21/2019
3.2.4 591 10/13/2019
3.2.3 889 9/24/2019
3.2.2 627 9/23/2019
3.2.1 1,251 8/26/2019
3.2.0 699 8/13/2019
3.1.1 625 8/9/2019
3.1.0 867 7/11/2019
3.0.3 828 6/20/2019
3.0.2 721 6/12/2019
3.0.1 681 6/4/2019
3.0.0 1,085 5/13/2019
0.8.1 805 4/16/2019
0.8.0 660 4/9/2019
0.7.0 921 4/1/2019
0.6.0 695 3/25/2019
0.3.0 1,197 1/21/2019
0.0.3 973 1/7/2019
0.0.2 757 12/12/2018
0.0.1 944 11/14/2018
0.0.1-alpha2 590 10/29/2018
0.0.1-alpha1 812 7/31/2018
0.0.1-alpha 702 7/19/2018