I compiled your new version, copied the files into my freevo dir and after
trying to play a song, freevo crashed and i even needed DEBUG = 2 to get the
trace into my log, so here it goes:
mplayer.py (202): MPlayer.play(): Starting cmd=['--prio=-20',
'/usr/bin/mplayer', '-slave', '', '-autosync', '100', '-nolirc', '-autoq',
'100', '-screenw', '800', '-screenh', '600', '-fs', '-vo', 'null', '-ao',
'oss:/dev/dsp', '', '-demuxer', '17', '', '', '/storage/mp3/(hed) p.e. -
Broke/01 - Killing Time.mp3', '-af', 'export=/tmp/mpav']
File "/usr/lib/python2.3/site-packages/freevo/main.py", line 445, in ?
app.eventhandler(event)
File "/usr/lib/python2.3/site-packages/freevo/menu.py", line 589, in
eventhandler
action( arg=arg, menuw=self )
File "/usr/lib/python2.3/site-packages/freevo/audio/audioitem.py", line
181, in play
error = self.player.play()
File "/usr/lib/python2.3/site-packages/freevo/audio/player.py", line 122,
in play
error = self.player.play(self.item, self)
File "/usr/lib/python2.3/site-packages/freevo/audio/plugins/mplayer.py",
line 204, in play
self.app = MPlayerApp(command, self)
File "/usr/lib/python2.3/site-packages/freevo/audio/plugins/mplayer.py",
line 284, in __init__
childapp.ChildApp2.__init__(self, app, stop_osd=0)
File "/usr/lib/python2.3/site-packages/freevo/childapp.py", line 594, in
__init__
ChildApp.__init__(self, app, debugname, doeslogging)
File "/usr/lib/python2.3/site-packages/freevo/childapp.py", line 147, in
__init__
traceback.print_stack()
Fps: 95
self.t1.isAlive()=True, self.t2.isAlive()=True
ChildApp.__init__(), pid=30648, app=/usr/bin/mplayer -slave -autosync 100
-nolirc -autoq 100 -screenw 800 -screenh 600 -fs -vo null -ao oss:/dev/dsp
-demuxer 17 /storage/mp3/(hed) p.e. - Broke/01 - Killing Time.mp3 -af
export=/tmp/mpav, poll=-1
screen.py (142): show, force update
main.py (405): handling event PLAY_START
main.py (437): no eventhandler for event PLAY_START
mplayervis.py (175): Detected MPlayer 'export' audio filter! Using MPAV.
mplayervis.py (175): Detected MPlayer 'export' audio filter! Using MPAV.
mplayervis.py (175): Detected MPlayer 'export' audio filter! Using MPAV.
Fps: 89
main.py (523): redraw
Hope that helps!
/jan
-----Urspr�ngliche Nachricht-----
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Viggo
Fredriksen
Gesendet: Montag, 29. M�rz 2004 18:25
An: [EMAIL PROTECTED]
Betreff: Re: [Freevo-devel] Animation and goom support for freevo.
Gustavo Sverzut Barbieri wrote:
> --- Viggo Fredriksen <[EMAIL PROTECTED]> escreveu:
>
>>Hi!
>
>
> Hi Viggo!
>
>
>>As stated earlier, I'm working with animations for freevo. The patch
>>includes some updates to osd.py and a new mplayervis.py plugin for
>>mplayer. This version has removed the scrolling of selected text as it
>>doesn't work properly yet.
>
>
> Send it as soon as you get it working... After 1.5 is released, one
> can include it in code and many will start to look at it, fixing it
> sooner
> :)
Will do.
>
>>Also included is a python module written in C for converting goom data
>>to pygame surfaces.
>
>
> So you did it! :)
Yup, but it's quick and dirty, relying on you to clean up my mess :)
>
>>This release is for the people interested in these features (mainly
>>gustavo so far), and is in no way ready for inclusion to freevo.
>>
>>The C implementation is pretty dirty atm, haven't had the time to do a
>>full readup on the py C-api, so it may leak etc. I hope gustavo can
>>help out with this, as I'm not the best C-coder in the world :)
>
>
> I'll take a look tonight.
>
>
>>It may be needed to tweak the buildflags (in setup.py) to get it to
>>build.
>>
>>A screenshot of the mplayervis plugin:
>>http://www.matrise.net/~viggo/freevo/screenshots/goom.jpg
>
>
> Beautiful!
>
> Let's check its performance tonight!
Performance is 'OK', I needed to set HWSURFACE to get quick flip/blit. I can
view [EMAIL PROTECTED] in cinemascope with about 40 fps (see test.py) with g400 and
athlon 1400 @ dfgmga. But unfortunately this flag causes freevo to crash
with a "pygame error: empty destination palette" error.
> Gustavo
Attached is a newer version with somewhat cleaner build, fastmemcpy.h still
causes crash on one of my machines, so if there are flags I have forgot to
pass, please let me know. Included is also a new base.py / render.py an
mplayervis.py (in subdir freevo of tar). This allows a 'render all you can'
flag in render. mplayervis.py is updated to show fullscreen (and toggle
between them with '0' button).
Viggo
-------------------------------------------------------
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_id70&alloc_id638&op=click
_______________________________________________
Freevo-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freevo-devel