Author Topic: Kino 0.4.1  (Read 27742 times)

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
Kino 0.4.1
« on: January 31, 2005, 05:06:36 pm »
No, it's not out yet, but I'm planning to release a small update, whch will allow kino2 to support most of recent Zaurus models (5600, 7x0, 860, 6000, 3000). This may be possible thanks to the new mplayer release (see https://www.oesf.org/forums/index.php?showt...iew=getnewpost), which should run an all models with PXA processor. Of course the best performance can be achived with hardware specific video drivers (w100 and C300), but 5600 and 6000 could still benifit at least by having a better media player

Now, since I can only test on C750, I need some help from you. I need owners of 5600, 6000 and C3000 to download new mplayer versions and try them out. C300 owners should use their native version, while 5600 and 6000 users should run mplayer with -vo fbdev option. What I need as ta result is to know which options work best on other Z models and update kino2 to support them.

Options to try are:

-dr
-fs
-double
-vop rotate=1

Also, try to play both audio and video files.

If I don't get any usefull results, well, kino2 will still only support C7x0/C860 models...

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Kino 0.4.1
« Reply #1 on: January 31, 2005, 05:24:15 pm »
Will do. But, er... those binaries, how do i make them run? I dl'd the fst math version, renamed it both mplayer and mplayer.bin (at different times) and could not get it to go...
I am sure it is a stupid oversight on my part, and i'll work on it, but insight would be appreciated.
adf
6000l fast kernel both with and without ffpe--trying to see what the difference really is.
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

xjqian

  • Sr. Member
  • ****
  • Posts: 497
    • View Profile
    • http://
Kino 0.4.1
« Reply #2 on: January 31, 2005, 09:14:39 pm »
 6000 please! piror to play around. I have Kino0.3 GUI and the mplayer was the one come with kino0.22.

I downloaded anrp's first versions. replaced the /usr/local/bin/mplayer. seems working ok with kino0.3 GUI. even tried atty's newest mplayer. mixed feelings. Haven't been able to get fullscreen+scale 640x480 working in landscape so far.  The original mplayer (from kino0.22) handles anrp's movie in that mode pretty decently. will try anrp's second version soon. will try play from console and report back. Malslovsky, can you care to teach me how to benchmark it?
My Blog | 6000L Tosa + sled | is: Angstrom | was: pdaXrom 1.1.0beta1 | was: stock 1.12 rom + no-ffpe fash kernel + X/Qt Debian |
CF GPS (FGPCFCD01) | USB "Prolific 2303" GPS (USB-UG-200) | Socket CF BT rev. H |  USB "Pegasus II" Ethernet (ADM8511) | PocketTop IR kbd | sip:527630@fwd.pulver.com
Todo: OESF wiki | stable VOIP app | usable GPS app |      Wishlist: VOIP + Bluetooth | GPS + Routing Calc

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Kino 0.4.1
« Reply #3 on: January 31, 2005, 09:33:29 pm »
ok. i was being retarded. got it going, using the mplayer.conf and fb.modes stuff from the 6000 video thread.
so far, given that setup, it looks maybe little cleaner than the 0.9pre10 I was using, as to speed, i have a 20fps rip on board that doesn't really look less jerky, but that could be my encoding. it does seem to handle framedrop better though...
I'll check with a full frame 320x240.
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Kino 0.4.1
« Reply #4 on: January 31, 2005, 10:20:31 pm »
using the "fastmath" version

ok. on a 23.976fps 320x240 xvid4/ogg .ogm file encoded with transcode in 1 pass dvdrip at 200k vid  56k audio there were imperfections in the playback motion -again using fb.modes and the thread supplied mplayer.conf(fullscreen rotated). this was with the "fast kernel noffpe" no overclock.

With the ffpe version of same kernel:
not really any discernable improvement. very nice, but still the odd bit of "stickiness"

 I can't reall tell between this and 9pre10. it might be my mplayer conf making things that way though.
I'll keep at it, any ideas?
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

shreks

  • Newbie
  • *
  • Posts: 47
    • View Profile
Kino 0.4.1
« Reply #5 on: January 31, 2005, 10:45:36 pm »
I recently bought C3000, so where to download it? Thanks!

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Kino 0.4.1
« Reply #6 on: January 31, 2005, 10:49:00 pm »
did it with all he options suggested in your 1st post. loooked like the same thing as w/ the mplayer.config&fb.modes (ofcourse those a re still on my machine, but command line overrides, right?
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
Kino 0.4.1
« Reply #7 on: February 01, 2005, 08:32:43 am »
Quote
I recently bought C3000, so where to download it? Thanks!
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

[a href=\"https://www.oesf.org/forums/index.php?showtopic=10439&view=getnewpost)]https://www.oesf.org/forums/index.php?showt...iew=getnewpost)[/url]

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
Kino 0.4.1
« Reply #8 on: February 01, 2005, 08:37:53 am »
Quote
6000 please! piror to play around. I have Kino0.3 GUI and the mplayer was the one come with kino0.22.

I downloaded anrp's first versions. replaced the /usr/local/bin/mplayer. seems working ok with kino0.3 GUI. even tried atty's newest mplayer. mixed feelings. Haven't been able to get fullscreen+scale 640x480 working in landscape so far.  The original mplayer (from kino0.22) handles anrp's movie in that mode pretty decently. will try anrp's second version soon. will try play from console and report back. Malslovsky, can you care to teach me how to benchmark it?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=64787\"][{POST_SNAPBACK}][/a][/div]

On C6000, run the followng command:

Code: [Select]
mplayer -dr -vo fbdev -fs -double -vop rotate=1 -benchmark
After playback finishes, mplayer will print some benchmarking numbers

You may ommit -vop rotate=1 depending on your video orientation (portrate or landscape)

Also, add -af resample=44100:0:0 option if audio frequency in your video file is different form 44100
« Last Edit: February 01, 2005, 08:58:19 am by maslovsky »

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
Kino 0.4.1
« Reply #9 on: February 01, 2005, 08:51:07 am »
Quote
did it with all he options suggested in your 1st post. loooked like the same thing as w/ the mplayer.config&fb.modes (ofcourse those a re still on my machine, but command line overrides, right?
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

Yes, command line options override config files. Note that youmay not get too much of performance boost on C6000 because there is no hardware specific video driver for C6000. But still new mplayer version has a lot of bug fixes, features, it's OS independent (should work under both Qtopia and OZ) and faster even if not very much.

Also, I'd suggest to use the following sample movie for etsts:

[a href=\"http://picard.exceed.hu/samples/RL_MQB_320x240_512_128.avi]http://picard.exceed.hu/samples/RL_MQB_320x240_512_128.avi[/url]

This is 320x240 512 kb/s, 128 Kb/s audio

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
Kino 0.4.1
« Reply #10 on: February 01, 2005, 08:57:33 am »
One more thing - C5600, C3000 and C6000 owners, please, do the following for me:

1. Install kino2 0.4
2. Download the following binary (http://cacko.oesf.org/downloads/kino2/kino2) and copy it to /home/QtPalmtop/bin, override existing file
3. Launch kino2 and let me know if it starts at all or not.

There is a problem in kino 0.4 such that it woun't start at all on other Zaurus models. So I wanted to know if I was able to fix it or not in the first place...

shreks

  • Newbie
  • *
  • Posts: 47
    • View Profile
Kino 0.4.1
« Reply #11 on: February 01, 2005, 10:38:46 am »
Quote
Quote
I recently bought C3000, so where to download it? Thanks!
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

[a href=\"https://www.oesf.org/forums/index.php?showtopic=10439&view=getnewpost)]https://www.oesf.org/forums/index.php?showt...iew=getnewpost)[/url]
[div align=\"right\"][a href=\"index.php?act=findpost&pid=64882\"][{POST_SNAPBACK}][/a][/div]

I tried it! Both versions work greatly on my C3000! The playback is smooth and clear, and the sound is crispy! Terrific job!

One more suggestion, when the updated Kino2 is out, could you add as many video and audio decoders as possible? So Kino2 can deal with a variety of movie format, like real media, quicktime, Thanks a lot!

maslovsky

  • Hero Member
  • *****
  • Posts: 1426
    • View Profile
    • http://my-zaurus.narod.ru
Kino 0.4.1
« Reply #12 on: February 01, 2005, 11:52:14 am »
Quote
I tried it! Both versions work greatly on my C3000! The playback is smooth and clear, and the sound is crispy! Terrific job!

OK, how did you launch mplayer, with which parameters?
Did you try updated kino2 binary? Does it run?

Quote
One more suggestion, when the updated Kino2 is out, could you add as many video and audio decoders as possible? So Kino2 can deal with a variety of movie format, like real media, quicktime, Thanks a lot!

No, all codecs are built into mplayer, kino2 is only a GUI fontend. You can contact mplayer maintainers and ask them to add those codecs.

adf

  • Hero Member
  • *****
  • Posts: 2807
    • View Profile
    • http://
Kino 0.4.1
« Reply #13 on: February 01, 2005, 12:08:38 pm »
I'll test some more when I get home from work.  I can definitely see the value of distributing a static mplayer with kino though.  Has anyone contacted cwaig about this? He had been making some progress on the 6000 video acceleration, I think.
**3100 Zubuntu Jaunty,(working on Cacko dualboot), 16G A-Data internal CF, 4G SD, Ambicom WL-1100C Cf, linksys usb ethernet,  BelkinF8T020 BT card, Belkin F8U1500-E Ir kbd, mini targus usb mouse, rechargeble AC/DC powered USB hub, psp cables and battery extenders.

**6000l  Tetsuized Sharprom, installed on internal flash only 1G sd, 2G cf

Greg2

  • Hero Member
  • *****
  • Posts: 790
    • View Profile
    • http://
Kino 0.4.1
« Reply #14 on: February 01, 2005, 01:56:37 pm »
Quote
Now, since I can only test on C750, I need some help from you. I need owners of 5600, 6000 and C3000 to download new mplayer versions and try them out. C300 owners should use their native version, while 5600 and 6000 users should run mplayer with -vo fbdev option. What I need as ta result is to know which options work best on other Z models and update kino2 to support them.

I backed up my OZ install on my 5600 and installed the Sharp rom v1.32 with the Special Kernel v1.3 today. After testing both mplayers I have found that the best video and audio was achieved by using the mplayer-static-softvfp-ipp-2 with the RL_MQB_320*240.avi test video. I did not overclock the Z for this test. I will attach the benchmark using the best settings and a screenshot of the newKino2_0.4 binary on a 5600 for you. Regardless of what the benchmark says it looks and sounds great.

I hope this helps you Maslovsky and please post if you need anything else checked.

Thanks maslovsky and anrp!

Greg

Test:
bash-2.05$ mplayer -dr -vo fbdev -benchmark RL_MQB_320x240_512_128.avi
MPlayer dev-CVS--3.4.3 © 2000-2005 MPlayer Team
CPU: ARM

Failed to open /dev/rtc: Device or resource busy (it should be readable by the user.)
Playing RL_MQB_320x240_512_128.avi. AVI file format detected.
VIDEO:  [DX50]  320x240  24bpp  24.000 fps  512.5 kbps (62.6 kbyte/s)
==========================================================================
Requested audio codec family [mp3] (afm=mp3lib) not available.
Enable it at compilation.
Opening audio decoder: [libmad] libmad mpeg audio decoder
AUDIO: 44100 Hz, 2 ch, 16 bit (0x9), ratio: 16000->176400 (128.0 kbit)
Selected audio codec: [mad] afm:libmad (libMAD MPEG layer 1-2-3)
==========================================================================
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Checking audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 44100 hz, little-endian 16-bit signed int
AF_pre: 44100Hz 2ch little-endian 16-bit signed int
AO: [oss] 44100Hz 2ch little-endian 16-bit signed int (2 bps)
Building audio filter chain for 44100Hz/2ch/16bit -> 44100Hz/2ch/16bit...
Starting playback...
VDec: vo config request - 320 x 240 (preferred csp: Planar YV12)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
No accelerated colorspace conversion found
SwScaler: using unscaled Planar YV12 -> BGR 16-bit special converter
VO: [fbdev] 320x240 => 320x240 BGR 1A: 114.8 V: 114.4 A-V:  0.384 ct:

           ************************************************
           **** 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 -hardframedrop. - 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 nonRead DOCS/HTML/en/video.html for tuning/speedup tips.
If none of this helps you, read DOCS/HTML/en/bugreports.html.
 
A: 150.9 V: 151.4 A-V: -0.485 ct:
 
BENCHMARKs: VC:  88.080s VO:   0.340s A:  17.450s Sys:  44.497s =  150.367s
BENCHMARK%: VC: 58.5766% VO:  0.2263% A: 11.6047% Sys: 29.5924% = 100.0000%
Exiting... (End of file)
bash-2.05$