![]() |
Re: MPlayer which version is suitable
I tested 400x480 resolution on mplayer a few days ago. Works flawlessly at 7 fps, which is great. It's not fast enough for serious video playback, but it's brilliant for tutorial videos and slideshow videos (e.g. created in iphoto). I added that as a new resolution for media converter. Download here:
https://garage.maemo.org/frs/?group_id=26 Has there been any development on getting mplayer opera plugin that would be able to open flash videos on mplayer? |
Re: MPlayer which version is suitable
Quote:
Anyway, software scaler for Nokie 770 will be also optimized and will work faster (N800 is at advantage here as it supports arbitrary scaling in hardware). |
Re: MPlayer which version is suitable
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 |
Re: MPlayer which version is suitable
Thanks for posting benchmarks. So right now we can suppose that MPlayer seems to play 30 fps video on N800 roughly the same as it plays 24 fps video on 770 (http://maemo.org/pipermail/maemo-dev...er/006646.html). That is if video does not need to be scaled (if scaling was needed, 770 performance would be much worse in video output). These results corelate with cpu clock frequency increase (24 fps vs. 30 fps and 250MHz vs. 330MHz).
Well, playback of nonconverted video even on N800 is still a challenge. Optimizations for ARMv6 SIMD instructions can help to make it faster. Also N800 has a specialized video accelerator (IVA), if it could be used, maybe the results would be a lot better. By the way, it is possible to enable grayscale mode if cpu performance is not fast enough to play some movies, it works a bit faster (-lavdopts gray). But it is much less fun to watch for sure. |
Re: MPlayer which version is suitable
Serge,
Anything us mortals can do to help get mplayer ported to the N800? Seems like it would be easy to take up a collection to buy a unit for developers to use. Seems like the least the community can do. |
Re: MPlayer which version is suitable
About SIMD benefits, I understood that new OMAP 2420 has SIMD support?
Some benchmarks done for XVID with and without SSE (SIMD of Intel Pentium family): http://list.xvid.org/pipermail/xvid-...ry/004815.html SIMD SSE brings big benefits (200-300%) for XVID decoding. Not familiar how well OMAP SIMD implementation and Intel SSE compares but probably it would make sense to take SIMD into use. This I suppose requires coding some routines in ARM assembler, though. |
Re: MPlayer which version is suitable
How does the N800s hardware compare to that in the GP2X?
It's a cheap linux based gaming device that has no problem playing unconverted 720x480 Divx (on it's 320x240 screen). |
Re: MPlayer which version is suitable
Quote:
Apparently it is based on this SoC, so it has some dedicated video decoding support in hardware. Other than that, N800 has a faster CPU and more memory, so overall performance should be much better. Also N800 should have some dedicated hardware for video decoding as well check IVA block on this scheme, but probably it is not used yet in current version of software. |
Re: MPlayer which version is suitable
Quote:
ARMv6 (Nokia N800) has SIMD instructions to treat 32-bit registers as a pair of 16-bit values and perform arithmetic operations on this pair allowing to execute two 16-bit multiplies per clock. Intel MMX uses 64-bit registers for SIMD, so it can perform operation on four 16-bit values at once. SSE2 has 128-bit registers and can perform operations on eight 16-bit values at once. So SIMD on ARMv6 can't boost performance as much as on x86, but the improvement should be still quite noticeable :) And you are right about assembly optimizations, they are needed and already used (but still can be improved) even for ARMv5TE. |
Re: MPlayer which version is suitable
I'm just about to upgrade to the latest version of MPlayer on the 770.
What are the current favoured command line options for playing back videos downloaded from the net via Opera? |
| All times are GMT. The time now is 20:31. |
vBulletin® Version 3.8.8