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

Clément Bœsch ubitux at gmail.com
Sun Sep 23 21:38:06 CEST 2012


On Sun, Sep 23, 2012 at 09:32:07PM +0200, Reimar Döffinger wrote:
> 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.

If you're looking for some complex samples, maybe
https://www.youtube.com/watch?v=dacAu3i3864 or any other result for
"karaoke effect" on youtube should give you some good samples.

You might need to apply the template expressed in the ASS comments with
aegisub to get the effects.

[...]

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20120923/48baf02f/attachment.asc>


More information about the MPlayer-dev-eng mailing list