[FFmpeg-devel] [PATCH] lavc/libzvbi: base support for multiple levels
Josh de Kock
josh at itanimul.li
Sat Feb 18 04:48:06 EET 2017
On 18/02/2017 00:51, Marton Balint wrote:
> On Fri, 17 Feb 2017, Josh de Kock wrote:
>> Also add support for level 1.0 explicitly.
> What is the use case for this? Reducing the number of colors?
> I don't think you can reduce the number of colors based on teletext
> level, because libzvbi uses high (>32) colors for navigation, which is
> also part of level 1.0.
> Also, I don't think you can skip fix_transparency.
Does level 1.0 support transparency?
> And by reducing to level 1.0, you are excluding a lot of users, many
> countries use the extra international characters level 1.5 provides.
1.5 could be done instead.
> If you only want to reduce the number of colors, then I prefer an option
> which makes the code go through every pixel, find the minimum color
> value, and sets nb_colors to that. Still a hack, but IMHO small enough
> to be acceptable, until subtitle filters are implemented, and you can do
> this with a filter.
Not entirely sure what you mean by this, shouldn't the nb_colors be set
based on the CLUT?
PGP fingerprint: A93A602D7A6D3C5388D792BCD052D40DDEF9703D
More information about the ffmpeg-devel