Av1rt 0.1.1
dotnet add package Av1rt --version 0.1.1
NuGet\Install-Package Av1rt -Version 0.1.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="Av1rt" Version="0.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Av1rt" Version="0.1.1" />
<PackageReference Include="Av1rt" />
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 Av1rt --version 0.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Av1rt, 0.1.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.
#:package Av1rt@0.1.1
#: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=Av1rt&version=0.1.1
#tool nuget:?package=Av1rt&version=0.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
av1rt
A realtime AV1 encoder for .NET: a safe, Native AOT compatible C# port of libaom's realtime encoder.
using System.Buffers;
using Av1rt;
using var y4m = Y4mReader.Open("input.y4m");
using var encoder = new Av1Encoder(new Av1EncoderOptions
{
Width = y4m.Width,
Height = y4m.Height,
FrameRate = 60,
TargetBitrateKbps = 8_000,
});
using var ivf = new IvfWriter(File.Create("output.ivf"), y4m.Width, y4m.Height, Av1Encoder.TimestampRate);
var frame = new byte[y4m.FrameSize];
var output = new ArrayBufferWriter<byte>();
while (y4m.ReadFrame(frame))
{
output.ResetWrittenCount();
Av1EncodeResult result = encoder.Encode(frame, output);
if (!result.Dropped)
ivf.WriteFrame(output.WrittenSpan, result.Timestamp);
}
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net10.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Av1rt:
| Package | Downloads |
|---|---|
|
Borg.SIPSorcery.Media.AV1
A realtime AV1 video encoder for SIPSorcery, built on av1rt (a safe, Native AOT compatible C# port of libaom's realtime encoder). |
GitHub repositories
This package is not used by any popular GitHub repositories.