FFmpeg C API documentation/tutorial
Solution 1
I've been keeping the Dranger ffmpeg tutorials up to date here: https://github.com/mpenkov/ffmpeg-tutorial
I've tried to keep the code changes minimal while fixing bugs and rewriting deprecated parts.
Solution 2
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.
Solution 3
I created this wiki page so that it can try and keep updated:
Solution 4
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
Solution 5
If you're interested in writing your own ffmpeg format or codec, take a look here:
http://wiki.multimedia.cx/index.php?title=Category:FFmpeg_Tutorials
fvisticot
Updated on January 22, 2022Comments
-
fvisticot over 2 years
I am trying to find documentation to use the FFmpeg C API. It seems that only command line documentation is available.
Is there any good documentation/tutorials/links available?
-
rogerdpack over 11 yearsoutdated though, see the other answers...
-
njahnke over 11 yearsnote that this link was broken by stack overflow's autolinking regex not matching the star at the end of the link - you will need to manually add the star or else copy and paste the link to be taken to the wiki page.
-
rogerdpack over 11 yearsok hopefully fixed it, at least for now...
-
Tas over 5 yearsFYI the dranger.com one appears to have been updated in 2015
-
Tas over 5 yearsFYI the dranger.com one appears to have been updated in 2015