View Single Post
Old 02-15-11, 11:39 AM   #4
yxing
Registered User
 
Join Date: Feb 2011
Posts: 3
Default Re: mplayer OSD rendering using 100% CPU with VDPAU

Quote:
Originally Posted by Stephen Warren View Post
How did you isolate which call causes the CPU usage.
I both commented out the function call and I called it once every 10 frames instead of every frame. In the former case, CPU usage was close to 0 but the OSD failed to draw correctly. In the latter case, CPU usage was 20-30% with the OSD running, updated with a slight delay, and occasionally produced artifacts.

Quote:
Originally Posted by Stephen Warren View Post
For how long does the CPU usage last
The CPU usage is 100% as long as the OSD is updating.

Quote:
Originally Posted by Stephen Warren View Post
Yes, to investigate this, we will need the exact clip you're using (please post the filename here after upload). Also, can you supply the complete MPlayer command-line you're using, and any MPlayer configuration files if you use any, if that's not all in yxing_mplayer.log.bz2 already.
I am trying to upload the video using sftp. The command I am using is
Code:
sftp vdpau@partners.ftp.nvidia.com
but it's complaining that the blank password I am entering is incorrect.

I am not running mplayer with any custom configuration files, but the command-line argument I am using is:
Code:
mplayer /home/oberon/yxing.ts -vo vdpau -demuxer +mpegts -vc +ffh264vdpau -nosound -osdlevel 3
yxing is offline   Reply With Quote