-
Notifications
You must be signed in to change notification settings - Fork 58
Increased CPU usage (Reduced video playback performance) #9
Comments
I sometimes have the same problem. It only seem to happen with 1080p h264 encoded video. If run the video with MPlayer from the command line using the same flags it does not have any problem. |
What system version and CPU are you running MPE on? I did a quick benchmark and found the rev15-test1 binary to be slightly faster in decoding than the rev14-test2 binary: rev14-test2: adrian$ MPlayer\ OSX\ Extended.app/Contents/Resources/Binaries/mpextended.mpBinaries/Contents/mpextended-mt.mpBinaries/Contents/MacOS/mplayer -benchmark -nosound -vo null -frames 10000 -lavdopts threads=8 h264_1080p.mkv
[...]
BENCHMARKs: VC: 43.136s VO: 0.013s A: 0.000s Sys: 1.836s = 44.986s
BENCHMARK%: VC: 95.8890% VO: 0.0290% A: 0.0000% Sys: 4.0820% = 100.0000% rev15-test1: MPlayer\ OSX\ Extended.app/Contents/Resources/Binaries/mpextended.mpBinaries/Contents/MacOS/mplayer -benchmark -nosound -vo null -frames 10000 -lavdopts threads=8 h264_1080p.mkv
[...]
BENCHMARKs: VC: 41.963s VO: 0.020s A: 0.000s Sys: 1.872s = 43.855s
BENCHMARK%: VC: 95.6860% VO: 0.0462% A: 0.0000% Sys: 4.2678% = 100.0000% Can you run those benchmarks too? That will tell us if the binary is the issue or if it's somewhere in the video output. Between rev14-test2 and test3 MPlayer removed the deprecated yuy2 filter and replaced it with the format=yuy2 flag. This could have to do something with your performance issue. Could you try disabling |
Benchmarksrev14Test2
rev14
rev15Test1
your git HEAD
SpecsMacBookPro3,1 DetailsI run these test after deleting Also when using the GUI for (rev15test/ your git HEAD) the video stutters/framedrops? for a long time. Using same command line arguments to MPlayer as the gui does, the video does not have the this problem.
When playing the file in rev14's GUI and rev14's MPlayer from the command line the picture is corrupted so rev15 is still better. I get the same result from some other files I tested. I made a small test file (24MB ~45s) that shows these problems. http://dl.dropbox.com/u/6818584/h246_1080_ssa.mkv I set I also tried the latest MPlayer2 binary for 10.6, where the problem is more noticeable. Complete MPlayer outputrev14test2
rev14
rev15test1
your git HEAD
|
(same as bug #367 on the old tracker)
rev 15 test 1 has the same large increase in CPU usage that was introduced in rev 14 test 3.
A quick test shows, for example, HD videos in avi and wmv formats taking roughly 30% more cpu than rev 14 test 2 (and earlier versions). Playing the same video in VLC takes roughly the same CPU as rev 14 test 2.
Settings for "optimise by degrading quality" or "drop frames" (or not) don't seem to have any effect on the difference between the versions.
So far I've not been able to upgrade past rev 14 test 2, as I'm unable to smoothly play many full-HD videos on my 2.4ghz core2 duo machine...
The text was updated successfully, but these errors were encountered: