[MPlayer-dev-eng] [PATCH] vf_ass: avoid a division
Nicolas George
nicolas.george at normalesup.org
Wed Sep 15 16:07:32 CEST 2010
Le nonidi 29 fructidor, an CCXVIII, Dan Oscarsson a écrit :
> > (For ten runs, without subs: 0.66s ± 0.047s, original with a lot of subs:
> > 5.44s ± 0.056, modified: 5.22s ± 0.052; command line:
> > ./mplayer -vo xv -ass -sub big.ass -really-quiet -demuxer rawvideo -rawvideo
> > w=640:h=400:format=y8:fps=50 /dev/zero -endpos 10.1
> > )
> Nice. If you have a .srt file which I assume uses the older osd code to
> display, what results do you get then instead of ass.
The same command line without -ass gives 1.75s ± 0.0023. That means that ASS
is roughly four times slower than OSD. Most of it seems to come from the
blending, not the rendering of the glyps.
But I think there is still a lot of room for optimization in vf_ass.
Regards,
--
Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20100915/4051a907/attachment.pgp>
More information about the MPlayer-dev-eng
mailing list