No description
Find a file
Zhao Zhili b1facd11a3 avcodec/mediacodecdec: don't break out if both input and output port return try again
At the beginning of decoding, if we feed mediacodec too fast, the
input port will return try again. It takes some time for mediacodec
to consume bitstream and output frame. So the output port also return
try again. It possible that mediacodec_receive_frame doesn't consume
any AVPacket and no AVFrame is output. Then both avcodec_send_packet()
and avcodec_receive_frame() return EAGAIN, which shouldn't happen.

This bug can be produced with decoding benchmark on Pixel 3.

Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
2022-11-21 23:52:02 +08:00
compat compat/cuda: switch from powf to __powf intrinsic 2022-09-03 20:27:34 +02:00
doc avfilter/vf_libplacebo: default to normalize_sar=0 2022-11-19 14:15:19 +01:00
ffbuild configure: probe RISC-V Vector extension 2022-09-27 13:19:52 +02:00
fftools fftools/ffmpeg_mux_init: drop an always-false check 2022-11-17 10:52:58 +01:00
libavcodec avcodec/mediacodecdec: don't break out if both input and output port return try again 2022-11-21 23:52:02 +08:00
libavdevice avdevice/avfoundation: convert to new channel layout-API 2022-11-08 14:08:05 -03:00
libavfilter avfilter/avf_showspectrum: set hop_size for showspectrumpic 2022-11-21 15:47:02 +01:00
libavformat avformat/concatdec: check that there's extradata before trying to copy it 2022-11-17 10:53:20 -03:00
libavutil avutil/hwcontext_cuda: fix compilation without Vulkan after last commit 2022-11-12 15:54:53 -03:00
libpostproc postproc/postprocess_template: Fix alignment 2022-11-09 17:39:00 +01:00
libswresample swresample/rematrix: support mixing top front left/right channels 2022-11-03 19:39:52 -03:00
libswscale swscale/input: Use more unsigned intermediates 2022-11-20 21:55:06 +01:00
presets
tests fate: Mark the tiff-zip-* tests as requiring zlib 2022-11-17 13:23:14 +02:00
tools tools/target_dec_fuzzer: Adjust threshold for FFV1 2022-10-20 21:42:21 +02:00
.gitattributes fate: add SCC test 2017-01-27 17:06:42 +01:00
.gitignore gitignore: add config_components.h 2022-03-17 18:35:41 -03:00
.mailmap mailmap: stop git lying about who I commit things as 2022-11-04 19:37:46 +01:00
.travis.yml Merge commit '899ee03088' 2019-03-14 15:53:16 -03:00
Changelog Changelog: add forgotten nvenc av1 entry 2022-11-07 20:16:42 +01:00
configure avcodec/libx265: fix build error 2022-11-18 23:18:21 +08:00
CONTRIBUTING.md Add CONTRIBUTING.md 2016-09-18 10:02:13 +01:00
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
INSTALL.md INSTALL.md: Fix Markdown formatting 2019-01-31 10:29:16 -09:00
LICENSE.md avfilter/vf_geq: Relicense to LGPL 2019-12-28 11:20:48 +01:00
MAINTAINERS MAINTAINERS: add myself as amfenc* maintainer 2022-11-10 16:28:07 +01:00
Makefile configure: probe RISC-V Vector extension 2022-09-27 13:19:52 +02:00
README.md README: fix typo and description of libavfilter 2021-10-08 09:44:34 +05:30
RELEASE RELEASE: update after 5.1 branch 2022-07-13 00:31:42 +02: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.