Notices


Reply
Thread Tools
Posts: 27 | Thanked: 0 times | Joined on Apr 2007 @ Pleasant Valley, NY
#421
Originally Posted by Serge View Post
MP4 video with AAC audio is a known problem, most likely it never did work, check more details here:
http://www.internettablettalk.com/fo...&postcount=392

Right now I'm most interested in fixing regressions (bugs which did not exist in previous versions but appeared later).
OK, thanks.
 
Posts: 503 | Thanked: 267 times | Joined on Jul 2006 @ Helsinki
#422
Originally Posted by helmutk View Post
OK, thanks.
Somehow I feel sorry that I can't help you much with this MP4/AAC format, but it is just not so easy. I think it is better to do at least one job good (considering the limited amount of free time I have). And MPlayer for maemo is specifically optimized for mpeg4 video + mp3 audio, other codecs may work fine, but some are surely less optimal.

I keep telling, anybody can try to do optimizations for various video/audio codecs, improve GUI and other features. I will be more than happy to integrate these changes into next builds of MPlayer compiled for maemo.

Well, it's a bit of excuse, but as long as these MP4 files can be played with the standard Nokia video player, it should not be a big issue.

Last edited by Serge; 2007-05-02 at 23:49.
 
Posts: 27 | Thanked: 0 times | Joined on Apr 2007 @ Pleasant Valley, NY
#423
No problem Serge. I understand it is not a big priority. I'm fine with using multiple media players. I'll try converting my next videos with MP3 audio instead of AAC. I'm actually more concerned about getting my videos larger than a 320x280 format. I believe MPlayer does support up to 640x480?
 
Posts: 27 | Thanked: 0 times | Joined on Apr 2007 @ Pleasant Valley, NY
#424
OK, I re-converted the video I had problems with using the Media Converter for 770/n800 and converted it to n800 Super High Quality 800x480 and then used MPlayer r15 to play it. It played fine. One little hiccup where the video froze and the audio was still playing. I paused and played it again and the video caught up and it did not seem to happen again. I re-played the video to that same spot and the video played fine with no video freeze the second time. So looks like MPlayer r15 is working fine in my n800.
 
Karel Jansens's Avatar
Posts: 3,220 | Thanked: 326 times | Joined on Oct 2005 @ "Almost there!" (Monte Christo, Count of)
#425
Originally Posted by helmutk View Post
OK, I re-converted the video I had problems with using the Media Converter for 770/n800 and converted it to n800 Super High Quality 800x480 and then used MPlayer r15 to play it. It played fine. One little hiccup where the video froze and the audio was still playing. I paused and played it again and the video caught up and it did not seem to happen again. I re-played the video to that same spot and the video played fine with no video freeze the second time. So looks like MPlayer r15 is working fine in my n800.
Do you have virtual memory enabled? I noticed discernable differences in Mplayer with (and without) virtual memory.
 
Posts: 503 | Thanked: 267 times | Joined on Jul 2006 @ Helsinki
#426
mplayer_1.0rc1-maemo.16 was released:
* Fix for aspect ratio problems on N800 for windowed video playback with xv video driver
* Workaround to prevent tearing and poor performance bug on N800 for 16:9 video files (https://maemo.org/bugzilla/show_bug.cgi?id=1281)
* Use floating point AAC decoder on N800 in order to support "Main" and "Sample-Rate Scalable" profiles. Problem with AAC codec was reported at http://www.internettablettalk.com/fo...ead.php?t=6061

The changes in this build primarily target N800 video output performance. In particular, tearing and slow performance for widescreen videos was solved.

Another quite noticeable performance improvement (20% improvement observed on Nokia_N800.avi video clip, for other files it may vary) requires installing xserver package with a patch for ARMv6 optimized color format conversion, two alternative links for download can be found here: http://maemo.org/pipermail/maemo-dev...ay/010058.html
Keep in mind that xserver is a critical system package and if anything gets wrong with it, you will probably have to reflash. Everything works fine for me, but you have been warned. Anyway, if you have videos which played not very smoothly before, you can try to check them now. If you like the results, don't forget to vote for https://maemo.org/bugzilla/show_bug.cgi?id=1278 (it would be nice to ensure that this optimization gets officially included into the next version of N800 firmware)

edit: Forgot to mention that optimized xserver will also improve performance for built-in video player and canola.

Last edited by Serge; 2007-05-04 at 00:07.
 
Posts: 550 | Thanked: 110 times | Joined on Aug 2006
#427
I wasn't able to install either of the xserver packages you linked to. I downloaded the .debs in opera and tried double clicking on them in file manager to launch the install in application manager. I got some sort of incompatible package error. Do I need to install these with dpkg -i or something? I was a bit reluctant to force the install without further confirmation.

Thanks!
 
Posts: 503 | Thanked: 267 times | Joined on Jul 2006 @ Helsinki
#428
Originally Posted by Rocketman View Post
I wasn't able to install either of the xserver packages you linked to. I downloaded the .debs in opera and tried double clicking on them in file manager to launch the install in application manager. I got some sort of incompatible package error. Do I need to install these with dpkg -i or something? I was a bit reluctant to force the install without further confirmation.
Yes, this package is a part of N800 system, so Nokia ensured that it can't be freely installed/upgraded by application manager for users safety. You really need to install it with 'dpkg -i packagename.deb' as root.

Benchmarking to compare performance can be done by running 'mplayer -benchmark -quiet -endpos ? somevideo.avi' from xterm, where '?' is the length in seconds of the initial fragment of video file to play for collecting statistics. It will show a summary about cpu usage for decoding, video output (time spent for video output should get a major decrease with xserver upgrade) and the number of dropped frames if any (lower number of dropped frames is naturally better).
 
Posts: 372 | Thanked: 9 times | Joined on Mar 2007
#429
wow, updated kernel is much faster! I've tested with the latest r16 of mplayer. 30 sec benchmark on a clip i converted 480x288 20 fps thereabouts with no dropped frames. Pretty smooth!

800x480 is not good...

but 640x384 is not bad. I downloaded 1040p Fantastic4 trailer from Apple.com, then used Media Converter 1.43 to convert using N800 LVery High Quality (640x384) (as the settings that I added to Resolutions.txt) 24 fps @ 512 kbps video and 32 for audio. I also ticked Optimize for fullscreen, High Quality 2 pass and Enhance Colour. The file was then transferred over to the N800. Here's the benchmark results for 60 secs test.

Code:
~ $ mplayer -benchmark -quiet -endpos 60 /media/mmc1/Videos/fantastic4silversurfer640x384x512v32a.avi
MPlayer 1.0rc1-maemo.16.n800 (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/Videos/fantastic4silversurfer640x384x512v32a.avi.

AVI file format detected.
VIDEO:  [DIVX]  640x384  24bpp  23.980 fps  516.4 kbps (63.0 kbyte/s)
Clip info:
 Software: MEncoder 1.0rc1-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/N800 (fake decoder)
AUDIO: 48000 Hz, 1 ch, ??, 32.0 kbit/4.17% (ratio: 4000->96000)
Selected audio codec: [dspmp3] afm: dspmp3 (MP3 audio pass-through for Nokia 770)
==========================================================================
AO: [gst] 48000Hz 1ch ?? (1 bytes per sample)
Starting playback...
VDec: vo config request - 640 x 384 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [xv] 640x384 => 640x384 Planar YV12  [fs] [zoom]


BENCHMARKs: VC:  34.048s VO:  16.537s A:   0.202s Sys:  10.959s =   61.746s
BENCHMARK%: VC: 55.1418% VO: 26.7831% A:  0.3266% Sys: 17.7485% = 100.0000%
BENCHMARKn: disp: 1439 (23.31 fps)  drop: 1 (0%)  total: 1440 (23.32 fps)

Exiting... (End of file)
~ $

Last edited by luketoh; 2007-05-04 at 03:04.
 
Posts: 3,401 | Thanked: 1,255 times | Joined on Nov 2005 @ London, UK
#430
Test #1 - Doom Trailer

Code:
==========================================================================
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/N800 (fake decoder)
AUDIO: 48000 Hz, 2 ch, ??, 128.0 kbit/8.33% (ratio: 16000->192000)
Selected audio codec: [dspmp3] afm: dspmp3 (MP3 audio pass-through for Nokia 770)
==========================================================================
AO: [gst] 48000Hz 2ch ?? (1 bytes per sample)
Starting playback...
VDec: vo config request - 640 x 272 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 2.35:1 - prescaling to correct movie aspect.
VO: [xv] 640x272 => 640x272 Planar YV12  [fs] [zoom]
Stock xserver - 30 second benchmark
Code:
BENCHMARKs: VC:  16.261s VO:   6.084s A:   0.401s Sys:   9.060s =   31.806s
BENCHMARK%: VC: 51.1252% VO: 19.1289% A:  1.2618% Sys: 28.4841% = 100.0000%
BENCHMARKn: disp: 682 (21.44 fps)  drop: 39 (5%)  total: 721 (22.67 fps)
Patched xserver - 30 second benchmark
Code:
BENCHMARKs: VC:  17.285s VO:   3.306s A:   0.384s Sys:  10.431s =   31.406s
BENCHMARK%: VC: 55.0381% VO: 10.5261% A:  1.2239% Sys: 33.2119% = 100.0000%
BENCHMARKn: disp: 703 (22.38 fps)  drop: 18 (2%)  total: 721 (22.96 fps)
 
Reply


 
Forum Jump


All times are GMT. The time now is 00:52.