FFmpeg git repo
Go to file
llyyr bbd0c2f131
lavc/vp9: reset segmentation fields when segmentation isn't enabled
Fields under the segmentation switch are never reset on a new frame, and
retain the value from the previous frame. This bugs out a bunch of
hwaccel drivers when segmentation is disabled but update_map isn't
reset because they don't ignore values behind switches. This commit also
resets the temporal field, though it may not be required.

We also do this for vp8 [1] so this commit is just mirroring the vp8
logic.

This fixes an issue with certain samples [2] that causes blocky
artifacts with vaapi, d3d11va and cuda (and possibly others).
Mesa worked around [3] this by ignoring these fields if
segmentation.enabled is 0, but d3d11va still displays blocky artifacts.

[1] 2e877090f9:/libavcodec/vp8.c#l797
[2] https://github.com/mpv-player/mpv/issues/13533
[3] https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27816

Signed-off-by: llyyr <llyyr.public@gmail.com>
2024-05-27 12:45:57 +02:00
compat compat/cuda: correct ushort4 to use ushort 2021-02-22 17:03:52 +01:00
doc doc/html: fix styling issue with Texinfo 7.0 2023-12-21 22:44:01 +01:00
ffbuild ffbuild: Avoid using the --preprocessor argument to windres 2021-06-24 23:25:30 +03:00
fftools fftools/ffmpeg: Fix crash when flushing non-fully setup output stream 2021-10-08 11:31:37 -03:00
libavcodec lavc/vp9: reset segmentation fields when segmentation isn't enabled 2024-05-27 12:45:57 +02:00
libavdevice lavd/v4l2: Use proper field type for second parameter of ioctl() with BSD's 2024-05-18 18:20:17 -04:00
libavfilter avfilter/vf_signature: Dont crash on no frames 2024-04-03 02:06:08 +02:00
libavformat avformat/mxfdec: Check index_edit_rate 2024-04-04 21:10:44 +02:00
libavresample avresample: remove deprecated attribute from the AVAudioResampleContext struct 2018-01-09 10:56:53 -03:00
libavutil avutil/ppc/cpu: Also use the machdep.altivec sysctl on NetBSD 2024-05-18 19:03:35 -04:00
libpostproc Bump Versions before release/4.4 branch 2021-03-20 01:01:12 +01:00
libswresample libswresample/audioconvert: Fix undefined NULL + 0 2021-04-02 21:39:54 +02:00
libswscale swscale/utils: Fix xInc overflow 2024-04-04 21:09:47 +02:00
presets
tests fate/subtitles: Ignore line endings for sub-scc test 2024-04-14 03:25:00 +02:00
tools tools/target_dec_fuzzer: Adjust threshold for rtv1 2023-12-21 22:43:50 +01:00
.gitattributes fate: add SCC test 2017-01-27 17:06:42 +01:00
.gitignore tools/python: add script to convert TensorFlow model (.pb) to native model (.model) 2019-07-01 10:23:47 -03:00
.mailmap mailmap: add entry for myself 2021-03-09 02:09:55 +00:00
.travis.yml Merge commit '899ee03088d55152a48830df0899887f055da1de' 2019-03-14 15:53:16 -03:00
CONTRIBUTING.md
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS Use https for repository links 2023-04-07 23:40:46 +02:00
Changelog Changelog: update 2024-04-14 20:31:14 +02: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 ED25519 key for signing my commits in the future 2022-09-25 13:51:50 +02:00
Makefile avcodec: move core AVCodecContext functions from util.c to a new file 2021-03-19 15:35:35 -03:00
README.md Remove the ffserver program 2018-01-06 18:31:37 +00:00
RELEASE Update for FFmpeg 4.4.4 2023-04-08 00:06:21 +02:00
RELEASE_NOTES Update missed irc links 2021-06-18 20:53:56 +02:00
configure configure: enable ffnvcodec, nvenc, nvdec for FreeBSD 2024-05-26 19:32:54 -04:00

README.md

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 a mean to alter decoded Audio and Video through chain of 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.