FFmpeg git repo
Go to file
Andreas Rheinhardt d98dfcecad fftools/ffmpeg_demux: Don't use fake object with av_opt_eval
The av_opt_eval family of functions emits errors messages on error
and can therefore not be used with fake objects when the AVClass
has a custom item_name callback. The AVClass for AVCodecContext
has such a custom callback (it searches whether an AVCodec is set
to use its name). In practice it means that whatever is directly
after the "cc" pointer to the AVClass for AVCodec in the stack frame
of ist_add() will be treated as a pointer to an AVCodec with
unpredictable consequences.

Fix this by using an actual AVCodecContext instead of a fake object.

Reviewed-by: Anton Khirnov <anton@khirnov.net>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
2023-10-10 14:29:54 +02:00
compat configure: Set WIN32_LEAN_AND_MEAN at configure time 2023-08-14 22:57:28 +03:00
doc fftools/ffmpeg_enc: merge -force_key_frames source/source_no_drop 2023-10-10 12:41:31 +02:00
ffbuild configure: probe RISC-V Vector extension 2022-09-27 13:19:52 +02:00
fftools fftools/ffmpeg_demux: Don't use fake object with av_opt_eval 2023-10-10 14:29:54 +02:00
libavcodec avcodec/mlpenc: export lpc_coeff_precision option 2023-10-10 13:53:11 +02:00
libavdevice avformat/avformat: use the side data from AVStream.codecpar 2023-10-06 10:03:57 -03:00
libavfilter avfilter/ddagrab: create secondary xor mouse texture 2023-10-09 20:17:50 +02:00
libavformat avformat/matroskadec, mov: Fix declaration-after-statement warnings 2023-10-09 00:21:43 +02:00
libavutil lavu/fixed_dsp: R-V V vector_fmul_window 2023-10-09 19:52:28 +03:00
libpostproc version.h: Bump minor post 6.0 branch 2023-02-19 18:37:36 +01:00
libswresample libswresample/swresample: avoid s16p internal transfer format 2023-09-25 21:41:35 +02:00
libswscale swscale/rgb2rgb: R-V V deinterleaveBytes 2023-10-03 22:53:20 +03:00
presets
tests fftools/ffmpeg_enc: merge -force_key_frames source/source_no_drop 2023-10-10 12:41:31 +02:00
tools tools/target_dec_fuzzer: Adjust wmapro threshold 2023-10-03 20:09:27 +02:00
.gitattributes
.gitignore
.mailmap mailmap: stop git lying about who I commit things as 2022-11-04 19:37:46 +01:00
.travis.yml
Changelog lavc/vaapi_encode: Add VAAPI AV1 encoder 2023-09-22 13:15:00 +08:00
configure configure: fix --custom-allocator 2023-10-09 20:14:07 +02: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
MAINTAINERS MAINTAINERS: change Leo Izen IRC nickname 2023-06-20 12:46:47 -04:00
Makefile tools: Don't include the direct library names when linking 2023-10-02 22:49:07 +03:00
README.md
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.