FFmpeg git repo
Go to file
Richard Acayan 4fa1d3e791 avcodec/v4l2_context: suppress POLLERR and fix crash when buffers are uninitialized
A POLLERR occurs when libavcodec attempts to dequeue output buffers
before enqueuing capture buffers. This could happen to an application
deciding to send the first coded packet. Suppress these POLLERRs when
the buffers are uninitialized and avoid crashing because of enumerating
uninitialized buffers.

See https://trac.ffmpeg.org/ticket/9957 for the original bug report.

Signed-off-by: Richard Acayan <mailingradian@gmail.com>
Signed-off-by: Marton Balint <cus@passwd.hu>
2023-07-27 21:23:39 +02:00
compat compat: Use '-' instead of '/' for rc.exe options 2023-02-13 13:49:40 +02:00
doc avfilter: add transpose_vt for videotoolbox pix_fmt 2023-07-23 11:52:28 +08:00
ffbuild configure: probe RISC-V Vector extension 2022-09-27 13:19:52 +02:00
fftools fftools/ffmpeg_opt: Reduce scope of variables for deprecated code 2023-07-23 17:55:38 +02:00
libavcodec avcodec/v4l2_context: suppress POLLERR and fix crash when buffers are uninitialized 2023-07-27 21:23:39 +02:00
libavdevice lavd/opengl_enc: fix a compiler error 2023-07-24 10:17:51 +08:00
libavfilter avfilter/af_afir: fix possible array read-overflow 2023-07-24 11:01:21 +02:00
libavformat avformat/imf_cpl: Replace NULL content_title_utf8 by "" 2023-07-25 23:17:29 +02:00
libavutil macos_kperf: fix incomplete prototype 2023-07-22 21:35:15 +03:00
libpostproc version.h: Bump minor post 6.0 branch 2023-02-19 18:37:36 +01:00
libswresample Move bessel_i0() from swresample/resample to avutil/mathematics 2023-05-29 00:45:28 +02:00
libswscale swscale/rgb2rgb2: rework RISC-V V shuffle_bytes_{1230,3012} 2023-07-21 22:18:02 +03:00
presets
tests avcodec: move content light level SEI handling to h2645_sei 2023-07-27 21:45:43 +03:00
tools tools/target_bsf_fuzzer: fix some filter names 2023-06-29 22:44:11 -03:00
.gitattributes
.gitignore
.mailmap mailmap: stop git lying about who I commit things as 2022-11-04 19:37:46 +01:00
.travis.yml
CONTRIBUTING.md
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS Use https for repository links 2023-03-01 21:59:10 +01:00
Changelog avfilter: add transpose_vt for videotoolbox pix_fmt 2023-07-23 11:52:28 +08:00
INSTALL.md
LICENSE.md
MAINTAINERS MAINTAINERS: change Leo Izen IRC nickname 2023-06-20 12:46:47 -04:00
Makefile tools: add an AV_CODEC_CAP_ENCODER_RECON_FRAME test tool 2023-03-28 13:00:42 +02:00
README.md
RELEASE RELEASE: update after 5.1 branch 2022-07-13 00:31:42 +02:00
configure avfilter: add transpose_vt for videotoolbox pix_fmt 2023-07-23 11:52:28 +08:00

README.md

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.