Hi,

On a newly rebuild freevo box, I have a strange behaviour of mplayer. 
I'm pretty sure that the trouble has nothing to do with freevo, but if 
someone has an idea...

The system is built on an Athlon BR-2350 (a low power X2), 1 giga ram, 
one s-ata drive, chipset nvidia nforce 4 . and one Hauppauge PVR-150 card.
The OS is a Mandriva 2008 spring x64 version, with a 2.6.24-7 kernel.

I used to start the system in runlevel 4, with an autologin (as freevo, 
not root) and a freevo -fs.

Everything works fine, exept that mplayer need around 11 second to start 
to play any video file, and during the first seconds, the movie is shoppy.

If I go in runlevel 5 (KDE desktop), log in as freevo, start freevo, the 
movie start immediately, and with a good quality from the begionning.

If I go back to reunlevel 4, the video then start  immediately, as 
expected !!!

I did a lo of logging, didn't find any relevant diff between the logs. 
Here are the two extracts of main-501.log :

-First try :
--------------------------------------------
2008-08-19 21:13:24,664 DEBUG    trying ext avi
2008-08-19 21:13:24,664 DEBUG    parse RIFF LIST "hdrl": 8830 bytes
2008-08-19 21:13:24,665 DEBUG    _parseSTRH(vids) : 4232 bytes
2008-08-19 21:13:24,665 DEBUG    _parseSTRH(auds) : 4222 bytes
2008-08-19 21:13:24,665 DEBUG    parse RIFF LIST "INFO": 28 bytes
2008-08-19 21:13:24,665 DEBUG    RIFF LIST "movi" to long to parse: 
726076140 bytes
2008-08-19 21:13:24,665 DEBUG    idx1: 6380832 bytes
2008-08-19 21:13:24,666 DEBUG    mplayer.py (142): MPlayer.play(): 
mode=file, url=//home/media/movies/comedy/Les.Visiteurs.teste.avi
2008-08-19 21:13:24,667 DEBUG    mplayer.py (352): /usr/bin/mplayer 
-slave -v -vo xv,sdl,x11, -ao alsa -autosync 100 -nolirc -nojoystick 
-autoq 100 -screenw 720 -screenh 576 -fs -cache 5000 -idx -monitoraspect 
16:9 -vf pp=de //home/media/movies/comedy/Les.Visiteurs.teste.avi
2008-08-19 21:13:24,668 DEBUG    childapp.py (315): 
ChildApp2.__init__(app=['--prio=-20', '/usr/bin/mplayer', '-slave', 
'-v', '-vo', 'xv,sdl,x11,', '-ao', 'alsa', '-autosync', '100', 
'-nolirc', '-nojoystick', '-autoq', '100', '-screenw', '720', 
'-screenh', '576', '-fs', '-cache', '5000', '-idx', '-monitoraspect', 
'16:9', '-vf', 'pp=de', 
'//home/media/movies/comedy/Les.Visiteurs.teste.avi'], debugname=None, 
doeslogging=0, stop_osd=2)
2008-08-19 21:13:24,698 DEBUG    childapp.py (152): Running (list) 
'/usr/bin/mplayer -slave -v -vo xv,sdl,x11, -ao alsa -autosync 100 
-nolirc -nojoystick -autoq 100 -screenw 720 -screenh 576 -fs -cache 5000 
-idx -monitoraspect 16:9 -vf pp=de 
//home/media/movies/comedy/Les.Visiteurs.teste.avi' with pid 6728 
priority -20
2008-08-19 21:13:24,703 DEBUG    childapp.py (410): logging stdout child 
to "/var/log/freevo/mplayer-stdout-501.log"
2008-08-19 21:13:24,706 DEBUG    childapp.py (410): logging stderr child 
to "/var/log/freevo/mplayer-stderr-501.log"
2008-08-19 21:13:24,708 DEBUG    childapp.py (169): /usr/bin/renice -20 
-p 6728
0.03
2008-08-19 21:13:40,903 DEBUG    childapp.py (429): stdout: no data, 
closing log
2008-08-19 21:13:40,905 DEBUG    childapp.py (429): stderr: no data, 
closing log
----------------------------------------------------
Not very speaking, but I did stop mplayer as soon as the video starts.

Second try,  still in runlevel 4, but after going to runlevel 5
----------------------------------------------------------------------------
2008-08-19 21:18:19,069 DEBUG    trying ext avi
2008-08-19 21:18:19,072 DEBUG    parse RIFF LIST "hdrl": 8830 bytes
2008-08-19 21:18:19,072 DEBUG    _parseSTRH(vids) : 4232 bytes
2008-08-19 21:18:19,073 DEBUG    _parseSTRH(auds) : 4222 bytes
2008-08-19 21:18:19,073 DEBUG    parse RIFF LIST "INFO": 28 bytes
2008-08-19 21:18:19,073 DEBUG    RIFF LIST "movi" to long to parse: 
726076140 bytes
2008-08-19 21:18:19,074 DEBUG    idx1: 6380832 bytes
2008-08-19 21:18:19,076 DEBUG    mplayer.py (142): MPlayer.play(): 
mode=file, url=//home/media/movies/comedy/Les.Visiteurs.teste.avi
2008-08-19 21:18:19,077 DEBUG    mplayer.py (352): /usr/bin/mplayer 
-slave -v -vo xv,sdl,x11, -ao alsa -autosync 100 -nolirc -nojoystick 
-autoq 100 -screenw 720 -screenh 576 -fs -cache 5000 -idx -monitoraspect 
16:9 -vf pp=de //home/media/movies/comedy/Les.Visiteurs.teste.avi
2008-08-19 21:18:19,083 DEBUG    childapp.py (315): 
ChildApp2.__init__(app=['--prio=-20', '/usr/bin/mplayer', '-slave', 
'-v', '-vo', 'xv,sdl,x11,', '-ao', 'alsa', '-autosync', '100', 
'-nolirc', '-nojoystick', '-autoq', '100', '-screenw', '720', 
'-screenh', '576', '-fs', '-cache', '5000', '-idx', '-monitoraspect', 
'16:9', '-vf', 'pp=de', 
'//home/media/movies/comedy/Les.Visiteurs.teste.avi'], debugname=None, 
doeslogging=0, stop_osd=2)
2008-08-19 21:18:19,100 DEBUG    childapp.py (152): Running (list) 
'/usr/bin/mplayer -slave -v -vo xv,sdl,x11, -ao alsa -autosync 100 
-nolirc -nojoystick -autoq 100 -screenw 720 -screenh 576 -fs -cache 5000 
-idx -monitoraspect 16:9 -vf pp=de 
//home/media/movies/comedy/Les.Visiteurs.teste.avi' with pid 10791 
priority -20
2008-08-19 21:18:19,105 DEBUG    childapp.py (410): logging stdout child 
to "/var/log/freevo/mplayer-stdout-501.log"
2008-08-19 21:18:19,107 DEBUG    childapp.py (410): logging stderr child 
to "/var/log/freevo/mplayer-stderr-501.log"
2008-08-19 21:18:19,109 DEBUG    childapp.py (169): /usr/bin/renice -20 
-p 10791
0.04
2008-08-19 21:18:22,205 DEBUG    childapp.py (429): stdout: no data, 
closing log
2008-08-19 21:18:22,206 DEBUG    childapp.py (429): stderr: no data, 
closing log
------------------------------------------------------------------------------------------------------
Same operation, but around 13 second faster (on an average of 13 :-| )

The mplayer-stdout and stderr are nearly the same, too.

Any ideas ?

Thanks,
Pascal

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Freevo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-users

Reply via email to