ManagedCodecs.Wpf 0.19.0

dotnet add package ManagedCodecs.Wpf --version 0.19.0
                    
NuGet\Install-Package ManagedCodecs.Wpf -Version 0.19.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="ManagedCodecs.Wpf" Version="0.19.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ManagedCodecs.Wpf" Version="0.19.0" />
                    
Directory.Packages.props
<PackageReference Include="ManagedCodecs.Wpf" />
                    
Project file
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 ManagedCodecs.Wpf --version 0.19.0
                    
#r "nuget: ManagedCodecs.Wpf, 0.19.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 ManagedCodecs.Wpf@0.19.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=ManagedCodecs.Wpf&version=0.19.0
                    
Install as a Cake Addin
#tool nuget:?package=ManagedCodecs.Wpf&version=0.19.0
                    
Install as a Cake Tool

ManagedCodecs.Wpf

Live cameras in WPF, in pure managed C#: LiveView shows a LivePlayer's newest frame (ManagedCodecs.Playback: MJPEG over HTTP, H.264 or JPEG over RTSP and RTSPS). No native libraries and no codec of the platform's.

using ManagedCodecs.Playback;
using ManagedCodecs.Wpf;

var player = new LivePlayer(new RtspSource(new Uri("rtsp://user:password@camera/stream1")));
player.Start();
window.Content = new LiveView { Player = player }; // Stretch.Uniform, as an Image
// ... and when the window closes:
player.Dispose();
  • The application owns the player: it makes it (its source, credentials, CertificateHash for RTSPS, Audio), starts it and disposes it. The control only shows frames: on each frame WPF renders while it is loaded, the newest decoded one, older ones dropped. Several views may show one player in turn, but each frame goes to one of them.
  • Layout as an Image: Stretch (Uniform by default) and StretchDirection.
  • Sound: WPF has no way to play raw samples without a platform API, so LivePlayer.TakeAudio() is the application's to play.
  • Requirements: .NET 10 on Windows (net10.0-windows). Built and packed in CI on Linux; drawn on a Windows runner weekly (the repository's mclive-wpf --frames).
  • More: the repository (README, Live cameras).
Product Compatible and additional computed target framework versions.
.NET net10.0-windows7.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
0.19.0 0 11/19/2026
0.18.0 200 11/16/2026