Go to file
James Almer 757367e068 avformat/demux: extract extradata from packets when context update is requested
If the demuxer doesn't set extradata in the stream's codecpar, a
need_context_update request will delete the previously extracted extradata in
the stream's internal AVCodecContext.
As we can't ensure the old extradata is valid for the stream in its post
context update request state, try to get extradata from the new packet instead
of attempting to preserve the old in some form.

Signed-off-by: James Almer <jamrial@gmail.com>
2024-04-24 00:11:37 -03:00
compat avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
doc fftools/ffmpeg_mux_init: allow mapping a stream group from one of the inputs 2024-04-23 23:54:46 -03:00
ffbuild ffbuild/libversion.sh: add shebang 2024-04-09 15:34:53 +02:00
fftools fftools/ffmpeg_mux_init: allow mapping a stream group from one of the inputs 2024-04-23 23:54:46 -03:00
libavcodec avcodec/codec_par: always clear extradata_size in avcodec_parameters_to_context() 2024-04-24 00:11:37 -03:00
libavdevice avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
libavfilter avfilter/vf_thumbnail_cuda: Set ret before checking it 2024-04-24 02:52:17 +02:00
libavformat avformat/demux: extract extradata from packets when context update is requested 2024-04-24 00:11:37 -03:00
libavutil avutil/opt: add support for children objects in av_opt_serialize 2024-04-23 23:54:46 -03:00
libpostproc avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
libswresample avutil/common: Don't auto-include mem.h 2024-03-31 00:08:43 +01:00
libswscale swscale: [LA] Optimize swscale funcs in input.c 2024-04-11 23:53:59 +02:00
presets
tests avutil/opt: add support for children objects in av_opt_serialize 2024-04-23 23:54:46 -03:00
tools tools: add target_enc_fuzzer.c 2024-04-24 02:52:16 +02:00
.gitattributes lavf/assenc: normalize line endings to \n 2024-02-11 17:01:07 -08:00
.gitignore gitignore: add config_components.h 2022-03-17 18:35:41 -03:00
.mailmap .mailmap: Update my mailmap entry 2024-02-23 00:17:21 +01:00
Changelog Changelog: Add pad_vaapi, drawbox_vaapi entry 2024-04-18 14:43:07 +08:00
configure avcodec/mediacodecenc: Add global header support 2024-04-23 15:35:26 +08:00
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
INSTALL.md
LICENSE.md avfilter/vf_geq: Relicense to LGPL 2019-12-28 11:20:48 +01:00
MAINTAINERS MAINTAINERS: add myself as dvdvideo demuxer, rcwt muxer maintainer 2024-03-10 15:21:23 +01:00
Makefile tools: add target_enc_fuzzer.c 2024-04-24 02:52:16 +02:00
README.md README: fix typo and description of libavfilter 2021-10-08 09:44:34 +05:30
RELEASE RELEASE: update after 7.0 branch 2024-04-02 13:02:39 -03: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.