CPlayer.WinForms
1.1.0
dotnet add package CPlayer.WinForms --version 1.1.0
NuGet\Install-Package CPlayer.WinForms -Version 1.1.0
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="CPlayer.WinForms" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="CPlayer.WinForms" Version="1.1.0" />
<PackageReference Include="CPlayer.WinForms" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add CPlayer.WinForms --version 1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: CPlayer.WinForms, 1.1.0"
#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.
#:package CPlayer.WinForms@1.1.0
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=CPlayer.WinForms&version=1.1.0
#tool nuget:?package=CPlayer.WinForms&version=1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
CPlayer.WinForms
A high-performance, self-contained WinForms media player control built with FFmpeg and NAudio. Ready for NuGet packaging and integration into any .NET Framework 4.7.2+ application.
Features
- 🎬 Hardware-accelerated video decoding via FFmpeg 7.x
- 🔊 Audio playback via NAudio WaveOut
- ⏩ Variable playback speed (0.5x – 2.0x) with real-time clock sync
- 🎨 Bilibili-style modern UI with animated seek bar
- ⌨️ Keyboard shortcuts: Space (play/pause), ←/→ (seek ±5s), ↑/↓ (volume ±5%)
- 📦 NuGet-ready packaging included
Requirements
- .NET Framework 4.7.2+
- FFmpeg 7.x 64-bit shared DLLs in
libs/ffmpeg/next to the executable
Quick Start
var player = new CPlayer.WinForms.UI.MediaPlayerControl();
this.Controls.Add(player);
player.LoadAndPlay(@"C:\video.mp4");
FFmpeg Setup
Download FFmpeg 7.x Windows 64-bit shared build from ffmpeg.org and place the .dll files in a libs/ffmpeg/ folder alongside your executable.
NuGet
Install-Package CPlayer.WinForms
License
MIT
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETFramework 4.7.2
- FFmpeg.AutoGen (>= 7.0.0)
- NAudio (>= 2.2.1)
- SharpDX (>= 4.2.0)
- SharpDX.Direct2D1 (>= 4.2.0)
- System.Threading.Channels (>= 8.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.