LibVLCSharp.WPF 3.9.1

Prefix Reserved
dotnet add package LibVLCSharp.WPF --version 3.9.1                
NuGet\Install-Package LibVLCSharp.WPF -Version 3.9.1                
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.9.1" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add LibVLCSharp.WPF --version 3.9.1                
#r "nuget: LibVLCSharp.WPF, 3.9.1"                
#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.9.1

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

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 (4)

Showing the top 4 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

Hive1.DotNet.Wpf.Base

Package Description

Robot.Wpf.Base

Package Description

GitHub repositories (3)

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

Repository Stars
CHKZL/DDTV
可对阿B进行直播多窗口观看、开播提醒、自动录制、合并、转码的跨平台工具
K12f/BlueCatKoKo
蓝猫KoKo下载器(BlueCatKoKo)是一个免登录,简单易用的桌面端抖音视频下载工具,具有简洁的界面,流畅的操作逻辑。可以下载几乎所有的视频,并输出mp4格式的文件。
ME3Tweaks/LegendaryExplorer
Editor toolset for Mass Effect Trilogy and Mass Effect Legendary Edition
Version Downloads Last updated
3.9.1 686 11/13/2024
3.9.0 7,775 8/13/2024
3.8.5 7,702 5/23/2024
3.8.4 984 5/15/2024
3.8.3 220 5/13/2024
3.8.2 12,742 11/7/2023
3.8.1 11,368 10/17/2023
3.8.0 1,372 9/26/2023
3.7.0 9,286 4/4/2023
3.6.8 15,402 3/15/2023
3.6.7 9,309 10/3/2022
3.6.6 15,131 3/23/2022
3.6.5 3,618 12/28/2021
3.6.4 884 12/14/2021
3.6.3 501 12/8/2021
3.6.2 751 12/6/2021
3.6.1 3,493 9/28/2021
3.6.0 2,882 8/11/2021
3.5.1 5,372 6/8/2021
3.5.0 4,194 3/29/2021
3.4.9 11,974 11/12/2020
3.4.8 3,218 9/16/2020
3.4.7 1,200 8/12/2020
3.4.6 1,763 7/9/2020
3.4.5 2,012 5/7/2020
3.4.4 918 4/22/2020
3.4.3 1,294 3/5/2020
3.4.2 1,422 1/21/2020
3.4.1 882 12/26/2019
3.4.0 803 12/11/2019
3.3.1 1,217 10/30/2019
3.3.0 653 10/24/2019
3.2.5 644 10/21/2019
3.2.4 616 10/13/2019
3.2.3 914 9/24/2019
3.2.2 657 9/23/2019
3.2.1 1,276 8/26/2019
3.2.0 726 8/13/2019
3.1.1 676 8/9/2019
3.1.0 895 7/11/2019
3.0.3 852 6/20/2019
3.0.2 750 6/12/2019
3.0.1 708 6/4/2019
3.0.0 1,126 5/13/2019
0.8.1 840 4/16/2019
0.8.0 688 4/9/2019
0.7.0 947 4/1/2019
0.6.0 735 3/25/2019
0.3.0 1,233 1/21/2019
0.0.3 1,006 1/7/2019
0.0.2 791 12/12/2018
0.0.1 993 11/14/2018
0.0.1-alpha2 629 10/29/2018
0.0.1-alpha1 846 7/31/2018
0.0.1-alpha 732 7/19/2018