Opened 15 years ago

Last modified 15 years ago

#1327 new defect

Subtitles don't disappear from -vf expanded area (using ASS)

Reported by: zajec5@… Owned by: eugeni.stepanov@…
Priority: normal Component: vf
Version: unspecified Severity: normal
Keywords: Cc:
Blocked By: Blocking:
Reproduced by developer: no Analyzed by developer: no

Description

I experienced this problem already months ago, so it's not recent regression bug. There is another report about ASS and -vf expand (bug #913) but I don't think it's related to this one.

Currently I use mplayer revision 27637 and start movie using:
mplayer -sub-fuzziness 2 -ass -vf expand=0:-55:0:0 file.mov

The problem is that subtitles rendered in black (expanded) area don't disappear. As the result after seeing a few next lines of subtitles there is big mess in this expanded area.

System:
openSUSE 11.0
self-compiled kernel 2.6.28-rc3
radeonhd without dri

Attachments (1)

mplayer.ass.expand.png (109.6 KB ) - added by zajec5@… 15 years ago.
Screenshot of messed expanded area

Download all attachments as: .zip

Change History (7)

by zajec5@…, 15 years ago

Attachment: mplayer.ass.expand.png added

Screenshot of messed expanded area

comment:1 by zajec5@…, 15 years ago

comment:2 by eugeni.stepanov@…, 15 years ago

The problem is in vf_expand, not in libass, and it is really old.
Anyway, there is a better way to get libass-rendered subtitles on a bottom margin. Use -ass -ass-bottom-margin=55 -ass-use-margins. It will move those subtitles that should be displayed at the bottom of the video to the bottom margin, and keep everything else in place.

comment:3 by eugeni.stepanov@…, 15 years ago

Component: libassvf

comment:4 by compn, 15 years ago

i think the problem is related to odd-size resolution (expand=0:-55:0:0).
please use a multiple of 16 for video (expand=0:-64:0:0)

comment:5 by zajec5@…, 15 years ago

I tested this method:
mplayer -sub-fuzziness 2 -ass -vf expand=0:-64:0:0 movie.mov
with video 1280x694:

VDec: vo config request - 1280 x 694 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.84:1 - prescaling to correct movie aspect.
VO: [x11] 1280x758 => 1280x758 Planar YV12

but I still experience this problem. Mentioned ass margin works fine.

comment:6 by zajec5@…, 15 years ago

I tried
expand=0:-16:0:0
expand=0:-32:0:0
expand=0:-48:0:0
expand=0:-64:0:0
expand=0:-128:0:0
it always happen.

Note: See TracTickets for help on using tickets.