1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-28 20:53:54 +02:00
Go to file
Bjorn Roche aba926e7d6 lavfi/paletteuse: fix to support transparency
This patch enables paletteuse to identify the transparency in incoming
video and tag transparent pixels on outgoing video with the correct
index from the palette.

This requires tracking the transparency index in the palette,
establishing an alpha threshold below which a pixel is considered
transparent and above which the pixel is considered opaque, and
additional changes to track the alpha value throughout the conversion
process.

This change is a partial fix for https://trac.ffmpeg.org/ticket/4443
However, animated GIFs are still output incorrectly due to a bug
in gif optimization which does not correctly handle transparency.

Signed-off-by: Clément Bœsch <u@pkh.me>
2017-10-28 17:14:26 +02:00
compat compat/cuda/ptx2c: strip CR from each line 2017-08-30 11:20:34 +02:00
doc lavfi/paletteuse: fix to support transparency 2017-10-28 17:14:26 +02:00
ffbuild build: fix builds configured with a suffix 2017-10-12 19:15:42 -03:00
fftools lavf: Remove AVFMT_RAWPICTURE. 2017-10-26 23:43:11 +02:00
libavcodec Merge commit '95a8a03a191204c3ca5c8cf6b69ab166765d5ff3' 2017-10-27 21:15:34 -03:00
libavdevice Merge commit 'f5950b8fd61ec85e0ad8790bea56b37ceea19436' 2017-10-26 16:46:11 -03:00
libavfilter lavfi/paletteuse: fix to support transparency 2017-10-28 17:14:26 +02:00
libavformat Merge commit '50a1c66cf6ab7eb683daaa9e2da3869fa3a54609' 2017-10-27 18:15:37 -03:00
libavresample Merge commit '07a2b155949eb267cdfc7805f42c7b3375f9c7c5' 2017-10-21 14:57:53 -03:00
libavutil Merge commit '193b09189004ede4a6998e69192d1a9f63602088' 2017-10-26 17:13:14 -03:00
libpostproc postproc: Drop deprecated qp typedef 2017-10-22 00:35:23 -03:00
libswresample lswr/swresample: Mention the actually supported formats when erroring out. 2017-10-28 15:11:18 +02:00
libswscale swscale: use dithering in DITHER_COPY only if not set -sws_dither none 2017-10-25 21:50:37 +02:00
presets
tests Merge commit '4d4d7cf9d539a053f531f662a972b23d335738eb' 2017-10-27 21:16:18 -03:00
tools tools/target_dec_fuzzer: Fix build after AV_CODEC_CAP_HWACCEL_VDPAU was removed 2017-10-25 21:50:37 +02:00
.gitattributes fate: add SCC test 2017-01-27 17:06:42 +01:00
.gitignore build: add support for building .cu files via nvcc 2017-05-15 11:46:50 +02:00
.travis.yml build: Prefer NASM assembler over YASM 2017-06-21 17:00:30 -03:00
Changelog lavc: drop VDA 2017-10-23 11:56:15 +02:00
configure Merge commit 'b62ed6873821c8fce8f7e2c2927ae54f86afeb22' 2017-10-26 16:14:54 -03:00
CONTRIBUTING.md
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS
INSTALL.md
LICENSE.md Merge commit '4fef648d10bf3bcfd4b8fa5755c1128966a2427c' 2017-03-15 22:07:47 +01:00
MAINTAINERS MAINTAINERS: add my GPG fingerprint 2017-10-27 00:33:13 -03:00
Makefile Merge commit 'd1d6230ea3dd2c34bcd121f958706f3177f8d8c5' 2017-10-11 18:37:56 -03:00
README.md
RELEASE RELEASE: update for git after 3.4 branchpoint 2017-10-11 02:46:23 +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 a mean to alter decoded Audio and Video through chain of 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.
  • ffserver is a multimedia streaming server for live broadcasts.
  • 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.