1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00
Go to file
Andreas Rheinhardt e4f7a2b003 avcodec/encode: Avoid check whose result is known in advance
encode_send_frame_internal() is always only called if
the buffer packet is empty and except when we are dealing
with an audio codec that does not allow variable frame size
it stays that way until a call to av_frame_ref() at the end
of encode_send_frame_internal(). In case we are dealing
with the small last frame of an audio encoder requiring
constant frame size the frame will be allocated by pad_last_frame()
and this the only case where this is so. So by returning directly
after pad_last_frame(), we can avoid having to recheck
whether the frame is still empty before av_frame_ref().

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2022-07-09 20:03:37 +02:00
compat compat/w32dlfcn.h: Remove MAX_PATH limit and replace LoadLibraryExA with LoadLibraryExW 2022-06-21 13:27:46 +03:00
doc avfilter/vf_xfade: add two more transitions 2022-07-09 16:55:50 +02:00
ffbuild ffbuild/common: Fix CPPFLAGS applied for compiling C++ files 2022-05-24 21:30:52 +02:00
fftools fftools/ffprobe: Add const to AVPacket data pointers 2022-07-09 19:37:53 +02:00
libavcodec avcodec/encode: Avoid check whose result is known in advance 2022-07-09 20:03:37 +02:00
libavdevice av(format|device): Add const to muxer packet data pointers 2022-07-09 19:37:53 +02:00
libavfilter avfilter/vf_xfade: add two more transitions 2022-07-09 16:55:50 +02:00
libavformat avformat/movenc: Ensure packet is writable before modifying it 2022-07-09 19:37:53 +02:00
libavutil avfilter: add remap opencl filter 2022-07-07 17:52:32 +02:00
libpostproc lib*/version: Move library version functions into files of their own 2022-05-10 06:49:32 +02:00
libswresample swresample/noise_shaping_data: Remove unused tables 2022-06-15 04:58:14 +02:00
libswscale swscale/x86/swscale: Simplify macro 2022-06-22 13:36:18 +02:00
presets
tests fate: add PFM encoder tests 2022-07-03 15:16:31 +02:00
tools tools/target_dec_fuzzer: Adjust threshold for SIMBIOSIS_IMX 2022-07-07 21:52:52 +02:00
.gitattributes
.gitignore gitignore: add config_components.h 2022-03-17 18:35:41 -03:00
.mailmap
.travis.yml
Changelog avfilter: add remap opencl filter 2022-07-07 17:52:32 +02:00
configure avfilter: add remap opencl filter 2022-07-07 17:52:32 +02:00
CONTRIBUTING.md
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
INSTALL.md
LICENSE.md
MAINTAINERS MAINTAINERS: add myself as maintainer for LoongArch. 2022-06-08 18:29:30 +02:00
Makefile Makefile: Prompt for reconfigure on lavc/hwaccels.h modification 2022-07-01 00:34:38 +02:00
README.md README: fix typo and description of libavfilter 2021-10-08 09:44:34 +05:30
RELEASE

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.