1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-27 09:32:40 +00:00
mpv/sub
wm4 402f85f7f2 sub: add webvtt-in-webm support
The way this was added to FFmpeg is less than ideal, because it requires
text parsing in the Matroska demuxer. But in order to use the FFmpeg
webvtt-to-ass converter, we still have to mimic this in some way. We do
this by putting the parsing into sd_lavc_conv.c, before the subtitle
packet is passed to libavcodec. At least this keeps the ugliness out of
unrelated code.

There is some change that FFmpeg will fix their design eventually.

Instead of rewriting the parsing code, we simply borrow it from FFmpeg's
Matroska demuxer.
2013-08-24 15:17:37 +02:00
..
ass_mp.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
ass_mp.h sub: add demux_libass wrapper, drop old hacks 2013-06-25 00:11:56 +02:00
dec_sub.c sub: don't print detected charset if it's UTF-8 2013-08-15 23:40:04 +02:00
dec_sub.h sd_add: add terrible hack for (xy-)vsfilter compatibility 2013-07-15 02:01:37 +02:00
draw_bmp.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
draw_bmp.h vo_xv, vo_x11: simplify OSD redrawing 2013-01-13 20:04:12 +01:00
find_subfiles.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
find_subfiles.h sub: remove vobsub reader in favor of ffmpeg vobsub demuxer 2012-12-11 00:37:54 +01:00
img_convert.c Revert "sub: support straight alpha additionally to premultiplied alpha" 2013-08-12 02:49:22 +02:00
img_convert.h Revert "sub: support straight alpha additionally to premultiplied alpha" 2013-08-12 02:49:22 +02:00
osd_dummy.c sub: allow rendering OSD in ASS image format directly, simplify 2012-10-16 07:26:30 +02:00
osd_font.otf osd: convert OSD font to OpenType 2013-04-27 18:03:19 +02:00
osd_libass.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
sd_ass.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
sd_lavc_conv.c sub: add webvtt-in-webm support 2013-08-24 15:17:37 +02:00
sd_lavc.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
sd_lavf_srt.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
sd_microdvd.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
sd_movtext.c sd_ass: disable special handling of subtitles with duration 0 2013-06-25 00:11:54 +02:00
sd_spu.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
sd_srt.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
sd.h dec_sub: introduce sub_control(), use it for sub_step 2013-06-29 22:58:14 +02:00
spudec.c core: move contents to mpvcore (2/2) 2013-08-06 22:52:31 +02:00
spudec.h sub: add sd_spu.c to wrap spudec, cleanup mplayer.c 2013-05-30 22:40:32 +02:00
sub.c Revert "sub: support straight alpha additionally to premultiplied alpha" 2013-08-12 02:49:22 +02:00
sub.h Revert "sub: support straight alpha additionally to premultiplied alpha" 2013-08-12 02:49:22 +02:00