C语言 FFmpeg C API 文档/教程
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/2641460/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
FFmpeg C API documentation/tutorial
提问by fvisticot
I am trying to find documentation to use the FFmpeg C API. It seems that only command line documentation is available.
我正在尝试查找使用 FFmpeg C API 的文档。似乎只有命令行文档可用。
Is there any good documentation/tutorials/links available?
有没有好的文档/教程/链接可用?
回答by mpenkov
I've been keeping the Dranger ffmpeg tutorials up to date here: https://github.com/mpenkov/ffmpeg-tutorial
我一直在这里更新 Dranger ffmpeg 教程:https: //github.com/mpenkov/ffmpeg-tutorial
I've tried to keep the code changes minimal while fixing bugs and rewriting deprecated parts.
我试图在修复错误和重写不推荐使用的部分时尽量减少代码更改。
回答by Jason B
Here is the best one I have found so far. It deals with a lot of the quirks of the API and shows you how to build a working video player using SDL and libavformat/libavcodec.
这是迄今为止我发现的最好的一个。它处理了 API 的许多怪癖,并向您展示了如何使用 SDL 和 libavformat/libavcodec 构建一个有效的视频播放器。
回答by rogerdpack
I created this wiki page so that it can try and keep updated:
我创建了这个 wiki 页面,以便它可以尝试并保持更新:
回答by HymanOdE
http://dranger.com/ffmpeg/is great, but the source code is little dated. For updated code of the tutorial, please take a look here: https://github.com/phamquy/FFmpeg-tutorial-samples
http://dranger.com/ffmpeg/很棒,但源代码很少过时。有关教程的更新代码,请看这里:https: //github.com/phamquy/FFmpeg-tutorial-samples
回答by jeff7
If you're interested in writing your own ffmpeg format or codec, take a look here:
如果您有兴趣编写自己的 ffmpeg 格式或编解码器,请查看此处:
http://wiki.multimedia.cx/index.php?title=Category:FFmpeg_Tutorials
http://wiki.multimedia.cx/index.php?title=Category:FFmpeg_Tutorials

