[MPlayer-dev-eng] why my mplayer-android porting have lower performance than many other players ?
compn
tempn at twmi.rr.com
Thu Aug 23 22:00:58 CEST 2012
On Fri, 24 Aug 2012 02:34:53 +0800, lean fu wrote:
>I want mplayer only demux files and skip all decoding steps of P and B
>frames until the next I frame comes,another words,i want mplayer try it's
>best to catch the audio.
>i can accept picture loss,but can't accept picture seems completly halt
>,how can i do this ?, any rely is appreciated, thanks.
somethings you can do to speed it up:
my test with 1280x720p rv40 rmvb on 1.5mhz p4:
no options, 30 seconds of video:
BENCHMARKs: VC: 32.807s VO: 16.934s A: 0.000s Sys: 0.210s = 49.951s
BENCHMARK%: VC: 65.6784% VO: 33.9012% A: 0.0000% Sys: 0.4204% = 100.0000%
-vf framestep=10
BENCHMARKs: VC: 32.909s VO: 3.351s A: 0.000s Sys: 0.274s = 36.534s
BENCHMARK%: VC: 90.0777% VO: 9.1723% A: 0.0000% Sys: 0.7500% = 100.0000%
-lavdopts skipframe=nonref
BENCHMARKs: VC: 17.713s VO: 6.106s A: 0.000s Sys: 0.212s = 24.031s
BENCHMARK%: VC: 73.7090% VO: 25.4088% A: 0.0000% Sys: 0.8822% = 100.0000%
-lavdopts skipframe=nonref -vf framestep=10,scale=320:240
BENCHMARKs: VC: 17.909s VO: 0.396s A: 0.000s Sys: 0.246s = 18.551s
BENCHMARK%: VC: 96.5393% VO: 2.1347% A: 0.0000% Sys: 1.3261% = 100.0000%
h264 720p:
no options
BENCHMARKs: VC: 15.082s VO: 13.188s A: 0.000s Sys: 1.671s = 29.941s
BENCHMARK%: VC: 50.3724% VO: 44.0466% A: 0.0000% Sys: 5.5810% = 100.0000%
-lavdopts skipframe=nonref
BENCHMARKs: VC: 7.670s VO: 6.851s A: 0.000s Sys: 1.412s = 15.933s
BENCHMARK%: VC: 48.1391% VO: 42.9988% A: 0.0000% Sys: 8.8621% = 100.0000%
-lavdopts skipframe=nonref -vf scale=320:240
BENCHMARKs: VC: 7.731s VO: 4.053s A: 0.000s Sys: 1.627s = 13.411s
BENCHMARK%: VC: 57.6467% VO: 30.2215% A: 0.0000% Sys: 12.1318% = 100.0000%
-lavdopts skipframe=nonref -vf framestep=10
BENCHMARKs: VC: 7.890s VO: 0.628s A: 0.000s Sys: 1.588s = 10.106s
BENCHMARK%: VC: 78.0724% VO: 6.2141% A: 0.0000% Sys: 15.7134% = 100.0000%
-lavdopts skipframe=nonref -vf framestep=10,scale=320:240
BENCHMARKs: VC: 7.639s VO: 0.464s A: 0.000s Sys: 1.479s = 9.582s
BENCHMARK%: VC: 79.7224% VO: 4.8424% A: 0.0000% Sys: 15.4352% = 100.0000%
you can play with the options and get it to your satisfaction.
lavdopts skipframe is in the mplayer manual.
note that on some systems , if you scale the video to a lower res, it will display faster, due to slow video output.
to run your own benchmarks, use mplayer -benchmark -endpos 30 -nosound file
-compn
More information about the MPlayer-dev-eng
mailing list