Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
L

libvlcsharp

> 编程语言
Open source

Cross-platform .NET/Mono bindings for LibVLC

1.8K stars0 likes2 views
WebsiteGitHub

About

Cross-platform .NET/Mono bindings for LibVLC

LibVLCSharp

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 as well as encode and stream.

The official repository URL for this repo is https://code.videolan.org/videolan/LibVLCSharp.

  • Features
    • MediaPlayerElement
  • Supported platforms
  • Installation
    • Preview builds
  • Getting started
  • Documentation
  • Ebook
  • Migrating from Vlc.DotNet
  • Samples
  • Quick API overview
  • Roadmap
  • Versioning
  • Release Notes
  • Contribute
    • Pull request
    • Gitlab issues
  • Questions and Support
    • Bug trackers
    • Discord
    • StackOverflow
    • Commercial Support
  • Code of Conduct
  • Licenses

Features

Check out libvlc-nuget to get a basic understanding of how libvlc works, what it can offer and how to install it with NuGet.

Some of the features include:

  • Play every media file formats, every codec and every streaming protocols
  • Run on every platform, from desktop (Windows, Linux, Mac) to mobile (Android, iOS) and TVs
  • Hardware and efficient decoding on every platform, up to 8K
  • Network browsing for distant filesystems (SMB, FTP, SFTP, NFS...) and servers (UPnP, DLNA)
  • Playback of Audio CD, DVD and Bluray with menu navigation
  • Support for HDR, including tonemapping for SDR streams
  • Audio passthrough with SPDIF and HDMI, including for Audio HD codecs, like DD+, TrueHD or DTS-HD
  • Support for video and audio filters
  • Support for 360 video and 3D audio playback, including Ambisonics
  • Able to cast and stream to distant renderers, like Chromecast and UPnP renderers.

Most things you can achieve with the regular VLC desktop app, you can also achieve using libvlc.

MediaPlayerElement

Full featured video control for Xamarin.Forms available in LibVLCSharp.Forms (iOS/Android) and Uno platform (iOS/Android/UWP).

Supported platforms

Mono, .NET Framework and .NET Core runtimes are supported.

  • Xamarin.Android
  • Xamarin.iOS
  • Xamarin.tvOS
  • Xamarin.Mac (Cocoa)
  • Windows Classic (WPF, WinForms, GTK)
  • Windows Universal (UWP for Desktop, mobile and Xbox)
  • Linux including desktop, server and Raspberry Pi (GTK)
  • Xamarin.Forms
  • MAUI
  • Uno Platform 5 (WinUI, Android, iOS)
  • Avalonia (Windows, macOS, Linux)
  • .NET Standard 1.1 and 2.0
  • .NET Framework 4.0 and later
  • .NET Core (including ASP.NET Core)
  • Unity3D
    • Windows Classic
    • Android
    • UWP
    • iOS
    • macOS

Installation

  1. Install LibVLC in your platform specific project.

LibVLC is the actual VLC engine written mostly in C/C++ and compiled for your target platform. More information here.

Platform LibVLC Package NuGet Minimum OS Version
Windows VideoLAN.LibVLC.Windows LibVLCWindowsBadge Windows XP
UWP VideoLAN.LibVLC.UWP LibVLCWin10Badge Windows 10
Mac VideoLAN.LibVLC.Mac LibVLCMacBadge macOS 10.7
Android VideoLAN.LibVLC.Android LibVLCAndroidBadge Android 2.3
iOS VideoLAN.LibVLC.iOS LibVLCiOSBadge iOS 8.4
tvOS VideoLAN.LibVLC.tvOS LibVLCtvOSBadge tvOS 10.2
Linux Linux guide N/A N/A
cmd
dotnet add package VideoLAN.LibVLC.[Windows|UWP|Android|iOS|Mac|tvOS]
  1. Install LibVLCSharp or LibVLCSharp.Forms (if you plan on using Xamarin.Forms)

LibVLCSharp is the .NET wrapper that consumes LibVLC and allows you to interact with native code from C#/F#.

Platform LibVLCSharp Package NuGet
.NET Standard LibVLCSharp LibVLCSharpBadge
Xamarin.Android LibVLCSharp LibVLCSharpBadge
Xamarin.iOS LibVLCSharp LibVLCSharpBadge
Xamarin.tvOS LibVLCSharp LibVLCSharpBadge
Xamarin.Mac LibVLCSharp LibVLCSharpBadge
UWP LibVLCSharp.UWP LibVLCSharpUWPBadge
WinUI LibVLCSharp.WinUI LibVLCSharpWinUIBadge
Xamarin.Forms LibVLCSharp.Forms LibVLCSharpFormsBadge
MAUI LibVLCSharp.MAUI LibVLCSharpMAUIBadge
WPF LibVLCSharp.WPF LibVLCSharpWPFBadge
Xamarin.Forms.WPF LibVLCSharp.Forms.WPF LibVLCSharpFormsWPFBadge
GTK LibVLCSharp.GTK LibVLCSharpGTKBadge
Xamarin.Forms.GTK LibVLCSharp.Forms.GTK LibVLCSharpFormsGTKBadge
Windows Forms LibVLCSharp.WinForms LibVLCSharpWinFormsBadge
Uno Platform LibVLCSharp.Uno LibVLCSharpUnoBadge
Avalonia LibVLCSharp.Avalonia LibVLCSharpAvaloniaBadge
Eto.Forms LibVLCSharp.Eto LibVLCSharpEtoBadge
Unity3D - Windows VLC for Unity (Windows) VLCUnityBadge
Unity3D - UWP VLC for Unity (UWP) VLCUnityBadge
Unity3D - Android VLC for Unity (Android) VLCUnityBadge
Unity3D - iOS VLC for Unity (iOS) VLCUnityBadge
Unity3D - macOS VLC for Unity (macOS) VLCUnityBadge
Unity3D - Linux VLC for Unity (Linux) VLCUnityBadge

Pre-release versions

LibVLCSharp 4 preview and LibVLC 4 nightly builds are distributed using https://feedz.io/ for now. To pull pre-release versions into your project, use the following NuGet.config file:

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <packageSources>
    <add key="videolan-preview" value="https://f.feedz.io/videolan/preview/nuget/index.json" />
  </packageSources>
</configuration>

See the docs for preview builds installation details.

Get

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

C#dotnetlibvlclibvlcsharpmultimedia

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言