FFmpegs.NET
1.0.1
dotnet add package FFmpegs.NET --version 1.0.1
NuGet\Install-Package FFmpegs.NET -Version 1.0.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="FFmpegs.NET" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add FFmpegs.NET --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: FFmpegs.NET, 1.0.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.
// Install FFmpegs.NET as a Cake Addin #addin nuget:?package=FFmpegs.NET&version=1.0.1 // Install FFmpegs.NET as a Cake Tool #tool nuget:?package=FFmpegs.NET&version=1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
FFmpeg.NET
This is a project that plans to build FFmpeg.NET dynamic libraries, it's call FFmpeg API on .NET Platform.
这是一个FFmpeg.NET的动态库,支持在 .NET 平台调用 FFmpeg API 接口。
Setup
1. Example
Program.cs
using System;
using FFmpegs.NET;
// FFmpeg.DLLDIR = "your_ffmpeg_dlls_path";
var version = FFmpeg.av_version_info(); // n5.0-42-g8fd2dc3f2b-20220330
Assert.AreEqual(version, "n5.0-42-g8fd2dc3f2b-20220330");
var err = FFmpeg.get_errorstr(-1179861752); // Bitstream filter not found
Assert.AreEqual(err, "Bitstream filter not found");
var eagain = FFmpegConst.EAGAIN;
Assert.AreEqual(11, eagain);
2. Public Class
static class FFmpeg
static class FFmpegConst
3. Dynamic Library
FFmpeg dynamic library has somes defaults, but you can set custom the FFmpeg dynamic library path。
FFmpeg.NET 库默认包含了 FFmpeg 的动态库文件,不需要再次安装编译FFmpeg或动态库,当然你可以可以选择使用自己环境中的 FFmpeg 动态库。
方法如下
FFmpegapi.DLLDIR = "your_ffmpeg_dlls_path";
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. 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. 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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net5.0
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
FFmpegs.NET