1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00
Go to file
Niklas Haas e2637a083a swscale/utils: add SwsFormat abstraction and helpers
Groups together all relevant color metadata from an AVFrame. While we could
use AVFrame directly, keeping it a separate struct has three advantages:

1. Functions accepting an SwsFormat will definitely not care about the
   data pointers.
2. It clearly separates sanitized and raw metadata, since the function to
   construct an SwsFormat from an AVFrame will also sanitize.
3. It's slightly more lightweight to pass around.

Move these into a new header file "utils.h" to avoid crowding
swscale_internal.h even more, and also to solve a circular dependency issue
down the line.

Sponsored-by: Sovereign Tech Fund
Signed-off-by: Niklas Haas <git@haasn.dev>
2024-10-23 23:04:06 +02:00
compat
doc swscale: add sws_free_context() 2024-10-23 23:04:04 +02:00
ffbuild
fftools fftools/ffmpeg_sched: be smarter about flushing the pre-muxing queues 2024-10-17 10:57:18 +02:00
libavcodec avcodec/vvc/thread: Check frame to be non NULL 2024-10-20 20:36:15 +08:00
libavdevice avdevice/dshow: fix unused variable warning 2024-10-17 13:04:17 +02:00
libavfilter avfilter/vf_pixdesctest: also take into account undefined alpha components 2024-10-21 09:52:58 -03:00
libavformat lavf/mxfdec: Set a scan direction explicitly 2024-10-21 11:14:24 +02:00
libavutil avutil/pixfmt: add Y216 pixel format 2024-10-23 14:11:16 -03:00
libpostproc
libswresample arm: Consistently use proper interworking function returns 2024-10-09 15:52:51 +03:00
libswscale swscale/utils: add SwsFormat abstraction and helpers 2024-10-23 23:04:06 +02:00
presets
tests swscale/output: add Y216LE output support 2024-10-23 14:11:35 -03:00
tools
.gitattributes
.gitignore
.mailmap
Changelog configure: drop yasm support 2024-10-06 01:32:47 +02:00
configure configure: Only try to use the -no_warn_duplicate_libraries flag on Darwin 2024-10-15 09:53:14 +03:00
CONTRIBUTING.md
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
INSTALL.md
LICENSE.md
MAINTAINERS MAINTAINERS: update myself for dvdvideo, rcwtdec, rcwtenc 2024-09-29 17:38:12 +02:00
Makefile
README.md
RELEASE RELEASE: update release number after release/7.1 branch 2024-10-09 01:55:50 +02: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.