No description
Find a file
Niklas Haas 5e56937b74 avcodec: allow bypassing frame threading with an optional flag
Normally, this function tries to make sure all threads are saturated with
work to do before returning any frames; and will continue requesting packets
until that is the case.

However, this significantly slows down initial decoding latency when only
requesting a single frame (to e.g. configure the filter graph), and also
wastes a lot of unnecessary memory in the event that the user does not intend
to decode more frames until later.

By introducing a new `flags` paramater and a new flag
`AV_CODEC_RECEIVE_FRAME_FLAG_SYNCHRONOUS` to go along with it, we can allow
users to temporarily bypass this logic.
2025-12-05 19:42:41 +01:00
.forgejo forgejo/workflows: make test shared/static mode more human readable 2025-11-26 23:21:11 +00:00
compat fftools: Fix MediaCodec on Android15+ 2025-11-23 12:53:43 +00:00
doc avcodec: allow bypassing frame threading with an optional flag 2025-12-05 19:42:41 +01:00
ffbuild {lib{avcodec,swscale}/x86/,}Makefile: Kill MMX-OBJS 2025-11-30 22:20:13 +01:00
fftools fftools/cmdutils: use strcpy directly, the length is computed already 2025-12-03 23:45:44 +00:00
libavcodec avcodec: allow bypassing frame threading with an optional flag 2025-12-05 19:42:41 +01:00
libavdevice avdevice/gdigrab: suppress int to pointer cast warning 2025-12-03 23:45:44 +00:00
libavfilter avfilter/f_sidedata: also handle global side data in filter links 2025-12-04 13:50:45 -03:00
libavformat avformat/movenc: Fix leak of IAMFContext on error 2025-12-04 16:15:09 +00:00
libavutil avutil/vulkan: fix device memory size truncation 2025-12-03 23:45:44 +00:00
libswresample swresample/x86/Makefile: Only compile ASM init files when X86ASM is enabled 2025-11-30 22:20:13 +01:00
libswscale swscale: Add AArch64 Neon path for xyz12Torgb48 LE 2025-12-05 10:28:18 +00:00
presets
tests checkasm: Add xyz12Torgb48le test 2025-12-05 10:28:18 +00:00
tools tools/sofa2wavs: fix build on Windows 2025-11-29 21:43:12 +00:00
.gitattributes gitattributes: End merge conflicts in Changelog 2025-03-17 15:26:10 +01:00
.gitignore .gitignore: Add config_components.asm 2025-11-02 13:10:58 +00:00
.mailmap mailmap: add entry for myself 2025-08-08 21:51:15 +00:00
Changelog avcodec/rkmppenc: add h264/hevc rkmpp encoder 2025-11-27 15:54:49 +08:00
configure avcodec/d3d12va_encode: add intra refresh support for d3d12va encode 2025-12-04 08:26:26 +00:00
CONTRIBUTING.md
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1 all: fix whitespace/new-line issues 2025-08-03 13:48:47 +02:00
COPYING.LGPLv3
CREDITS Use https for repository links 2023-03-01 21:59:10 +01:00
FUNDING.json Add FUNDING.json 2025-06-23 14:48:40 +02:00
INSTALL.md all: fix typos found by codespell 2025-08-03 13:48:47 +02:00
LICENSE.md Remove libpostproc 2025-05-07 15:35:47 +02:00
MAINTAINERS MAINTAINERS: Update the entries for AMF 2025-10-28 21:06:37 +00:00
Makefile {lib{avcodec,swscale}/x86/,}Makefile: Kill MMX-OBJS 2025-11-30 22:20:13 +01:00
README.md README: fix typo and description of libavfilter 2021-10-08 09:44:34 +05:30
RELEASE RELEASE: update to 8.0 2025-08-14 08:42:29 -04:00

FFmpeg README

FFmpeg is a collection of libraries and tools to process multimedia content such as audio, video, subtitles and related metadata.

Libraries

  • libavcodec provides implementation of a wider range of codecs.
  • libavformat implements streaming protocols, container formats and basic I/O access.
  • libavutil includes hashers, decompressors and miscellaneous utility functions.
  • libavfilter provides means to alter decoded audio and video through a directed graph of connected filters.
  • libavdevice provides an abstraction to access capture and playback devices.
  • libswresample implements audio mixing and resampling routines.
  • libswscale implements color conversion and scaling routines.

Tools

  • ffmpeg is a command line toolbox to manipulate, convert and stream multimedia content.
  • ffplay is a minimalistic multimedia player.
  • ffprobe is a simple analysis tool to inspect multimedia content.
  • Additional small tools such as aviocat, ismindex and qt-faststart.

Documentation

The offline documentation is available in the doc/ directory.

The online documentation is available in the main website and in the wiki.

Examples

Coding examples are available in the doc/examples directory.

License

FFmpeg codebase is mainly LGPL-licensed with optional components licensed under GPL. Please refer to the LICENSE file for detailed information.

Contributing

Patches should be submitted to the ffmpeg-devel mailing list using git format-patch or git send-email. Github pull requests should be avoided because they are not part of our review process and will be ignored.