[FFmpeg-trac] #11606(avcodec:new): avcodec/dvbsubenc: Broken dvb_encode_rle8
FFmpeg
trac at avcodec.org
Sun Aug 3 20:31:40 EEST 2025
#11606: avcodec/dvbsubenc: Broken dvb_encode_rle8
-------------------------------------+-----------------------------------
Reporter: pbk | Owner: (none)
Type: defect | Status: new
Priority: normal | Component: avcodec
Version: unspecified | Resolution:
Keywords: | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-----------------------------------
Comment (by pbk):
Hi,
I think you are missing following line in the Table 26: 8-bits per pixel
code string:
8-bit_zero 8 bslbf
So, the total zero bits are 16 (8 + 1 + 7).
When I was developing my own ffmpeg TS muxer with ability to convert
ttml/sgml/vwtt to DVB, I couldn't figure out what the hell is wrong.
Subtitle rendering in both VLC anf MPC-HC was completely messed.
After adding the missing zero byte to the end of the string, both players
started to render the subtitles perfectly.
--
Ticket URL: <https://trac.ffmpeg.org/ticket/11606#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list