As noted in the code in several places, some DVB subtitle decoders
don't handle 2bpp color. This patch adds a disable_2bpp option which
disables the 2bpp format; subtitles which would use 2bpp will be bumped
up to 4bpp. Per suggestion from sw, disable_2pp defaults to true.
Signed-off-by:
> On 2 Mar 2025, at 15:00, Soft Works wrote:
>
>
>
>> -Original Message-
>> From: ffmpeg-devel On Behalf Of Ronan
>> Waide
>> Sent: Samstag, 1. März 2025 16:32
>> To: ffmpeg-devel@ffmpeg.org
>> Cc: Ronan Waide
>> Subject: [
a disable_2bpp option to
>> work around some decoders.
>>
>> As noted in the code in several places, some DVB subtitle decoders
>> don't handle 2bpp color. This patch adds a disable_2bpp option which
>> disables the 2bpp format; subtitles which would use 2bp
hich would use 2bpp will be bumped
up to 4bpp.
Signed-off-by: Ronan Waide
---
doc/encoders.texi | 27 ++
libavcodec/dvbsubenc.c | 85 +-
2 files changed, 95 insertions(+), 17 deletions(-)
diff --git a/doc/encoders.texi b/doc/encoders.
> On 1 Mar 2025, at 14:10, Ronan Waide wrote:
>
> (changes from previous attempt: fixed an error in the docfile and made sure
> I'm diffing against origin/master)
>
> As noted in the code in several places, some DVB subtitle decoders
> don't handle 2bpp color.
ust going to hit the same problem.
Cheers,
Waider.
--
Ronan Waide
wai...@waider.ie
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
ffmpeg-devel-requ..
> On 2 Mar 2025, at 20:38, Soft Works
> wrote:
>
>
>
>> -Original Message-
>> From: ffmpeg-devel On Behalf Of Ronan
>> Waide
>> Sent: Sonntag, 2. März 2025 18:24
>> To: ffmpeg-devel@ffmpeg.org
>> Cc: Ronan Waide
>> Subject
ent code is such that it relies more on the number of colours than
the bits-per-pixel so that would have been a more intrusive change.
Cheers,
Waider.
--
Ronan Waide
wai...@waider.ie
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffm
As noted in the code in several places, some DVB subtitle decoders
don't handle 2bpp color. This patch adds a disable_2bpp option which
disables the 2bpp format; subtitles which would use 2bpp will be bumped
up to 4bpp.
Signed-off-by: Ronan Waide
---
doc/encoders.texi
> On 1 Mar 2025, at 15:00, Soft Works
> wrote:
>
>
>
>> -Original Message-
>> From: ffmpeg-devel On Behalf Of Ronan
>> Waide
>> Sent: Samstag, 1. März 2025 15:30
>> To: ffmpeg-devel@ffmpeg.org
>> Subject: Re: [FFmpeg-devel] [PATC
As noted in the code in several places, some DVB subtitle decoders
don't handle 2bpp color. This patch adds a disable_2bpp option which
disables the 2bpp format; subtitles which would use 2bpp will be bumped
up to 4bpp.
Signed-off-by: Ronan Waide
---
doc/encoders.texi
11 matches
Mail list logo