1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-12 19:18:44 +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
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
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
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
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
ffmpeg-codecs.texi
ffmpeg-devices.texi
ffmpeg-filters.texi
ffmpeg-formats.texi
ffmpeg-protocols.texi
ffmpeg-resampler.texi
ffmpeg-scaler.texi
ffmpeg-utils.texi
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
filter_design.txt
filters.texi avfilter/palette{gen,use}: revert support palettes with alpha 2023-01-03 17:18:55 +01:00
formats.texi
general_contents.texi avcodec: ViewQuest VQC decoder 2022-10-18 13:20:37 +11:00
general.texi
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
lexicon
libav-merge.txt
libavcodec.texi
libavdevice.texi
libavfilter.texi
libavformat.texi
libavutil.texi
libswresample.texi
libswscale.texi
mailing-list-faq.texi
Makefile doc: fix css file install for out-of-tree builds 2022-04-19 13:04:42 +02:00
metadata.texi
mips.txt
multithreading.txt
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
patchwork
platform.texi
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
snow.txt
style.min.css
swresample.txt
swscale.txt
t2h.init
t2h.pm
tablegen.txt
texi2pod.pl
texidep.pl
transforms.md x86/tx_float: add 15xN PFA FFT AVX SIMD 2022-09-23 12:35:27 +02:00
undefined.txt
utils.texi avutil/channel_layout: add a 7.1(top) channel layout 2022-11-03 19:39:45 -03:00
writing_filters.txt