No description
Find a file
Ramiro Polla 748e960e04 swscale/swscale_unscaled: fix packed16togbra16() for formats with bpc between 9-14 bits
Currently, packed16togbra16() always sets the alpha value to 0xFFFF,
without taking the bit depth into consideration.

This causes a bug on x86, which can be reproduced with:
./libswscale/tests/swscale -unscaled 1 -src xyz12le -dst gbrap12be

The problem arises in ff_hscale14to15_4_ssse3(), in the conversion
from gbrap12be to yuva444p, which comes after the conversion from
xyz12le to gbrap12be.

It has something to do with pmaddwd not working on unsigned values.
There is some code to deal with 0xFFFF if the input has a bit depth of
16, but not for bit depths < 16.
We could fix ff_hscale14to15_4_ssse3() to also work correctly with
0xFFFF on bit depths < 16, or we could just not write 0xFFFF there in
the first place, which is what this commit does.
2025-05-23 00:01:04 +02:00
compat compat/cuda: add device side printf function 2025-05-14 22:08:33 +02:00
doc doc/examples/qsv_decode: use av_err2str 2025-05-22 22:26:30 +02:00
ffbuild build: remove unused SLIBOBJS variable 2025-05-22 23:59:03 +02:00
fftools ffmpeg: Don't print graphs if there are no outputs yet 2025-05-18 15:17:41 +01:00
libavcodec vulkan/ffv1: fix sync issue in cached bitstream reader/writer 2025-05-23 05:23:44 +09:00
libavdevice avfoundation: Fix compilation for OSes other than macOS and iOS 2025-04-04 17:12:33 +03:00
libavfilter avfilter/vf_interlace_vulkan: fix FPS and PTS calculation 2025-05-21 16:10:55 +02:00
libavformat rtpdec: Set bitrate for pcm-mulaw audio 2025-05-22 22:11:37 +02:00
libavutil avutil/refstruct: Remove redundant check 2025-05-22 15:12:54 +02:00
libswresample libs: bump major version for all libraries 2025-03-28 14:44:34 -03:00
libswscale swscale/swscale_unscaled: fix packed16togbra16() for formats with bpc between 9-14 bits 2025-05-23 00:01:04 +02:00
presets
tests tests/fate/qt: Use passthrough fps_mode for svq3-watermark 2025-05-21 03:10:52 +02:00
tools tools/merge-all-source-plugins: Check that there are no uncommited changes 2025-05-15 16:19:59 +02:00
.gitattributes gitattributes: End merge conflicts in Changelog 2025-03-17 15:26:10 +01:00
.gitignore ffmpeg/repo: Add dot-folders in the repository root to .gitignore 2025-04-19 17:29:12 +02:00
.mailmap mailmap: add entry for myself 2024-07-15 01:59:37 +02:00
Changelog Changelog: VVC supports all content of SCC 2025-05-17 09:24:01 +08:00
configure configure: identify loong64 for loongarch 2025-05-20 21:19:53 +08:00
CONTRIBUTING.md
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS Use https for repository links 2023-03-01 21:59:10 +01:00
INSTALL.md Add tools/merge-all-source-plugins 2025-05-15 12:17:04 +02:00
LICENSE.md Remove libpostproc 2025-05-07 15:35:47 +02:00
MAINTAINERS MAINTAINERS: Add entry for samples-request 2025-05-15 03:03:54 +02:00
Makefile build: remove unused SLIBOBJS variable 2025-05-22 23:59:03 +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.