[MPlayer-dev-eng] [PATCH] A new ASS renderer

Vladimir Mosgalin mosgalin at VM10124.spb.edu
Sun Sep 23 21:19:09 CEST 2012


Hi wm4!

 On 2012.09.23 at 18:48:44 +0200, wm4 wrote next:

> Reasons why I did that included:
> 1. It was using display lists, a deprecated OpenGL feature, which
> triggered my OCD.
> 2. It potentially wasted video memory.
> 3. It didn't work well on OSX.
> 
> I also tested on Linux + nvidia binary blob. Loading a very complex ASS
> script (~70 MB) and playing 5 seconds takes 46 seconds with my hacked
> -vo gl, and 70 seconds with vanilla vo_gl. That test was very flawed
> though; these two builds weren't even from the same git revision /
> compiler / ffmpeg, and I don't remember the difference being that high.

Is it possible to check your version of vo_gl? I wonder if it's the
solution to (ultra slow, making mplayer drop frames) karaoke rendering
issue that I have on Radeon 4870 series with OSS drivers. In fact, for
quite some time I'm always using mplayer with
"vf-add = scale=2560:-2,ass" in config, simply because it is much faster
(scale filter + vf_ass rendering) than native vo_gl rendering when
karaoke is used. Scale filter is required to render subtiles at native
size to get same quality as vo_gl rendering, however it has negative
effects (when playing video in window, GPU downscales these
pre-rendered fonts which makes them somewhat ugly & aliased, but I can
live with that).

-- 

Vladimir


More information about the MPlayer-dev-eng mailing list