maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   MPlayer which version is suitable (https://talk.maemo.org/showthread.php?t=2405)

luketoh 2007-05-07 06:32

Re: MPlayer which version is suitable
 
So far, everthing is peachy. The only problem I faced is when using KMPlayer for the frontend...it seems to make the video slower/jerky... although I cannot understand why...

tolou 2007-05-07 10:07

Re: MPlayer which version is suitable
 
Quote:

Originally Posted by Serge (Post 47067)
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.

Hmm, is this really for the LATEST 2007 F/W, v. 3.2007.10-7, a.k.a Maemo 3.1? I have 51-6 (Maemo 3.0) still and went for this install anyway... Does it matter? Works for me, so far... :rolleyes:

hafken 2007-05-07 13:20

Re: MPlayer which version is suitable
 
Quote:

Originally Posted by Serge (Post 47423)
Thanks a lot, just upload it somewhere and provide me with a link, or contact me in PM, so we can discuss how I can get this sample. We just recently had this audio/video sync bug story which took too much time to resolve because nobody cared to report it properly. So I was worried that we might be getting something similar repeated :)

Hi,
Sorry for the delay again (I don't have a lot of time to do this stuff right now -- family obligations take precedence!) , I'm having problems extracting a sample clip that still doesn't play correctly (when using avidemux the resulting clip doesn't have the problem anymore!). The original file was created using handbrake on the mac. I'm at work now, so I don't have access to that setup, but tonight I will try to recapture a short clip for you. This actually could have been a bug in handbrake, as it is still beta software itself. I'll let you know once I have the clip available and have confirmed it still doesn't work. Thanks for your patience...

-dave

tolou 2007-05-09 07:46

Re: MPlayer which version is suitable
 
Quote:

Originally Posted by tolou (Post 47547)
Hmm, is this really for the LATEST 2007 F/W, v. 3.2007.10-7, a.k.a Maemo 3.1? I have 51-6 (Maemo 3.0) still and went for this install anyway... Does it matter? Works for me, so far... :rolleyes:

Well needless to say Iīve encountered the infamous endless reboot loop on that partition... :mad: Not really sure if itīs related to the xserver?
I had Openbox-ROX on mmc-boot, but switched to the Hildon boot and there it was...
Interesting that the ROX seemed to manage though. Wonder if itīs immune to the reboot issue?!

tolou 2007-05-09 09:23

Re: MPlayer which version is suitable
 
Quote:

Originally Posted by Serge (Post 47253)
By the way, you can get original unmodified N800 xserver back by downloading and reinstalling it from http://repository.maemo.org/pool/bor...so31_armel.deb

Hmm, I think I be needing that of the 51-6 version:
http://repository.maemo.org/pool/mae...21.1_armel.deb

Will have to try to extract the files and copy them into the mmc boot partition. Wish me luck... :cool:

Serge 2007-05-09 10:07

Re: MPlayer which version is suitable
 
Quote:

Originally Posted by tolou (Post 47777)
Hmm, I think I be needing that of the 51-6 version:
http://repository.maemo.org/pool/mae...21.1_armel.deb

Will have to try to extract the files and copy them into the mmc boot partition. Wish me luck... :cool:

Yes, the patched xserver can be only installed on N800 with 3.2007.10-7 version of firmware, sorry, that's one more thing I forgot to mention in my initial announcement. Though I did add a warning that everyone experimenting with the patched xserver should be prepared for a reflash in the worst case. Surely, once/if this patch gets added to the next version of official N800 firmware, everything will be much easier for end users.

By the way, why don't you upgrade to the latest firmware? You will not get a good video playback with the old one anyway.

tolou 2007-05-09 11:34

Re: MPlayer which version is suitable
 
Ohh, it worked alright. And I got as good video performance with the mplayer as I could expect, I think. Thanks Serge!
Now if I can, I will be running the old 51-6 system with all my apps and tweaks. The 10-7 isnīt really enough for me to take that plunge. Waiting for the next F/W to be released instead.

Iīm running on the flash now so no real harm done.

jmk 2007-05-09 12:48

Re: MPlayer which version is suitable
 
Ok i did some tests with patched xserver and latest mplayer build. Virtual memory is disabled.

Playing gilmore.girls.714.hdtv.xvid.notv-sample.avi.

AVI file format detected.

VIDEO: [XVID] 624x352 24bpp 23.976 fps 1069.5 kbps (130.6 kbyte/s)

Clip info:

Software: MEncoder 1.0rc1-3.3.5


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, ??, 160.0 kbit/10.42% (ratio: 20000->192000)

Selected audio codec: [dspmp3] afm: dspmp3 (MP3 audio pass-through for Nokia 770)


patched xserver:
BENCHMARKs: VC: 55,454s VO: 7,633s A: 0,653s Sys: 2,061s = 65,802s
BENCHMARK%: VC: 84,2752% VO: 11,5997% A: 0,9923% Sys: 3,1328% = 100,0000%
BENCHMARKn: disp: 1299 (19,74 fps) drop: 93 (6%) total: 1392 (21,15 fps)

original xserver:
BENCHMARKs: VC: 52,797s VO: 10,030s A: 0,386s Sys: 2,827s = 66,039s
BENCHMARK%: VC: 79,9474% VO: 15,1878% A: 0,5838% Sys: 4,2811% = 100,0000%
BENCHMARKn: disp: 1294 (19,59 fps) drop: 105 (7%) total: 1399


Playing south.park.1009.proper.dsr.xvid.sample-kyr.avi.

Cache fill: 0.00% (0 bytes)

AVI file format detected.

VIDEO: [XVID] 512x384 12bpp 23.976 fps 850.8 kbps (103.9 kbyte/s)


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, ??, 160.0 kbit/10.42% (ratio: 20000->192000)

Selected audio codec: [dspmp3] afm: dspmp3 (MP3 audio pass-through for Nokia 770)

patched xserver

BENCHMARKs: VC: 37,152s VO: 7,202s A: 0,276s Sys: 17,820s = 62,450s
BENCHMARK%: VC: 59,4910% VO: 11,5320% A: 0,4424% Sys: 28,5346% = 100,0000%
BENCHMARKn: disp: 1412 (22,61 fps) drop: 0 (0%) total: 1412 (22,61 fps)

original: drop 0 no difference

Playing the.simpsons.1819.pdtv.sample-lol.avi.

Cache fill: 0.00% (0 bytes)

AVI file format detected.

VIDEO: [XVID] 512x384 12bpp 23.976 fps 849.2 kbps (103.7 kbyte/s)


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, ??, 160.0 kbit/10.42% (ratio: 20000->192000)

Selected audio codec: [dspmp3] afm: dspmp3 (MP3 audio pass-through for Nokia 770)


patched xserver
BENCHMARKs: VC: 35,618s VO: 7,122s A: 0,528s Sys: 18,986s = 62,255s
BENCHMARK%: VC: 57,2135% VO: 11,4400% A: 0,8488% Sys: 30,4977% = 100,0000%
BENCHMARKn: disp: 1403 (22,54 fps) drop: 0 (0%) total: 1403 (22,54 fps)

original: drop 0 no difference

Playing 24.621.hdtv.sample-lol.avi.

Cache fill: 0.00% (0 bytes)

AVI file format detected.

VIDEO: [XVID] 624x352 12bpp 23.976 fps 1164.5 kbps (142.2 kbyte/s)


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, ??, 112.0 kbit/7.29% (ratio: 14000->192000)

Selected audio codec: [dspmp3] afm: dspmp3 (MP3 audio pass-through for Nokia 770)


patched xserver:
BENCHMARKs: VC: 56,217s VO: 6,603s A: 0,456s Sys: 2,588s = 65,863s
BENCHMARK%: VC: 85,3534% VO: 10,0258% A: 0,6917% Sys: 3,9291% = 100,0000%
BENCHMARKn: disp: 1123 (17,05 fps) drop: 277 (19%) total: 140


original:
BENCHMARKs: VC: 56,573s VO: 6,662s A: 0,427s Sys: 2,470s = 66,132s
BENCHMARK%: VC: 85,5463% VO: 10,0732% A: 0,6460% Sys: 3,7345% = 100,0000%
BENCHMARKn: disp: 1096 (16,57 fps) drop: 303 (21%) total: 1399 (21,15 fps)



Playing xor-greys.anatomy.303-sample.avi.

Cache fill: 0.00% (0 bytes)

AVI file format detected.

VIDEO: [XVID] 608x336 24bpp 23.976 fps 822.3 kbps (100.4 kbyte/s)

patched xserver:
BENCHMARKs: VC: 57,128s VO: 8,076s A: 0,399s Sys: 8,985s = 74,588s
BENCHMARK%: VC: 76,5919% VO: 10,8275% A: 0,5347% Sys: 12,0459% = 100,0000%
BENCHMARKn: disp: 1480 (19,84 fps) drop: 68 (4%) total: 1548 (20,75 fps)



Playing world.series.of.poker.2006.e02.pdtv.xvid.sample-tbs.avi.

Cache fill: 0.00% (0 bytes)

AVI file format detected.

VIDEO: [XVID] 544x368 24bpp 29.970 fps 1389.4 kbps (169.6 kbyte/s)

Clip info:

patched xserver:
BENCHMARKs: VC: 35,325s VO: 4,082s A: 0,554s Sys: 2,203s = 42,164s
BENCHMARK%: VC: 83,7792% VO: 9,6821% A: 1,3150% Sys: 5,2237% = 100,0000%
BENCHMARKn: disp: 779 (18,48 fps) drop: 254 (24%) total: 1033

original xserver:
BENCHMARKs: VC: 35,648s VO: 3,879s A: 0,556s Sys: 2,189s = 42,272s
BENCHMARK%: VC: 84,3300% VO: 9,1763% A: 1,3154% Sys: 5,1783% = 100,0000%
BENCHMARKn: disp: 784 (18,55 fps) drop: 250 (24%) total: 1034 (24,46 fps)



Nokia_N800.avi


patched xserver:

BENCHMARKs: VC: 30,488s VO: 7,782s A: 0,455s Sys: 64,166s = 102,891s

BENCHMARK%: VC: 29,6315% VO: 7,5633% A: 0,4423% Sys: 62,3629% = 100,0000%

BENCHMARKn: disp: 2502 (24,32 fps) drop: 0 (0%) total: 2502 (24,32 fps)

Original:

BENCHMARKs: VC: 30,803s VO: 7,626s A: 0,442s Sys: 63,938s = 102,810s

BENCHMARK%: VC: 29,9607% VO: 7,4180% A: 0,4304% Sys: 62,1909% = 100,0000%

BENCHMARKn: disp: 2501 (24,33 fps) drop: 0 (0%) total: 2501 (24,33 fps)


There is little or no difference as you can see.

fanoush 2007-05-09 12:56

Re: MPlayer which version is suitable
 
You did reboot after swapping X server binary, right?

Serge 2007-05-09 13:05

Re: MPlayer which version is suitable
 
Quote:

Originally Posted by jmk (Post 47794)
Ok i did some tests with patched xserver and latest mplayer build. Virtual memory is disabled.

[snip]

Nokia_N800.avi

patched xserver:

BENCHMARKs: VC: 30,488s VO: 7,782s A: 0,455s Sys: 64,166s = 102,891s
BENCHMARK%: VC: 29,6315% VO: 7,5633% A: 0,4423% Sys: 62,3629% = 100,0000%
BENCHMARKn: disp: 2502 (24,32 fps) drop: 0 (0%) total: 2502 (24,32 fps)

Original:

BENCHMARKs: VC: 30,803s VO: 7,626s A: 0,442s Sys: 63,938s = 102,810s
BENCHMARK%: VC: 29,9607% VO: 7,4180% A: 0,4304% Sys: 62,1909% = 100,0000%
BENCHMARKn: disp: 2501 (24,33 fps) drop: 0 (0%) total: 2501 (24,33 fps)

There is little or no difference as you can see.

Both results look good and show the numbers which are normal for the patched xserver. Are you sure you really did run benchmark with the original xserver in your last test? Rebooting is needed for the changes to take effect. My own tests with the original vs. patched xserver for Nokia_N800.avi look very much the same as the results posted my Milhouse: http://www.internettablettalk.com/fo...&postcount=431


All times are GMT. The time now is 06:31.

vBulletin® Version 3.8.8