LibVLCSharp.WPF
3.9.0
Prefix Reserved
dotnet add package LibVLCSharp.WPF --version 3.9.0
NuGet\Install-Package LibVLCSharp.WPF -Version 3.9.0
<PackageReference Include="LibVLCSharp.WPF" Version="3.9.0" />
paket add LibVLCSharp.WPF --version 3.9.0
#r "nuget: LibVLCSharp.WPF, 3.9.0"
// Install LibVLCSharp.WPF as a Cake Addin #addin nuget:?package=LibVLCSharp.WPF&version=3.9.0 // Install LibVLCSharp.WPF as a Cake Tool #tool nuget:?package=LibVLCSharp.WPF&version=3.9.0
LibVLCSharp.WPF
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 | Versions 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. |
-
.NETCoreApp 3.1
- LibVLCSharp (>= 3.9.0)
-
.NETFramework 4.6.1
- LibVLCSharp (>= 3.9.0)
-
net6.0-windows7.0
- LibVLCSharp (>= 3.9.0)
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.0 | 6,947 | 8/13/2024 |
3.8.5 | 7,451 | 5/23/2024 |
3.8.4 | 960 | 5/15/2024 |
3.8.3 | 215 | 5/13/2024 |
3.8.2 | 12,457 | 11/7/2023 |
3.8.1 | 11,080 | 10/17/2023 |
3.8.0 | 1,358 | 9/26/2023 |
3.7.0 | 9,248 | 4/4/2023 |
3.6.8 | 15,129 | 3/15/2023 |
3.6.7 | 9,293 | 10/3/2022 |
3.6.6 | 15,109 | 3/23/2022 |
3.6.5 | 3,613 | 12/28/2021 |
3.6.4 | 882 | 12/14/2021 |
3.6.3 | 499 | 12/8/2021 |
3.6.2 | 749 | 12/6/2021 |
3.6.1 | 3,481 | 9/28/2021 |
3.6.0 | 2,872 | 8/11/2021 |
3.5.1 | 5,357 | 6/8/2021 |
3.5.0 | 4,190 | 3/29/2021 |
3.4.9 | 11,963 | 11/12/2020 |
3.4.8 | 3,215 | 9/16/2020 |
3.4.7 | 1,195 | 8/12/2020 |
3.4.6 | 1,759 | 7/9/2020 |
3.4.5 | 1,991 | 5/7/2020 |
3.4.4 | 916 | 4/22/2020 |
3.4.3 | 1,289 | 3/5/2020 |
3.4.2 | 1,420 | 1/21/2020 |
3.4.1 | 880 | 12/26/2019 |
3.4.0 | 801 | 12/11/2019 |
3.3.1 | 1,215 | 10/30/2019 |
3.3.0 | 651 | 10/24/2019 |
3.2.5 | 642 | 10/21/2019 |
3.2.4 | 614 | 10/13/2019 |
3.2.3 | 912 | 9/24/2019 |
3.2.2 | 655 | 9/23/2019 |
3.2.1 | 1,274 | 8/26/2019 |
3.2.0 | 724 | 8/13/2019 |
3.1.1 | 673 | 8/9/2019 |
3.1.0 | 892 | 7/11/2019 |
3.0.3 | 850 | 6/20/2019 |
3.0.2 | 747 | 6/12/2019 |
3.0.1 | 706 | 6/4/2019 |
3.0.0 | 1,123 | 5/13/2019 |
0.8.1 | 838 | 4/16/2019 |
0.8.0 | 686 | 4/9/2019 |
0.7.0 | 945 | 4/1/2019 |
0.6.0 | 733 | 3/25/2019 |
0.3.0 | 1,231 | 1/21/2019 |
0.0.3 | 1,004 | 1/7/2019 |
0.0.2 | 787 | 12/12/2018 |
0.0.1 | 981 | 11/14/2018 |
0.0.1-alpha2 | 623 | 10/29/2018 |
0.0.1-alpha1 | 840 | 7/31/2018 |
0.0.1-alpha | 728 | 7/19/2018 |