🌐
FFmpeg
ffmpeg.org β€Ί download.html
Download FFmpeg
8.1 was released on 2026-03-16. It is the latest stable FFmpeg release from the 8.1 release branch, which was cut from master on 2026-03-08. It includes the following library versions: libavutil 60. 26.100 libavcodec 62. 28.100 libavformat 62. 12.100 libavdevice 62.
About
A simple media player based on SDL and the FFmpeg libraries
Legal
Distribute the source code of FFmpeg, no matter if you modified it or not. Make sure the source code corresponds exactly to the library binaries you are distributing.
Ffmpeg Documentation
Set the maximum size limit for ... heap by ffmpeg’s family of malloc functions. Exercise extreme caution when using this option. Don’t use if you do not understand the full consequence of doing so. Default is INT_MAX. These options are provided directly by the libavformat, libavdevice and libavcodec libraries...
Documentation
The following documentation is regenerated nightly, and corresponds to the newest FFmpeg revision. Consult your locally installed documentation for older versions Β· Hosting provided by telepoint.bg
multimedia framework
FFmpeg is a free and open-source software project consisting of a suite of libraries and programs for handling video, audio, and other multimedia files and streams. At its core is the command-line … Wikipedia
Factsheet
Original authors Fabrice Bellard
Bobby Bingham (libavfilter)
Developer FFmpeg team
Initial release December 20, 2000; 25 years ago (2000-12-20)
Factsheet
Original authors Fabrice Bellard
Bobby Bingham (libavfilter)
Developer FFmpeg team
Initial release December 20, 2000; 25 years ago (2000-12-20)
🌐
FFmpeg
ffmpeg.org
FFmpeg
FFmpeg 5.0 "Lorentz", a new major release, is now available! For this long-overdue release, a major effort underwent to remove the old encode/decode APIs and replace them with an N:M-based API, the entire libavresample library was removed, libswscale has a new, easier to use AVframe-based API, the Vulkan code was much improved, many new filters were added, including libplacebo integration, and finally, DoVi support was added, including tonemapping and remuxing.
🌐
Wikipedia
en.wikipedia.org β€Ί wiki β€Ί FFmpeg
FFmpeg - Wikipedia
2 weeks ago - FFmpeg is a free and open-source software project consisting of a suite of libraries and programs for handling video, audio, and other multimedia files and streams. At its core is the command-line ffmpeg tool itself, designed for processing video and audio files.
🌐
Audacity
support.audacityteam.org β€Ί basics β€Ί installing-ffmpeg
Installing FFmpeg | Audacity Support
If your FFmpeg or LAME installation didn't get detected, you'll need to tell Audacity where to find it. To do this: ... Click on the Locate... button of the relevant library.
Top answer
1 of 3
37

You need libavcodec and libavformat. The FAQ tells you:

4.1 Are there examples illustrating how to use the FFmpeg libraries, particularly libavcodec and libavformat?

Yes. Check the doc/examples directory in the source repository, also available online at: https://github.com/FFmpeg/FFmpeg/tree/master/doc/examples.

Examples are also installed by default, usually in $PREFIX/share/ffmpeg/examples.

Also you may read the Developers Guide of the FFmpeg documentation. Alternatively, examine the source code for one of the many open source projects that already incorporate FFmpeg at (projects.html).

The FFmpeg documentation guide can be found at ffmpeg.org/documentation.html, including the Developer's guide. I suggest looking at libavformat/output-example.c or perhaps the source of the ffmpeg command line utility itself.

2 of 3
28

If you just wanted to make a call to ffmpeg as function rather than a system call, you can do that pretty easily.

In ffmpeg.c, change:

int main(int argc, char **argv) to int ffmpeg(int argc, char **argv)

Then in your call the ffmpeg function and pass in an array that mimics the command line. To make it even easier use a function to create the argc, argv variables.

static int setargs(char *args, char **argv)
{
    int count = 0;

    while (isspace(*args)) ++args;
    while (*args) {
        if (argv) argv[count] = args;
        while (*args && !isspace(*args)) ++args;
        if (argv && *args) *args++ = '\0';
        while (isspace(*args)) ++args;
        count++;
    }
}

char **parsedargs(char *args, int *argc)
{
    char **argv = NULL;
    int    argn = 0;

    if (args && *args
        && (args = strdup(args))
        && (argn = setargs(args,NULL))
        && (argv = malloc((argn+1) * sizeof(char *)))) {
          *argv++ = args;
          argn = setargs(args,argv);
    }

    if (args && !argv) free(args);

    *argc = argn;
    return argv;
}

void freeparsedargs(char **argv)
{
    if (argv) {
        free(argv[-1]);
        free(argv-1);
    }
}
    return count;
}

int main()
{
    char **argv;
    char *cmd;
    int argc;

    cmd = "ffmpeg -i infile outfile";
    argv = parsedargs(cmd,&argc);
    ffmpeg(argc, argv);
}
🌐
FFmpeg
ffmpeg.org β€Ί general.html
General Documentation
Go to http://aomedia.org/ and follow the instructions for installing the library. Then pass --enable-libaom to configure to enable it. FFmpeg can use the AMD Advanced Media Framework library for accelerated H.264 and HEVC(only windows) encoding on hardware with Video Coding Engine (VCE).
🌐
FFmpeg
ffmpeg.org β€Ί documentation.html
Documentation
ffprobe-all: ffprobe tool and FFmpeg components Β· Utilities Β· Video scaling and pixel format converter Β· Audio resampler Β· Encoders and decoders (codecs) Bitstream filters Β· Muxers and demuxers (formats) Protocols Β· Input and output devices Β· Filters Β· libavutil Β· libswscale Β· libswresample Β· libavcodec Β· libavformat Β· libavdevice Β· libavfilter Β· Frequently Asked Questions Β· Supported External Libraries, Formats, Codecs or Features Β·
🌐
GitHub
github.com β€Ί FFmpeg β€Ί FFmpeg
GitHub - FFmpeg/FFmpeg: Mirror of https://git.ffmpeg.org/ffmpeg.git Β· GitHub
March 10, 2026 - FFmpeg is a collection of libraries and tools to process multimedia content such as audio, video, subtitles and related metadata.
Starred by 59K users
Forked by 13.7K users
Languages Β  C 89.6% | Assembly 8.3% | Makefile 1.3% | C++ 0.3% | GLSL 0.2% | Objective-C 0.1%
Find elsewhere
🌐
Reddit
reddit.com β€Ί r/ffmpeg β€Ί how can i use ffmpeg as a library instead of command-line arguments?
r/ffmpeg on Reddit: How can I use FFMPEG as a library instead of command-line arguments?
April 17, 2023 -

I've had many programming problems that I've been told to use FFMPEG for, where high performance is necessary. For example, if I want to decode a single H264 packet, I don't want that to be written to storage for me to use, I want it to be in memory, as reading and writing to a drive is slow. The FFMPEG bindings I've seen in Go and Java use it as command-line tools, is there any FFMPEG library that I could use instead? Something where if I use a function, I get returned an object in memory, rather than having it written out to a file?

🌐
Pressbooks
ecampusontario.pressbooks.pub β€Ί osdigcomm β€Ί chapter β€Ί ffmpeg-library-issue
FFmpeg Library – Open Source for Digital Communication & Learning Objects
February 23, 2022 - The optional FFmpeg library allows Audacity to import and export a much larger range of audio formats including M4A (AAC), AC3, AMR (narrow band) and WMA and also to import audio from most video files.
🌐
FFmpeg
ffmpeg.org β€Ί doxygen β€Ί 7.0 β€Ί index.html
FFmpeg: Main Page
This document describes the usage of the different libraries provided by FFmpeg.
🌐
FFmpeg
ffmpeg.org β€Ί developer.html
Developer Documentation
FFmpeg maintains a set of release branches, which are the recommended deliverable for system integrators and distributors (such as Linux distributions, etc.). At regular times, a release manager prepares, tests and publishes tarballs on the https://ffmpeg.org website. ... Major releases always include the latest and greatest features and functionality. Point releases are cut from release branches, which are named release/X, with X being the release version number. Note that we promise to our users that shared libraries from any FFmpeg release never break programs that have been compiled against previous versions of the same release series in any case!
🌐
FFmpeg
ffmpeg.org β€Ί about.html
About FFmpeg
A simple media player based on SDL and the FFmpeg libraries
🌐
CODEX FFMPEG
gyan.dev β€Ί ffmpeg β€Ί builds
Builds - CODEX FFMPEG @ gyan.dev
The FFmpeg project offers 3 primary tools in source code form to access this functionality, which are ffmpeg for processing, ffprobe for information and ffplay for playback. Binaries of these tools can be built to include only a select set of these components & libraries.
🌐
FFmpeg
ffmpeg.org β€Ί platform.html
Platform Specific Information
In order to compile FFplay, you must have the MinGW development library of SDL and pkg-config installed. By using ./configure --enable-shared when configuring FFmpeg, you can build the FFmpeg libraries (e.g.
🌐
GitHub
github.com β€Ί arthenica β€Ί ffmpeg-kit
GitHub - arthenica/ffmpeg-kit: FFmpeg Kit for applications. Supports Android, Flutter, iOS, Linux, macOS, React Native and tvOS. Supersedes MobileFFmpeg, flutter_ffmpeg and react-native-ffmpeg. Β· GitHub
It includes scripts to build FFmpeg native libraries, a wrapper library to run FFmpeg/FFprobe commands in applications and 8 prebuilt binary packages available at Github, Maven Central, CocoaPods, pub and npm.
Starred by 5.8K users
Forked by 2.5K users
Languages Β  C 54.3% | Shell 15.8% | Java 9.3% | Objective-C 7.4% | C++ 4.9% | Makefile 3.4%
🌐
Ffmpeg-api
ffmpeg-api.com β€Ί learn β€Ί ffmpeg β€Ί guide
FFmpeg Complete Guide: Installation, Commands & Use Cases - FFmpeg API
February 4, 2026 - FFmpeg is the command-line tool that handles multimedia data. It accepts a variety of input and output formats. Libavcodec is the library that includes all the FFmpeg audio and video codecs.