[MPlayer-dev-eng] [PATCH] A new ASS renderer
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Sun Sep 23 21:32:07 CEST 2012
On Sun, Sep 23, 2012 at 11:19:09PM +0400, Vladimir Mosgalin wrote:
> 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.
Have a sample at hand? The subtitles I have around are probably usually
too simple.
Also a "perf record"/"perf report" trace with MPlayer debug build and debug symbols
for the driver binaries might help figuring out the cause.
More information about the MPlayer-dev-eng
mailing list