1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-13 21:28:01 +02:00
FFmpeg/doc
Clément Bœsch 320fbf5f24 avfilter/palette{gen,use}: revert support palettes with alpha
This reverts commit dea673d0d5.

This change cannot work for several reasons, the most obvious ones are:

- the alpha is being part of the scoring of the color difference, even
  though we can not interpret the alpha as part of the perception of the
  color (we don't even know if it's premultiplied or postmultiplied)
- the colors are averaged with their alpha value which simply cannot
  work

The command proposed in the original thread of the patch actually
produces a completely broken file:

    ffmpeg -y -loglevel verbose -i fate-suite/apng/o_sample.png -filter_complex "split[split1][split2];[split1]palettegen=max_colors=254:use_alpha=1[pal1];[split2][pal1]paletteuse=use_alpha=1" -frames:v 1 out.png

We can see that many color pixels are off, but more importantly some
colors have a random alpha value: https://imgur.com/eFQ2UK7

I don't see any easy fix for this unfortunately, the approach appears to
be flawed by design.
2023-01-03 17:18:55 +01:00
..
dev_community Doc: Tech Resolution Process 2021-03-11 10:03:38 +01:00
doxy
examples doc/examples/metadata: use av_dict_iterate 2022-12-01 11:21:14 +01:00
.gitignore
APIchanges lavc: add new unsafe_output hwaccel_flag 2022-12-10 00:52:33 +01:00
authors.texi
bitstream_filters.texi avcodec/h264_redundant_pps_bsf: Don't remove PPS 2022-09-25 14:53:45 +02:00
bootstrap.min.css
build_system.txt tools: add a fuzzer tool for bitstream filters 2019-12-05 20:49:15 -03:00
codecs.texi avcodec: add API for automatic handling of icc profiles 2022-07-30 11:42:06 +02:00
decoders.texi doc/decoders: document the max_frame_delay libdav1d option 2022-10-15 19:11:52 -03:00
default.css
demuxers.texi avformat/electronicarts: add option to return alpha channel in the main video stream in VP6A codec 2022-11-22 22:59:51 +01:00
developer.texi doc/developer.texi: extend and update naming conventions 2022-11-23 10:43:41 +01:00
devices.texi
doxy-wrapper.sh doc: fix generating doxy with out-of-tree builds 2021-06-11 19:28:27 +02:00
Doxyfile doc/Doxyfile: Add FF_PAD_STRUCTURE to PREDEFINED 2022-10-17 09:55:19 +02:00
encoders.texi libavcodec/qsvenc: Add skip_frame support to qsvenc 2022-11-07 10:57:12 +08:00
errno.txt
faq.texi doc/faq: update macOS and URLs 2019-02-11 10:13:31 +05:30
fate_config.sh.template
fate.texi doc/fate: add note about showing test names and running a tests subset 2022-04-06 09:22:31 +02:00
ffmpeg-bitstream-filters.texi Remove the ffserver program 2018-01-06 18:31:37 +00:00
ffmpeg-codecs.texi Remove the ffserver program 2018-01-06 18:31:37 +00:00
ffmpeg-devices.texi Remove the ffserver program 2018-01-06 18:31:37 +00:00
ffmpeg-filters.texi Remove the ffserver program 2018-01-06 18:31:37 +00:00
ffmpeg-formats.texi Remove the ffserver program 2018-01-06 18:31:37 +00:00
ffmpeg-protocols.texi Remove the ffserver program 2018-01-06 18:31:37 +00:00
ffmpeg-resampler.texi Remove the ffserver program 2018-01-06 18:31:37 +00:00
ffmpeg-scaler.texi Remove the ffserver program 2018-01-06 18:31:37 +00:00
ffmpeg-utils.texi Remove the ffserver program 2018-01-06 18:31:37 +00:00
ffmpeg.texi ffmpeg: Add display_{rotation, hflip, vflip} options 2022-10-19 11:53:52 +02:00
ffmpeg.txt
ffplay.texi doc/ffplay: put keystrokes to decrease and increase volume on the same line 2022-04-21 12:28:05 +05:30
ffprobe.texi ffprobe: add -o option 2022-06-13 22:42:55 +02:00
ffprobe.xsd fftools/ffprobe: Report initial and trailing padding 2022-09-05 20:32:12 +02:00
fftools-common-opts.texi cmdutils: add an option for listing stream dispositions 2021-11-16 10:51:32 +01:00
filter_design.txt doc: update filter_design.txt. 2017-09-12 11:03:51 +02:00
filters.texi avfilter/palette{gen,use}: revert support palettes with alpha 2023-01-03 17:18:55 +01:00
formats.texi avformat: Remove deprecated AVFMT_FLAG_MP4A_LATM flag, latm option 2021-04-27 10:43:09 -03:00
general_contents.texi avcodec: ViewQuest VQC decoder 2022-10-18 13:20:37 +11:00
general.texi doc/general: move contents into a separate file. 2020-09-08 14:29:19 +02:00
git-howto.texi doc/git-howto.texi: Document commit signing 2022-08-28 22:06:45 +02:00
indevs.texi avdevice/pulse_audio_dec: deprecate frame_size option 2022-06-16 21:28:20 +02:00
issue_tracker.txt Remove the ffserver program 2018-01-06 18:31:37 +00:00
lexicon
libav-merge.txt doc/libav-merge: add a line about the previous skipped merge 2019-02-20 13:51:19 -03:00
libavcodec.texi Remove the ffserver program 2018-01-06 18:31:37 +00:00
libavdevice.texi Remove the ffserver program 2018-01-06 18:31:37 +00:00
libavfilter.texi Remove the ffserver program 2018-01-06 18:31:37 +00:00
libavformat.texi Remove the ffserver program 2018-01-06 18:31:37 +00:00
libavutil.texi Remove the ffserver program 2018-01-06 18:31:37 +00:00
libswresample.texi Remove the ffserver program 2018-01-06 18:31:37 +00:00
libswscale.texi Remove the ffserver program 2018-01-06 18:31:37 +00:00
mailing-list-faq.texi doc/mailing-list-faq.texi: remove remaining references to Freenode 2021-06-18 19:21:11 -03:00
Makefile doc: fix css file install for out-of-tree builds 2022-04-19 13:04:42 +02:00
metadata.texi doc/metadata: fix error in timebase description 2018-12-14 12:57:34 +01:00
mips.txt
multithreading.txt avcodec: deprecate thread_safe_callbacks 2020-11-27 15:46:50 +01:00
muxers.texi avformat/segment: add option min_seg_duration 2022-12-29 15:43:40 +05:30
nut.texi
optimization.txt doc: reference the RISC-V specification 2022-09-13 16:50:43 -03:00
outdevs.texi avdevice/decklink: support for more duplex mode for Decklink 8K Pro 2021-08-16 10:00:39 +08:00
patchwork
platform.texi configure: error out on unsupported MSVC versions 2018-05-18 02:22:57 +01:00
print_options.c
protocols.texi doc/protocols: Remove IPFS urls to specific content in examples 2022-12-12 21:47:02 +00:00
rate_distortion.txt
resampler.texi
scaler.texi doc/swscaler: explain default Lanczos parameter 2019-05-27 21:32:33 +05:30
snow.txt doc/snow: fix typos 2019-02-10 16:46:56 +01:00
style.min.css
swresample.txt
swscale.txt
t2h.init
t2h.pm doc/t2h.pm: fix missing TOC with texinfo 6.8 and above 2021-11-14 09:30:06 +05:30
tablegen.txt
texi2pod.pl doc/texi2pod: support @float. 2020-09-08 14:29:19 +02:00
texidep.pl
transforms.md x86/tx_float: add 15xN PFA FFT AVX SIMD 2022-09-23 12:35:27 +02:00
undefined.txt doc: Add initial documentation explaining undefined behavior and SUINT 2017-07-21 17:37:05 +02:00
utils.texi avutil/channel_layout: add a 7.1(top) channel layout 2022-11-03 19:39:45 -03:00
writing_filters.txt Update missed irc links 2021-06-18 18:58:25 +02:00