No description
Find a file
Niklas Haas e29a99a975 fftools/ffmpeg_enc: don't ignore user selected chroma location
This code always ignored the user-provided enc_ctx->chroma_sample_location
in favor of the location tagged on the frame. This leads to a very (IMHO)
unexpected outcome where -chroma_sample_location works differently from the
related options like -colorspace and -color_range, the latter of which
override the frame properties as a consequence of being configured on the
filter graph output.

The discrepancy comes from the fact that the chroma sample location does not
itself participate in filter graph negotiation.

Solve the situation by only overriding the enc_ctx option if it was left
unspecified by the user, and otherwise printing a warning if the requested
parameter does not match the frame parameter.
2025-08-11 09:38:38 +02:00
.forgejo forgejo/autolabeler: clean up logic a bit and prevent self-looping 2025-08-10 01:50:46 +02:00
compat all: fix typos found by codespell 2025-08-03 13:48:47 +02:00
doc ffprobe: add -codec:<media_spec> option and -c:<media_spec> variant 2025-08-10 10:19:57 +02:00
ffbuild all: fix typos found by codespell 2025-08-03 13:48:47 +02:00
fftools fftools/ffmpeg_enc: don't ignore user selected chroma location 2025-08-11 09:38:38 +02:00
libavcodec avcodec/vp9: fix leaked cbs fragment AVBufferRef 2025-08-10 13:23:33 -04:00
libavdevice Bump versions for master after release/8.0 2025-08-09 18:03:05 +02:00
libavfilter Bump versions for master after release/8.0 2025-08-09 18:03:05 +02:00
libavformat avformat/mov: clear old name from infe 2025-08-11 01:25:05 +00:00
libavutil lavu/log: fix color for AV_CLASS_CATEGORY_HWDEVICE on non-Win32 2025-08-10 02:24:56 +00:00
libswresample Bump versions for master after release/8.0 2025-08-09 18:03:05 +02:00
libswscale Bump versions for master after release/8.0 2025-08-09 18:03:05 +02:00
presets presets: remove moldering iPod presets 2014-06-17 16:15:04 -08:00
tests checkasm: ac3dsp: Increase the float tolerance for sum_square_butterfly_float 2025-08-10 02:27:44 +00:00
tools tools/target_fuzzer: don't spam stderr 2025-08-05 03:27:54 +02:00
.gitattributes gitattributes: End merge conflicts in Changelog 2025-03-17 15:26:10 +01:00
.gitignore forgejo/workflows: add initial rudimentary CI 2025-07-22 20:06:20 +02:00
.mailmap mailmap: add entry for myself 2025-08-08 21:51:15 +00:00
Changelog ffprobe: add -codec:<media_spec> option and -c:<media_spec> variant 2025-08-10 10:19:57 +02:00
configure libavfilter: Whisper audio filter 2025-08-08 21:59:56 +02:00
CONTRIBUTING.md Add CONTRIBUTING.md 2016-09-18 10:02:13 +01:00
COPYING.GPLv2 Rename COPYING.GPL --> COPYING.GPLv2 and COPYING.LGPL --> COPYING.LGPLv2.1. 2009-06-05 09:51:31 +00:00
COPYING.GPLv3 Add configure option to upgrade (L)GPL to version 3. 2009-06-05 11:04:03 +00:00
COPYING.LGPLv2.1 all: fix whitespace/new-line issues 2025-08-03 13:48:47 +02:00
COPYING.LGPLv3 Add configure option to upgrade (L)GPL to version 3. 2009-06-05 11:04:03 +00:00
CREDITS Use https for repository links 2023-03-01 21:59:10 +01:00
FUNDING.json Add FUNDING.json 2025-06-23 14:48:40 +02:00
INSTALL.md all: fix typos found by codespell 2025-08-03 13:48:47 +02:00
LICENSE.md Remove libpostproc 2025-05-07 15:35:47 +02:00
MAINTAINERS MAINTAINERS: add myself as hwcontext_d3d12va maintainer 2025-08-08 21:51:15 +00:00
Makefile Makefile: Split ALLFFLIBS 2025-05-26 20:33:10 +02:00
README.md README: fix typo and description of libavfilter 2021-10-08 09:44:34 +05:30
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.