FFmpeg git repo
Go to file
Leo Izen f7bab37c8e
avcodec/pngdec: support decoding sRGB chunks
If an sRGB chunk is present in the PNG file, this commit will cause the
png decoder to ignore the cHRM and gAMA chunks and tag the resulting AVFrames
with BT.709 primaries, and ISO/IEC 61966-2-1 transfer. If these tags are
present in the AVFrame, pngenc.c already writes this chunk, so no change was
needed on the encode-side.

The PNG spec does not define what happens if sRGB and iCCP are present at
the same time, it just recommends that this not happen. As of this patch,
the decoder will have the ICC profile take precedence, and it will not tag
the pixel data as sRGB.

Signed-off-by: Leo Izen <leo.izen@gmail.com>
2023-01-25 08:09:20 -05:00
compat
doc avfilter/vf_cropdetect: add ability to change limit at runtime 2023-01-24 21:53:53 +01:00
ffbuild
fftools ffprobe: fix data hash rendering 2023-01-24 23:58:00 +01:00
libavcodec avcodec/pngdec: support decoding sRGB chunks 2023-01-25 08:09:20 -05:00
libavdevice
libavfilter avfilter/vf_scdet: fix introduced discrepancy with latest change 2023-01-24 22:02:45 +01:00
libavformat avformat: add WADY demuxer 2023-01-24 16:58:01 +01:00
libavutil avutil: introduce AVAmbientViewingEnvironment side data 2023-01-13 21:26:13 +02:00
libpostproc
libswresample swresample/swresample_frame: fix regression in detecting changes 2023-01-04 18:19:07 +01:00
libswscale swscale/utils: Fix indentation 2022-11-24 21:02:57 +01:00
presets
tests avcodec/png: use libavutil/csp.h for cHRM chunks 2023-01-25 08:09:16 -05:00
tools tools/target_dec_fuzzer: Adjust threshold for RSCC 2022-12-01 21:43:57 +01:00
.gitattributes
.gitignore
.mailmap
.travis.yml
CONTRIBUTING.md
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
Changelog avformat: add WADY demuxer 2023-01-24 16:58:01 +01:00
INSTALL.md
LICENSE.md
MAINTAINERS
Makefile
README.md
RELEASE
configure avcodec/vaapi_encode_h26x: passthrough A53 CC data as H264/HEVC SEI 2023-01-17 10:10:52 +08: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 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.