FFmpeg git repo
Go to file
Leo Izen 6f79f0971e
avcodec/png: support cICP chunks
This commit adds both decode and encode support for cICP chunks, which
allow a PNG image's pixel data to be tagged by any of the enum values in
H.273, without an ICC profile.

Upon decode, if a cICP chunk is present, the PNG decoder will tag output
AVFrames with the resulting enum color, and ignore iCCP, sRGB, gAMA, and
cHRM chunks, as per the spec.

Upon encode, if the color space is known and specified, and it is not sRGB,
the PNG encoder will output a cICP chunk containing the color space. If the
color space is sRGB, then it will output an sRGB chunk instead of a cICP
chunk. If the color space of the input is not unspecified, it will not output
a cICP chunk tagging the PNG as unspecified.

In either the sRGB case or the non-SRGB case, gAMA and cHRM are still written
as fallbacks provided the info is known.

Signed-off-by: Leo Izen <leo.izen@gmail.com>
2023-01-25 08:09:24 -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/png: support cICP chunks 2023-01-25 08:09:24 -05:00
libavdevice avdevice/avfoundation: convert to new channel layout-API 2022-11-08 14:08:05 -03:00
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 postproc/postprocess_template: Fix alignment 2022-11-09 17:39:00 +01:00
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 mailmap: stop git lying about who I commit things as 2022-11-04 19:37:46 +01:00
.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 MAINTAINERS: add myself as amfenc* maintainer 2022-11-10 16:28:07 +01:00
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.