--- Viggo Fredriksen <[EMAIL PROTECTED]> escreveu: 
> Gustavo Sverzut Barbieri wrote:
> > 
> > It was gif images or other kind of animation (ie: preview TV,
> movies,
> > ..) Having TV preview in TV guide and movie preview in movie dirs
> > would kick ass!
> >    As for movies... I'll start to look at gstreamer, so it could be
> > used to feed the animation... but I don't know if performance
> issues
> > will arise.
> 
> I guess this would be possible, the only thing needed is to extract
> an 
> images from the source animation and convert/blit it to a pygame
> surface 
> on each update.

Great :)


> > You should evaluate it. Maybe it won't!
> > What does the hard processing stuff is goom, which is MMX/SSE
> > optimized... if you code a python wrapper to call it, the overhead
> you
> > may get shouldn't be too large. Then it's a matter of blitting the
> > surface in the desired area.
> >    And you don't get too much frames with audio visualization...
> around
> > 12! Just larger views should be a problem.
> > 
> >    And I'll hold on mpav to CVS a bit... maybe I should port goom
> to
> > freevo (BaseAnimation). It should give us more control.
> >    
> >    I agree calling different programs is ugly and this is a better
> > approach.
> > 
> 
> Great idea, this would be a much better approach (I've been pulling
> my 
> hair for a couple of hours getting the fft stuff going). A python 
> wrapper for goom it eventually shall be, or maybe just use MPAV since
> it already does the necessery things?

Most of things MPAV does could be done way easier inside freevo. The
slave mode, for example, don't need to exist, since you control it
using functions. The event loop would be tied to freevo and since it's
not a separated app, you don't need event handling (keys, windows,...).
Even my message systema could be dropped, since we have full access to
the surface, thus we can use skin settings to draw beautiful things :)


> 
> As for speed, has anyone ever looked into the flags passed by pygame
> to 
> init SDL (doublebuffer, hwaccel, rleaccel etc.)? Freevo seems to pass
> 0 
> as argument and as far as I remember this is pure software. I don't
> know 
> how much effect it would have, but it might be a thing worth
> investigating.

Yeah, it worth. From what I remember, freevo use the basic options to
work everywhere... and seems that X11 has no 2d accel at all. But we
could try to figure out the best mode on the fly, so devices that
support it (directfb) have the benefits.

 
> I'll see if I can whirl up some code so you can test the animation
> stuff 
> out. It really isn't ready to see the light of day, but since you
> have 
> an interest in this I don't see how it could hurt. I'll see if I can
> get 
> it cleaned up by the end of the week.

Ok.

Gustavo

______________________________________________________________________

Yahoo! Mail - O melhor e-mail do Brasil! Abra sua conta agora:
http://br.yahoo.com/info/mail.html


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel

Reply via email to