OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: cs_jacky on January 11, 2006, 04:07:51 am

Title: Beep-media-player Compiled
Post by: cs_jacky on January 11, 2006, 04:07:51 am
For CJK people, good news... We have player that display CJK characters correctly.

I compiled beep-media-player (BMP). However, the decoder in the player use floating point algorithm. This used almost 100% CPU in my C860 (with all visualization, etc switched off).

Fortunately, BMP can use XMMS plugins. That means you can use the integer algorithm plugin in XMMS (such as XMMS mad plugin). I splited it into a number of ipks for easy installation.

1. BMP program
    Install this ipk  [ You are not allowed to view attachments ]

2. Plugins
2.1 MP3 decoder (required if you are going to listen MP3s)
      There are 2 options. You should only install one of the two.
      1. Floating point decoder:
           [ You are not allowed to view attachments ]
      2. Integer decoder from XMMS. No dependency on XMMS (i.e., you can remove XMMS):
           [ You are not allowed to view attachments ]  (xmms-mad 0.8 from sourceforge.net and ported to BMP)

2.2 Ogg decoder (required if you are going to listen OGGs)
      Two options again. You should only install one of the two.
      1. Floating point decoder (you need to install libogg and libvorbis):
           [ You are not allowed to view attachments ]
           [ You are not allowed to view attachments ]
           [ You are not allowed to view attachments ]
      2. Integer decoder from XMMS. No dependency on XMMS (i.e., you can remove XMMS):
           [ You are not allowed to view attachments ]  (compiled for BMP)

2.3 CD Audio (required if you are going to listen CD?!):
       [ You are not allowed to view attachments ]

2.4 WAV decoder (required if you are going to listen WAV):
       [ You are not allowed to view attachments ]

MAD and Tremor plugin gives a very good performance and I suggest you to use these two plugins instead of their floating point counterparts.

Enjoy...
Title: Beep-media-player Compiled
Post by: pgas on January 11, 2006, 04:19:21 am
Great!

I mirrored the packages here:
http://mail.pdaxrom.org/contrib/cs_jacky/ (http://mail.pdaxrom.org/contrib/cs_jacky/)

perhaps leave a message here if you download the packages  from the feed, so that cs_jacky knows he hasn't compiled it for nothing
Title: Beep-media-player Compiled
Post by: ZDevil on January 11, 2006, 04:41:37 am
Thanks for this timely app!  With the rising popularity of pdaXrom among CJK users it doesn't really make sense to have something as basic as a music player without CJK support.  

Keep up the great work!
Title: Beep-media-player Compiled
Post by: pgas on January 11, 2006, 04:52:21 am
Quote
I found that the XMMS MAD plugin has a bug so that XMMS/BMP will skip the first second of the song. Anyone know any work around?
Furthermore, integer decoders give you very good system performance but it will crash you BMP if you view the id3 details.

here:
http://perso.crans.org/~krempp/xmms-mad/ (http://perso.crans.org/~krempp/xmms-mad/)
it says:
Quote
fixed decoding bug - id3v2 frames could cause the decoder to skip the first few seconds of a file, Now it's completeley gapless (if used with xmms-crossfade).
Title: Beep-media-player Compiled
Post by: cs_jacky on January 11, 2006, 05:12:17 am
Thanks pgas for your information.

In fact, I checked my Gentoo and found that xmms-mad 0.8 works fine in my desktop. So, I tried to compile it for Zaurus. It works fine!

I updated bmp_plugin_mad_0.9.7_armv5tel.ipk. Now, you should have your back the few seconds...

P.S. I think it can also fix the same problem in XMMS. What you need to do is to replace the libxmmsmad.so in /usr/lib/xmms/Input with the one in my ipk.
Title: Beep-media-player Compiled
Post by: cs_jacky on January 11, 2006, 05:52:41 am
I also compiled bmp-doclet which can add a control in your tray.

To install it, you need to do...
1. install this ipk
     [ You are not allowed to view attachments ]

2. start BMP and go to preference -> General. Enable "Doclet Plugin"

You should find an icon in your system tray. Click on this icon to hide/show BMP. Right click to pop up menu for frequently used command. I think it is very useful.

Pgas would you mind to mirror this ipk as well?

Enjoy...
Title: Beep-media-player Compiled
Post by: pgas on January 11, 2006, 07:05:47 am
Quote
Pgas would you mind to mirror this ipk as well?

No I don't mind.

In fact if you see something missing, something I should do,
don't hesitate to pm or mail me.

I do read the forum, but having remainders is not a bad thing.
Title: Beep-media-player Compiled
Post by: ScottYelich on January 11, 2006, 08:20:28 am
I also like bmp...

Thank you!

second mirror:  http://zaurus.spy.org/feeds/cacko/pdaXrom/...beta1/cs_jacky/ (http://zaurus.spy.org/feeds/cacko/pdaXrom/1.1.0/beta1/cs_jacky/)
Title: Beep-media-player Compiled
Post by: eddiectc on January 11, 2006, 08:57:53 pm
Great news for us using CJK!
I'm now going to try it out.
Thanks for the great work!
Title: Beep-media-player Compiled
Post by: eddiectc on January 11, 2006, 09:25:16 pm
the bmp works great!

no more utf8 encoding problem
and seems the cpu usage is less than xmms
Title: Beep-media-player Compiled
Post by: eddiectc on January 11, 2006, 09:28:32 pm
oh but the bmp mixer doesn't work
need to use the OSS mixer
Title: Beep-media-player Compiled
Post by: MONVMENTVM on January 12, 2006, 01:39:26 am
is it possible to compile BMPx?

http://bmpx.beep-media-player.org (http://bmpx.beep-media-player.org)
Title: Beep-media-player Compiled
Post by: cs_jacky on January 12, 2006, 04:39:18 am
Thanks to the help from sashz. I compiled xmms-tremor for BMP. It is not working without crash!

I also ported xmms-mad to BMP. You can view and edit ID3 of your MP3 files now.

Now, I repacked the MP3 and OGG decoder plugins. All you need to do is to uninstall MP3 and OGG ipk and install the new one.
Title: Beep-media-player Compiled
Post by: cs_jacky on January 12, 2006, 04:46:59 am
Quote
is it possible to compile BMPx?

http://bmpx.beep-media-player.org (http://bmpx.beep-media-player.org)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=110589\"][{POST_SNAPBACK}][/a][/div]

I don't think we can put it to Zaurus at the moment. I requires GTK+2.8, etc which are not available in pdaXrom.
Title: Beep-media-player Compiled
Post by: cs_jacky on January 12, 2006, 04:48:44 am
Quote
oh but the bmp mixer doesn't work
need to use the OSS mixer
[div align=\"right\"][a href=\"index.php?act=findpost&pid=110566\"][{POST_SNAPBACK}][/a][/div]

What do you mean by "bmp mixer doesn't work"? I don't find any "bmp mixer" in BMP.
Title: Beep-media-player Compiled
Post by: eddiectc on January 12, 2006, 04:58:10 am
Quote
Quote
oh but the bmp mixer doesn't work
need to use the OSS mixer
[div align=\"right\"][a href=\"index.php?act=findpost&pid=110566\"][{POST_SNAPBACK}][/a][/div]

What do you mean by "bmp mixer doesn't work"? I don't find any "bmp mixer" in BMP.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=110607\"][{POST_SNAPBACK}][/a][/div]

i mean the volumn control
Title: Beep-media-player Compiled
Post by: cs_jacky on January 12, 2006, 05:14:10 am
Quote
Quote
Quote
oh but the bmp mixer doesn't work
need to use the OSS mixer
[div align=\"right\"][a href=\"index.php?act=findpost&pid=110566\"][{POST_SNAPBACK}][/a][/div]

What do you mean by "bmp mixer doesn't work"? I don't find any "bmp mixer" in BMP.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=110607\"][{POST_SNAPBACK}][/a][/div]

i mean the volumn control
[div align=\"right\"][a href=\"index.php?act=findpost&pid=110608\"][{POST_SNAPBACK}][/a][/div]

It works for me. Try Preference -> Plugins -> Output -> eSound Output Plugin
It will use ESD. Actually, I prefer to use ESD because ESD can mix sound (such as gaim) from multiple application together if they also output sound to ESD.
Title: Beep-media-player Compiled
Post by: eddiectc on January 12, 2006, 11:07:42 am
Well, it works now! need to use esd.
Title: Beep-media-player Compiled
Post by: cs_jacky on January 13, 2006, 08:39:51 am
I found a bug in BMP which caused a crash if you click the stop menu item, etc of the doclet icon in systray when the BMP window is hidden.

I fixed this bug and updated bmp_0.9.7_armv5tel.ipk.