No description
Find a file
Janne Grunau 7f0d4aa61c aarch64: vp9mc: Load only 12 pixels in the 4 pixel wide horizontal filter
This reduces the amount the horizontal filters read beyond the filter
width to a consistent 1 pixel. The data is not used so this is usually
not noticeable. It becomes a problem when the application allocates
frame buffers only for the aligned picture size and the end of it is at
a page boundary. This happens for picture sizes which are a multiple of
the page size like 1280x640. The frame buffer allocation is based on
its most likely done via mmap + MAP_ANONYMOUS so start and end of the
buffer are page aligned and the previous and next page are not
necessarily mapped.
Under these conditions like seen by Firefox a read beyond the end of the
buffer results in a segfault.
After the over-read is reduced to a single pixel it's reasonable to use
VP9's emulated edge motion compensation for this.

Fixes: https://bugzilla.mozilla.org/show_bug.cgi?id=1881185
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
(cherry picked from commit 430c38f698)
2025-01-04 07:31:15 -05:00
compat configure: Set WIN32_LEAN_AND_MEAN at configure time 2023-08-14 22:57:28 +03:00
doc doc/examples/mux: remove nop 2024-07-24 16:52:39 +02:00
ffbuild riscv: test for assembler support 2024-12-07 02:37:17 -05:00
fftools fftools/ffmpeg_enc: Initialize fd 2024-07-24 16:52:26 +02:00
libavcodec aarch64: vp9mc: Load only 12 pixels in the 4 pixel wide horizontal filter 2025-01-04 07:31:15 -05:00
libavdevice configure: improve check for POSIX ioctl 2024-09-01 20:16:10 -04:00
libavfilter avfilter/f_loop: fix aloop activate logic 2024-11-17 22:33:05 +01:00
libavformat avformat/libzmq: fix check for zmq protocol prefix 2024-09-02 23:21:44 +02:00
libavutil avutil/hwcontext: Don't assume frames_uninit is reentrant 2024-10-28 20:10:12 +08:00
libpostproc Bump versions prior to 6.1 2023-10-29 16:19:39 +01:00
libswresample swresample/resample: fix rounding errors with filter_size=1 and phase_shift=0 2024-03-19 21:25:07 +01:00
libswscale riscv: test for assembler support 2024-12-07 02:37:17 -05:00
presets
tests riscv: test for assembler support 2024-12-07 02:37:17 -05:00
tools tools/coverity: Phase 1 study of anti-halicogenic for coverity av_rescale() 2024-07-24 16:52:30 +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: update 2024-08-02 00:57:11 +02:00
configure riscv: test for assembler support 2024-12-07 02:37:17 -05: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 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 Timo Rothenpieler to server admins 2024-07-24 16:52:24 +02:00
Makefile riscv: test for assembler support 2024-12-07 02:37:17 -05:00
README.md README: fix typo and description of libavfilter 2021-10-08 09:44:34 +05:30
RELEASE Update for 6.1.2 2024-04-15 01:02:08 +02:00
RELEASE_NOTES RELEASE_NOTES: Based on the version from 5.1 2023-11-10 23:32:04 +01: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.