# Important
**The FFmpeg API is vast and complex and this project exposes it with minimum modifications - support is very limited.
Please consider to ask *how to* questions on [stackoverflow.com](https://stackoverflow.com/search?tab=newest&q=ffmpeg%20autogen) or in special repository on [github.com](https://github.com/Ruslan-B/FFmpeg.AutoGen.Questions/issues).
The community may be able to offer some assistance but you will largely be on your own.
As another option you can search for a solution in C(lang) as with some effort you can convert it to C#.**
## FFmpeg.AutoGen [![Build Status](https://travis-ci.org/Ruslan-B/FFmpeg.AutoGen.svg)](https://travis-ci.org/Ruslan-B/FFmpeg.AutoGen)[![#](https://img.shields.io/nuget/v/FFmpeg.AutoGen.svg)](https://www.nuget.org/packages/FFmpeg.AutoGen/)
FFmpeg auto generated unsafe bindings for C#/.NET and Mono.
## Usage
The basic example of the library usage: video decoding, conversion and frame extraction to jpeg is included in ```FFmpeg.AutoGen.Example``` project.
For the more sophisticated operations please refer to offical [ffmpeg Documentation](https://www.ffmpeg.org/documentation.html) expecially API section of it.
Nuget packages version uses [semantic versioning](https://semver.org/) and in sync with MAJOR and MINOR version of FFmpeg as PATCH incremets does not changing API.
- on Windows:
Native ffmpeg libraries are pre bundled in this repository, please note the are GPL(!) libraries.
The x64 libraries source from [Zeranoe FFmpeg](http://ffmpeg.zeranoe.com/builds/).
Please check to example project it shows how specify path to libraries.
- on OS X:
Install ffmpeg via [Homebrew](https://formulae.brew.sh/formula/ffmpeg):
```bash
brew install ffmpeg
```
Normally you need to set static ```ffmpeg.RootPath = ``` with full path to FFmpeg libraries.
- on Linux:
Use your package manager of choice.
Normally you need to set static ```ffmpeg.RootPath = ``` with full path to FFmpeg libraries.
## Generation
The bindings generator uses [CppSharp](https://github.com/mono/CppSharp).
Prerequisites:
- Visual Studio 2019 with C# and C++ desktop development workloads and Windows SDK for desktop.
Steps to generate:
- Run ```FFmpeg.AutoGen.CppSharpUnsafeGenerator;```
- All files with extension ```*.g.cs``` in ```FFmpeg.AutoGen``` project will be regenerated.
## License
Copyright © Ruslan Balanukhin 2019
All rights reserved.
Distributed under the GNU Lesser General Public License (LGPL) version 3.
http://www.gnu.org/licenses/lgpl.html
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
没有合适的资源?快使用搜索试试~ 我知道了~
FFmpeg.AutoGen-master_c#ffmpeg_FFmpeg.AutoGen_ffmpeg_ladysef_pay
共195个文件
h:115个
cs:55个
dll:8个
5星 · 超过95%的资源 10 下载量 196 浏览量
2021-09-30
06:32:24
上传
评论
收藏 24.26MB ZIP 举报
温馨提示
C# ffmpeg.autogen 拉流
资源详情
资源评论
资源推荐
收起资源包目录
FFmpeg.AutoGen-master_c#ffmpeg_FFmpeg.AutoGen_ffmpeg_ladysef_pay (195个子文件)
packages.config 417B
App.config 171B
FFmpeg.functions.export.g.cs 1MB
FFmpeg.structs.g.cs 157KB
FFmpeg.macros.g.cs 105KB
FFmpeg.enums.g.cs 80KB
FFmpeg.delegates.g.cs 56KB
FFmpeg.arrays.g.cs 37KB
FFmpeg.functions.inline.g.cs 16KB
Writer.cs 12KB
Generator.cs 10KB
Program.cs 10KB
FunctionProcessor.cs 8KB
MacroPostProcessor.cs 7KB
StructureProcessor.cs 7KB
CliOptions.cs 5KB
VideoStreamDecoder.cs 4KB
Program.cs 4KB
LibraryLoader.cs 4KB
FFmpeg.cs 4KB
H264VideoStreamEncoder.cs 3KB
TypeHelper.cs 3KB
FunctionExportHelper.cs 3KB
FunctionLoader.cs 3KB
ASTProcessor.cs 3KB
WindowsNativeMethods.cs 3KB
VideoFrameConverter.cs 2KB
EnumerationProcessor.cs 2KB
ExistingInlineFunctionsHelper.cs 2KB
TypeOrAlias.cs 2KB
MediaDecoder.cs 2KB
FFmpeg.structs.incomplete.g.cs 2KB
AssemblyInfo.cs 1KB
FFmpegBinariesHelper.cs 814B
MacroProcessor.cs 813B
ConstCharPtrMarshaler.cs 732B
FFmpegHelper.cs 664B
Expression.cs 536B
FFmpeg.libraries.g.cs 534B
FunctionDefinitionBase.cs 499B
LinuxNativeMethods.cs 441B
MacNativeMethods.cs 434B
MacroDefinition.cs 406B
DelegateDefinition.cs 375B
FunctionExport.cs 305B
FixedArrayDefinition.cs 289B
StructureField.cs 270B
FunctionParameter.cs 268B
NamedDefinition.cs 262B
EnumerationItem.cs 262B
StructureDefinition.cs 254B
TypeDefinition.cs 253B
ExportFunctionDefinition.cs 241B
InlineFunctionDefinition.cs 239B
EnumerationDefinition.cs 201B
ICanGenerateXmlDoc.cs 155B
IDefinition.cs 140B
FFmpeg.AutoGen.CppSharpUnsafeGenerator.csproj 8KB
FFmpeg.AutoGen.csproj 2KB
FFmpeg.AutoGen.Example.csproj 654B
FFmpeg.AutoGen.csproj 138B
avcodec-58.dll 44.46MB
avformat-58.dll 9.78MB
avfilter-7.dll 7.48MB
avdevice-58.dll 2.47MB
avutil-56.dll 775KB
swscale-5.dll 532KB
swresample-3.dll 419KB
postproc-55.dll 132KB
FFmpeg.AutoGen.sln.DotSettings 1KB
FFmpeg.AutoGen.CppSharpUnsafeGenerator.csproj.DotSettings 396B
.gitattributes 522B
.gitignore 1KB
avcodec.h 209KB
avformat.h 116KB
avfilter.h 41KB
opt.h 35KB
pixfmt.h 33KB
frame.h 32KB
avio.h 31KB
mem.h 23KB
hwcontext.h 22KB
swresample.h 21KB
intreadwrite.h 18KB
avdevice.h 17KB
common.h 16KB
pixdesc.h 16KB
avstring.h 14KB
hdr_dynamic_metadata.h 12KB
swscale.h 12KB
imgutils.h 11KB
log.h 11KB
buffer.h 10KB
samplefmt.h 10KB
channel_layout.h 9KB
avutil.h 9KB
hash.h 8KB
dict.h 8KB
spherical.h 8KB
mathematics.h 8KB
共 195 条
- 1
- 2
何欣颜
- 粉丝: 69
- 资源: 4732
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论1