On 07/07/2010 05:33 AM, Grant wrote:
>>> I've been using VDPAU acceleration to play back Blu-Ray rips for a
>>> while, but the extra layer is getting to be quite a hassle so I'm
>>> trying to get decent performance via software decoding.  It has
>>> actually come a long way since the last time I tried and playing
>>> Blu-Ray rips via mplayer is nearly watchable.  I'm using a dual-core
>>> 3.1Ghz CPU and one of the cores is only taxed up to 60% during
>>> playback, but frames are still being dropped constantly.  Does anyone
>>> know where the bottleneck might be?
>>
>> Not sure.  Could be wrong CPU load display; which tool do you use to get the
>> CPU load?
> 
> I use top.  On the mplayer list, people were saying they too get 60%
> CPU load but no playback problems.
> 
>> Anyway, if you're not already doing so, you might want to try the
>> multithreaded version of mplayer so both CPU cores can do decoding. It's in
>> the "multimedia" overlay.  More details here:
>>
>>  http://forums.gentoo.org/viewtopic-t-789673.html
> 
> I really don't think it's a CPU issue.  What other factors could be at
> play?  Could it be my nouveau video drivers?
> 
> - Grant
> 
Regarding mplayer: There is another ebuild in the multimedia-overlay
that I prefer now to mplayer(-mt) and that also uses ffmpeg-mt :
media-video/mplayer-uau.

It fetches the mplayer-version from one of the mplayer-devs and creates
a binary called "mplayer-uau" which can be installed at the same time as
the official mplayer package.

Regarding your frame drops: it is highly likely that sound is the
problem. Please try playing the video with "-ao null" to see if that's
the case. I assume you use pulseaudio? Check if it has real time
capabilities (kill it, start it with verbose/debug in foreground, read
log). Also try "-ao alsa" and "-ao oss".

Your data-source (gard disk, network?) is fast enough? Copy 1GB into RAM
to be sure by ether using RAM-disk or cache-settings.

Try nvidia-binary. You'll get VDPAU in that case, which will result in
about 5% CPU usage when decoding h264!

Hope some of this helps...
Daniel

-- 
PGP key @ http://pgpkeys.pca.dfn.de/pks/lookup?search=0xBB9D4887&op=get
# gpg --recv-keys --keyserver hkp://subkeys.pgp.net 0xBB9D4887

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to