1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-29 18:42:09 +00:00
mpv/sub
wm4 dd08018e9e sub: adjust behavior on mismatching video/subtitle aspect mismatch
If the aspect ratio of the video resolution and the subtitle resolution
(the implied subtitle coordinate system) mismatch, the subtitles
obviously can't be overlayed over the video perfectly. Either you get
video that can't be covered by subtitles, or the subtitles could go
beyond the video. We don't want to stretch the subtitle to compensate
for the aspect ratio, because it would look terrible.

Until now, mpv used to fit the subtitle rectangle into the video
rectangle (letterboxing/pillarboxing). This looks odd with some sample
files with subtitle canvas being wider than the video. Also, mpc-hc
displays them in a better way. vlc stretches them, which looks bad.
While you probably can't win this game with all those broken files
around, pick the mpc-hc method to handle this.
2015-10-21 23:07:39 +02:00
..
ass_mp.c Update license headers 2015-04-13 12:10:01 +02:00
ass_mp.h Update license headers 2015-04-13 12:10:01 +02:00
dec_sub.c charset_conv: make it possible to return an allocated string as guess 2015-08-01 23:49:37 +02:00
dec_sub.h sub: protect ASS_Renderer state 2015-07-06 21:55:37 +02:00
draw_bmp.c Update license headers 2015-04-13 12:10:01 +02:00
draw_bmp.h csputils: get rid of mp_csp_details 2015-01-06 16:50:58 +01:00
img_convert.c Update license headers 2015-04-13 12:10:01 +02:00
img_convert.h
osd_dummy.c Add some missing "const"s 2014-10-10 13:44:08 +02:00
osd_font.otf osd+osc: Add left-arrow to osd-font 2014-08-21 18:45:41 +02:00
osd_libass.c osd: delay libass initialization as far as possible 2015-09-07 14:26:01 +02:00
osd_state.h player: remove higher-level remains of DVD/BD menu support 2015-08-03 23:49:14 +02:00
osd.c sub: adjust behavior on mismatching video/subtitle aspect mismatch 2015-10-21 23:07:39 +02:00
osd.h player: remove higher-level remains of DVD/BD menu support 2015-08-03 23:49:14 +02:00
sd_ass.c sd_ass: assume negative durations are unknown durations, and handle them 2015-08-27 23:45:02 +02:00
sd_lavc_conv.c Take care of libavcodec convergence_duration deprecation 2015-09-29 18:43:28 +02:00
sd_lavc.c sd_lavc: extend subtitle resolution if images go outside 2015-10-21 21:33:02 +02:00
sd_lavf_srt.c Move compat/ and bstr/ directory contents somewhere else 2014-08-29 12:31:52 +02:00
sd_microdvd.c Update license headers 2015-04-13 12:10:01 +02:00
sd_movtext.c
sd_srt.c Update license headers 2015-04-13 12:10:01 +02:00
sd.h sub: protect ASS_Renderer state 2015-07-06 21:55:37 +02:00