C#/。NET的实体FFmpeg包装器 [英] Solid FFmpeg wrapper for C#/.NET

查看:175
本文介绍了C#/。NET的实体FFmpeg包装器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在搜索网络一段时间,为 C#/。NET 提供了一个坚实的 FFmpeg 包装器。但我还没有想出一些有用的东西。我发现了以下三个项目,但是所有这些项目都在早期的alpha阶段死亡。



FFmpeg.NET

ffmpeg-sharp

FFLIB.NET



所以我的问题是,如果有人知道一个更成熟的包装项目?

我不是在寻找一个完整的转码引擎工作排队等等。
只是一个简单的包装器,所以我不必进行命令行调用,然后解析控制台输出,但可以进行方法调用和使用eventlisteners进行。



<请随时提及任何积极的项目,即使他们在早期阶段仍然处于劣势。

解决方案

这是我自己的包装器: https://github.com/AydinAdn/MediaToolkit



MediaToolkit可以:




  • 将视频文件转换为各种其他视频格式。

  • 执行视频转码任务。

    • 可配置的选项:比特率帧率分辨率/大小长宽比视频持续时间 li>

  • 执行音频转码任务。

    • 可配置的选项:音频采样率


  • 使用FILM,PAL或NTSC电视标准将视频转换为物理格式

    • 媒体包括: DVD DV DV50 VCD SVCD




我可以随时使用它,也可以使用包管理器控制台进行安装。

  PM> ; Install-Package MediaToolkit 


I have been searching the web for some time for a solid FFmpeg wrapper for C#/.NET. But I have yet to come up with something useful. I have found the following three projects, but all of them apears to be dead in early alpha stage.

FFmpeg.NET
ffmpeg-sharp
FFLIB.NET

So my question is if anyone knows of a wrapper project that is more mature?
I am not looking for a full transcoding engine with job queues and more. Just a simple wrapper so I do not have to make a command line call and then parse the console output, but can make method calls and use eventlisteners for progress.

And please feel free to mention any active projects, even if they are stil in the early stages.

解决方案

This is a wrapper of my own: https://github.com/AydinAdn/MediaToolkit

MediaToolkit can:

  • Convert video files into various other video formats.
  • Perform video transcoding tasks.
    • Options configurable: Bit rate, Frame rate, Resolution / size, Aspect ratio, Duration of video
  • Perform audio transcoding tasks.
    • Options configurable: Audio sample rate
  • Convert video to physical formats using FILM, PAL or NTSC tv standards
    • Mediums include: DVD, DV, DV50, VCD, SVCD

I'm updating it as I go along, and you're welcome to use it, you can also install it using the Package Manager Console.

PM> Install-Package MediaToolkit

这篇关于C#/。NET的实体FFmpeg包装器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆