On 11:25 Sun 06 Jul, Duncan Webb wrote: >Steven Blatchford wrote: >> On 22:28 Sun 22 Jun, Omry Yadan wrote: >>> Hi all, >>> I recently started to watch full HD H264 videos (1920x1080). >>> It's really heavy on the CPU, and I had to get coreavc for linux, which >>> is an adaptation of coreavc - a windows multi-core decoder for h264 to >>> linux. >>> my problem is that even with that codec, my system is right on the edge >>> of properly decoding the video at real time. >>> I found that if I start mplayer from Freevo (1.8) it doesn't play fast >>> enough, but when if I kill freevo and start it from the command line it >>> plays fast enough (only if I kill freevo!). >>> >>> I noticed freevo uses a small amount of CPU even when mplayer is >>> running, which is probably what causing my problem. >>> >>> any plans to make freevo consume less cpu when playing a video? >>> (suspending threads, stoping timers etc). >>> >>> Omry. >> >> Hi Om, >> Did setting 'POLL_TIME = 0.05' in your local_conf.py fix this for you? >> I too am using the coreavc video codec on a 1920x1080 display. My >> processor is 2.0Ghz duo core. My video chipset is the Intel Corporation >> Mobile 945GM/GMS -- in case you were wondering about my setup. >> >> When I play a mkv file with freevo I notice slight video tearing and >> slight blocky video. Using 'ps ax |grep mplayer' to find the command >> freevo is using, I play this from the cli and the video is fine. >> >> I added the 'POLL_TIME = 0.05' to my local_conf.py, restarted freevo and >> saw no noticable change. I also use ffmpeg codec on a 720p x264 with >> the same result. > >You can use DEBUG_CHILDAPP=1 in local_conf.py and this does two things, >first, you should see the command line that freevo executes in the >main-X.log and, secondly, it captures the output of mplayer, etc to a >separate log. > >When freevo runs a command, as root, it sets the nice level to, by >default, -10 and this will give mplayer a higher priority. This only >works as root as normal users cannot set a nice level below 0. > >May be you can play with this a bit more and see what top is saying >about the CPU. > >My test environment is a P3 700MHz machine with a Matrox G400DH and >framebuffer and it runs and plays videos just fine. I cannot see how on >dual core machine you should be having problems with freevo playing videos. > >I wonder if X is causing part of the problem? > >Duncan
Setting 'MPLAYER_NICE = 0' solved my issue. Thanks Duncan for the hint. -steve ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Freevo-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freevo-users
