View Single Post
Posts: 129 | Thanked: 13 times | Joined on Oct 2005
#283
For a vga 30 fps video, 100 second test on n800:
xv + dspmp3 = 130 sec. 0.85 fps
xv + nosound = 188 sec. 15.9 fps
null + nosound = 142 sec. 21.1 fps



other observations about mplayer:
playing with xv sometimes freezes for several seconds and loops 2 adjacent frames while frozen
when playing a demanding video sometimes I must press home and select gmpayer or xterm to get mplayer to quit

these are with my own build:
mplayer/mencoder with v4l2 support can access the webcam
mplayer mirrors video from the webcam much better than the camera api demos

Code:
 $ mplayer  /media/mmc1/video/94-01.avi  -benchmark -endpos 100
MPlayer 1.0rc1-maemo.8 (C) 2000-2006 MPlayer Team
CPU: ARM
[MENU] Can't open menu config file: /home/user/.mplayer/menu.conf
Menu inited: /etc/mplayer/menu.conf

Playing /media/mmc1/video/94-01.avi.

AVI file format detected.
VIDEO:  [DIVX]  640x480  24bpp  29.970 fps  898.3 kbps (109.7 kbyte/s)
Clip info:
 Software: MEncoder 1.0pre7-3.4.2
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
==========================================================================
Trying to force audio codec driver family dspmp3...
Opening audio decoder: [dspmp3] MP3 audio pass-through for Nokia 770 (fake decoder)
AUDIO: 44100 Hz, 1 ch, ??, 128.0 kbit/18.14% (ratio: 16000->88200)
Selected audio codec: [dspmp3] afm: dspmp3 (MP3 audio pass-through for Nokia 770)
==========================================================================
AO: [gst] 44100Hz 1ch ?? (1 bytes per sample)
Starting playback...
VDec: vo config request - 640 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar I420 as output csp (no 1)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 640x480 => 640x480 Planar I420  [fs] [zoom]
A:   7.8 V:   5.1 A-V:  2.713 ct:  0.151 154/154 104% 10%  8.4% 50 0 40%

           ************************************************
           **** Your system is too SLOW to play this!  ****
           ************************************************

Possible reasons, problems, workarounds:
- Most common: broken/buggy _audio_ driver
  - Try -ao sdl or use the OSS emulation of ALSA.
  - Experiment with different values for -autosync, 30 is a good start.
- Slow video output
  - Try a different -vo driver (-vo help for a list) or try -framedrop!
- Slow CPU
  - Don't try to play a big DVD/DivX on a slow CPU! Try some of the lavdopts,
    e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
- Broken file
  - Try various combinations of -nobps -ni -forceidx -mc 0.
- Slow media (NFS/SMB mounts, DVD, VCD etc)
  - Try -cache 8192.
- Are you using -cache to play a non-interleaved AVI file?
  - Try -nocache.
Read DOCS/HTML/en/video.html for tuning/speedup tips.
If none of this helps you, read DOCS/HTML/en/bugreports.html.

A: 129.3 V: 100.0 A-V: 29.299 ct:  9.603 2999/2999 120%  0%  1.5% 2889 0 35%

BENCHMARKs: VC: 120.295s VO:   0.631s A:   1.481s Sys:   7.597s =  130.004s
BENCHMARK%: VC: 92.5316% VO:  0.4856% A:  1.1390% Sys:  5.8438% = 100.0000%
BENCHMARKn: disp: 110 (0.85 fps)  drop: 2889 (96%)  total: 2999 (23.07 fps)

Exiting... (End of file)
/ $




$ mplayer  /media/mmc1/video/94-01.avi  -benchmark -endpos 100   -nosound
MPlayer 1.0rc1-maemo.8 (C) 2000-2006 MPlayer Team
CPU: ARM
[MENU] Can't open menu config file: /home/user/.mplayer/menu.con f
Menu inited: /etc/mplayer/menu.conf

Playing /media/mmc1/video/94-01.avi.
Cache fill:  0.00% (0 bytes)
AVI file format detected.
AVI_NI: No audio stream found -> no sound.
VIDEO:  [DIVX]  640x480  24bpp  29.970 fps  898.3 kbps (109.7 kb yte/s)
Clip info:
 Software: MEncoder 1.0pre7-3.4.2
================================================================ ==========
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
================================================================ ==========
Audio: no sound
Starting playback...
VDec: vo config request - 640 x 480 (preferred colorspace: Plana r YV12)
VDec: using Planar I420 as output csp (no 1)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [xv] 640x480 => 640x480 Planar I420  [fs] [zoom]
V: 100.0 2999/2999 148% 34%  0.0% 0 0 44%

BENCHMARKs: VC: 148.811s VO:  34.895s A:   0.000s Sys:   4.916s =  188.623s
BENCHMARK%: VC: 78.8936% VO: 18.5000% A:  0.0000% Sys:  2.6064% = 100.0000%

Exiting... (End of file)
/ $


 $ mplayer  /media/mmc1/video/94-01.avi  -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all   -nosound -benchmark -vo null -endpos 100
MPlayer 1.0rc1-maemo.8 (C) 2000-2006 MPlayer Team
CPU: ARM
[MENU] Can't open menu config file: /home/user/.mplayer/menu.conf
Menu inited: /etc/mplayer/menu.conf

Playing /media/mmc1/video/94-01.avi.

AVI file format detected.
AVI_NI: No audio stream found -> no sound.
VIDEO:  [DIVX]  640x480  24bpp  29.970 fps  898.3 kbps (109.7 kbyte/s)
Clip info:
 Software: MEncoder 1.0pre7-3.4.2
==========================================================================
Trying to force video codec driver family ffmpeg...
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
Audio: no sound
Starting playback...
VDec: vo config request - 320 x 240 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [null] 320x240 => 320x240 Planar YV12  [fs] [zoom]
V: 100.0 2999/2999 119%  0%  0.0% 0 0 44%

BENCHMARKs: VC: 119.311s VO:   0.126s A:   0.000s Sys:   4.137s =  123.574s
BENCHMARK%: VC: 96.5502% VO:  0.1016% A:  0.0000% Sys:  3.3481% = 100.0000%

Exiting... (End of file)
/ $ 

 $ mplayer  /media/mmc1/video/94-01.avi  -endpos 100 -nosound -vo null -benchmark
MPlayer 1.0rc1-maemo.8 (C) 2000-2006 MPlayer Team
CPU: ARM
[MENU] Can't open menu config file: /home/user/.mplayer/menu.conf
Menu inited: /etc/mplayer/menu.conf

Playing /media/mmc1/video/94-01.avi.

AVI file format detected.
AVI_NI: No audio stream found -> no sound.
VIDEO:  [DIVX]  640x480  24bpp  29.970 fps  898.3 kbps (109.7 kbyte/s)
Clip info:
 Software: MEncoder 1.0pre7-3.4.2
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm: ffmpeg (FFmpeg MPEG-4)
==========================================================================
Audio: no sound
Starting playback...
VDec: vo config request - 640 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO: [null] 640x480 => 640x480 Planar YV12  [fs] [zoom]
V: 100.0 2999/2999 138%  0%  0.0% 0 0 44%

BENCHMARKs: VC: 138.108s VO:   0.138s A:   0.000s Sys:   3.999s =  142.245s
BENCHMARK%: VC: 97.0918% VO:  0.0969% A:  0.0000% Sys:  2.8113% = 100.0000%

Exiting... (End of file)