mpv/sub
wm4 27c5550de2 sd_lavc: implement --sub-pos for bitmap subtitles
Simple enough to do. May have mixed results. Typically, bitmap subtitles
will have a tight bounding box around the rendered text. But if for
example there is text on the top and bottom, it may be a single big
bitmap with a large transparent area between top and bottom. In
particular, DVD subtitles are really just a single screen-sized
RLE-encoded bitmap, though libavcodec will crop off transparent areas.

Like with sd_ass, you can't move subtitles _down_ if they are already in
their origin position. This could probably be improved, but I don't want
to deal with that right now.
2019-09-19 20:37:04 +02:00
..
ass_mp.c
ass_mp.h
dec_sub.c Implement backwards playback 2019-09-19 20:37:04 +02:00
dec_sub.h Implement backwards playback 2019-09-19 20:37:04 +02:00
draw_bmp.c
draw_bmp.h
filter_sdh.c sub: recognize UTF-8 characters in SDH subtitle filter 2019-03-02 02:05:58 +01:00
img_convert.c
img_convert.h
lavc_conv.c sub/sd_ass: utilize UINT32_MAX subtitle duration for unknown 2019-09-19 00:02:03 +03:00
osd.c osd: another shitty pointless UB 2018-12-06 10:34:06 +01:00
osd.h
osd_dummy.c
osd_font.otf
osd_libass.c
osd_state.h
sd.h sub/lavc_conv: switch to the newer "ass" subtitle decoding mode 2019-09-19 00:02:03 +03:00
sd_ass.c sub/sd_ass: always set the libass track type to TRACK_TYPE_ASS 2019-09-19 00:02:03 +03:00
sd_lavc.c sd_lavc: implement --sub-pos for bitmap subtitles 2019-09-19 20:37:04 +02:00