On Friday 07 October 2005 09:52, John Harvey wrote: > I have just submitted a patch for the YUV playback code which significantly > reduces the cpu used during playback using the Xv code. > > Now the CPU usage for X has dropped from about 30-35% to about 0.5 - 2%. So > I can now play back stuff with mplayer burning ~13%cpu and I have between > 80 & 85% idle.
Very nice! I can confirm this works really nice. Last week has been very good. I started with 60-70% CPU usage for Xorg with CPU running at 2GHz. Now CPU usage has dropped to 1% for Xorg and the CPU is only running at 800MHz (powernow)! Very nice indeed! This is all with mplayer -vo xv -fs. The only 'problem' with this command is that a not unsignificant portion of the picture falls off the screen due to the overscan of the PVR350 or the TV. I can solve this by doing some mplayer magic and use this command to play video: mplayer -vo xv -vf scale=660:-3,expand=760:576:64:50 Unfortunately when I do that, I have around 20% CPU usage for Xorg with CPU running at 2GHz again. For me this is a trade off I will not make, so I'm using mplayer -vo xv -fs again. Related to this issue I have 2 questions: - Will it be possible to 'fix' this so that mplayer -vo xv -fs will display the full picture on the TV and still use only a few percent CPU usage? I know every TV is different, so if at all possible this would probably involve passing 4 arguments to maybe ivtv-fb or xdriver or ... - The scale and expand options I've given above positioned the picture very accurately a few weeks ago so everything was shown and there were no black bars around the picture. Today I tried the same scale and expand values (after using -fs during the last weeks), but now I do have black bars around the picture, i.e. the actual picture is smaller than a few weeks ago. How is it possible this changed? And will it change again soon? For me it is not trivial finding the right values (it involves running up and down 2 stairs :P ), so I would like to avoid doing it too often :) > I have now finished all the planned changes for the Xv/yuv code before 0.4 > is branched other than fixing issues that anyone finds with the last few > changes. What I mentioned in this e-mail is for me in no way a show-stopper for making a new stable release of ivtv. Greetings Rutger
pgpvK0K3T9j19.pgp
Description: PGP signature
_______________________________________________ ivtv-devel mailing list [email protected] http://ivtvdriver.org/mailman/listinfo/ivtv-devel
