Streamtuner+AlsaPlayer-476kb or Streamtuner+Aqualung-576kb

Stuff that has yet to be sorted into a category.
Message
Author
User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

Streamtuner+AlsaPlayer-476kb or Streamtuner+Aqualung-576kb

#1 Post by ttuuxxx »

Hi This is for Puppy 4 Series. I re-themed Streamtuner, Plus Made some themes for Aqualung. When you select a song in Streamtuner it will launch AlsaPlayer or Aqualung player, AlsaPlayer will play straight away, and Aqualung you have to press the play button. They both work great, enjoy :) I combined these players with streamtuner because, Gxine will take upto 20% of your cpu and sound playback can be choppy, While these small players of online audio streams plus cd/mp3 etc take around 1-4%CPU, It makes the sound much better, I can surf and listen to music at the same time without any sound loss or breakage, where Gxine it would happen all the time.
Enjoy :)
ttuuxxx

Just updated Aqualung with libsamplerate, which allows you change the sample rate quality. Handy if its playing slow. Or that you like higher quality. etc adds around a extra 102kb to the package
ttuuxxx

@@@ Updated @@@

If downloaded the first release of Aqualung+Streamtuner and noticed no taskbar icon, there is a patch at the bottom of the page, I've included the missing icon in the updated packages now also.
Attachments
AlsaPlayer-Streamtuner.png
(26.67 KiB) Downloaded 6994 times
aqualung.png
(48.41 KiB) Downloaded 6946 times
Last edited by ttuuxxx on Tue 18 Aug 2009, 14:44, edited 7 times in total.
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#2 Post by ttuuxxx »

Now its 3 packages one new aqualung with libsamplerate and streamtuner, about 102kb larger
ttuuxxx
Attachments
shoutcast.png
(79.1 KiB) Downloaded 6821 times
Last edited by ttuuxxx on Thu 12 Feb 2009, 03:14, edited 1 time in total.
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

magerlab
Posts: 739
Joined: Sun 08 Jul 2007, 20:08

#3 Post by magerlab »

i like aqualung( there was a pet with it before)
but yours misses a tray icon?
when i close the window it doesnot stop to play
and no icon in the tray

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#4 Post by ttuuxxx »

magerlab wrote:i like aqualung( there was a pet with it before)
but yours misses a tray icon?
when i close the window it doesnot stop to play
and no icon in the tray
It was missing a icon, the packages have been updated and the fix for previous downloads is below
ttuuxxx
Last edited by ttuuxxx on Wed 11 Feb 2009, 22:58, edited 1 time in total.
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

aragon
Posts: 1698
Joined: Mon 15 Oct 2007, 12:18
Location: Germany

#5 Post by aragon »

hi ttuuxxx,

it works (see image below from another pet) also in jwm. maybe a missing icon?

aragon
Attachments
aqualung.png
(26.81 KiB) Downloaded 6853 times

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#6 Post by ttuuxxx »

It was missing a icon, the packages have been updated and the fix for previous downloads is below
ttuuxxx
Attachments
icon.png
(6.23 KiB) Downloaded 6748 times
Last edited by ttuuxxx on Wed 11 Feb 2009, 22:58, edited 1 time in total.
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#7 Post by ttuuxxx »

Well I did remove the 64x64 icon, lol but what does a 64x64 icon have to do with a taskbar? but thats where the problem is. It already had 16x16, 24x24, 32x32, 48x48, 64x64 and a general icon 6 icons all the same, and 99.9999999% of the time you can remove the 64x64 or 128x128 if it has it, but not this time, lol Download the pet below to fix the issue and I'll update the packages above.
ttuuxxx
Attachments
AqualungFix.pet
(6.99 KiB) Downloaded 977 times
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#8 Post by ttuuxxx »

just updated the SHOUTcast plugin thanks to Catdude, which he provided that shows all of the different genre's. So all 3 packages now have been updated. Hopefully the last time for now :)
ttuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

panzerpuppy
Posts: 632
Joined: Tue 02 Oct 2007, 07:39

#9 Post by panzerpuppy »

ttuuxxx,there's a newer SVN snapshot of Alsaplayer available on SourceForge (~Apr 2008) ;)

Latest SVN version changelog:
--------------------------------------------------
- 2 bug fixes in the id3 tag support
- fix getting JACK sample rate
- added initial systray / icon function <- interesting :)
- removed dead code
- fix memleak with path copying
- don't stop if we cannot find plugin->stream_info

Are there any other streamtuner plugins besides Xiph and Shoutcast ?
Last edited by panzerpuppy on Tue 14 Apr 2009, 05:51, edited 6 times in total.

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#10 Post by ttuuxxx »

panzerpuppy wrote:ttuuxxx,there's a newer SVN snapshot of Alsaplayer available on SourceForge (~Apr 2008) ;)

Latest SVN version changelog:
--------------------------------------------------
- 2 bug fixes in the id3 tag support
- fix getting JACK sample rate
- added initial systray / icon function <- interesting :)
- removed dead code
- fix memleak with path copying
- don't stop if we cannot find plugin->stream_info

Are there other stream plugins for Streamtuner besides Xiph and Shoutcast ?
only a python plugin, never tried it due to the needed python library.
Next time I have 4.2 up and running I'll compile the svn model.
working on dpup right now
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

panzerpuppy
Posts: 632
Joined: Tue 02 Oct 2007, 07:39

#11 Post by panzerpuppy »

I get frequent audio skips when playing net radio streams even when the buffer is 90% full and CPU usage is 0%.

I tried to start Alsaplayer in real-time mode with the -r switch - even that doesn't help :(
Last edited by panzerpuppy on Tue 14 Apr 2009, 06:37, edited 3 times in total.

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#12 Post by ttuuxxx »

http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

panzerpuppy
Posts: 632
Joined: Tue 02 Oct 2007, 07:39

#13 Post by panzerpuppy »

Similar problem with Gxine...but I can't monitor the buffer level with this player,so I don't know if it's due to buffer underruns this time.

ttuuxxx,try this stream (play it for a few hours) and see if you get any of those annoying skips / breaks:
http://91.121.211.208:8418

User avatar
synth
Posts: 209
Joined: Wed 18 Mar 2009, 17:51

#14 Post by synth »

Here's a nice tip for the audiophiles using AlsaPlayer / Puppy:

If you have integrated AC'97 / HDA audio or a Creative soundcard (Live,Audigy,Audigy2 etc.), then run alsaplayer like this:

Code: Select all

alsaplayer --frequency 48000
The difference in the sound quality is like night and day.

What you're doing with this trick is bypassing the shitty resampling algorithm of the Creative / onboard crap and using much better (software) resampling.

The CPU overhead is minimal.

And just for fun,try this one:

Code: Select all

alsaplayer --frequency 8000
for that awesome 'LoFi' sound.

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#15 Post by ttuuxxx »

panzerpuppy wrote:Similar problem with Gxine...but I can't monitor the buffer level with this player,so I don't know if it's due to buffer underruns this time.

ttuuxxx,try this stream (play it for a few hours) and see if you get any of those annoying skips / breaks:
http://91.121.211.208:8418
Hi I'm using Dpup right now and I loaded that link on a old/small version of BMP Beep media player I compiled on dpup and it plays perfect, been playing it for about 30mins, I'll tell you if there's any change :)
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

panzerpuppy
Posts: 632
Joined: Tue 02 Oct 2007, 07:39

#16 Post by panzerpuppy »

Is it possible to play .ASF (WMA) streams via the mms:// protocol with Streamtuner + AlsaPlayer ?

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#17 Post by ttuuxxx »

panzerpuppy wrote:Is it possible to play .ASF (WMA) streams via the mms:// protocol with Streamtuner + AlsaPlayer ?
whats the stream example you have?
I have bmp installed and it works with a lot of streams and I'll be building a streamtuner/bmp release soon, should be about the same size :) So since I have it installed right now i could test it straight away and findout if it works. I'll also look into alsaplayer also.
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

panzerpuppy
Posts: 632
Joined: Tue 02 Oct 2007, 07:39

#18 Post by panzerpuppy »

ttuuxxx wrote:
panzerpuppy wrote:Is it possible to play .ASF (WMA) streams via the mms:// protocol with Streamtuner + AlsaPlayer ?
whats the stream example you have?
I have bmp installed and it works with a lot of streams and I'll be building a streamtuner/bmp release soon, should be about the same size :) So since I have it installed right now i could test it straight away and findout if it works. I'll also look into alsaplayer also.
ttuuxxx
Try this (low quality) stream for example:

mms://66.90.103.45:80/golden

(Gxine can play it, but Alsaplayer fails to open the stream)

User avatar
ttuuxxx
Posts: 11171
Joined: Sat 05 May 2007, 10:00
Location: Ontario Canada,Sydney Australia
Contact:

#19 Post by ttuuxxx »

panzerpuppy wrote:
ttuuxxx wrote:
panzerpuppy wrote:Is it possible to play .ASF (WMA) streams via the mms:// protocol with Streamtuner + AlsaPlayer ?
whats the stream example you have?
I have bmp installed and it works with a lot of streams and I'll be building a streamtuner/bmp release soon, should be about the same size :) So since I have it installed right now i could test it straight away and findout if it works. I'll also look into alsaplayer also.
ttuuxxx
Try this (low quality) stream for example:

mms://66.90.103.45:80/golden

(Gxine can play it, but Alsaplayer fails to open the stream)
the actual streams for that mms file is
http://66.90.103.45:80/golden?MSWMExt=.asf
and no that didn't play in bmp maybe with a plugin, but not by default, That would play with bigbass's release of xmms for gtk2 puppy 4.0 http://www.murga-linux.com/puppy/viewto ... 51&t=29529
he included wma format and gtk1 libs
ttuuxxx
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games :)

User avatar
trapster
Posts: 2117
Joined: Mon 28 Nov 2005, 23:14
Location: Maine, USA
Contact:

#20 Post by trapster »

ttuuxxx wrote:
I have bmp installed and it works with a lot of streams and I'll be building a streamtuner/bmp release soon...
Why build for different players? This is what I have for bmp.
Just add the script (ie. streamtuner2bmp) for whichever player to /usr/local/streamtuner.

streamtuner2bmp:

Code: Select all

#!/bin/sh
sed -i -r '/#M3U/d' $1
bmp $1 &
exit
Of course, make sure you symlink beep-media-player to bmp

Now, when you get streamripper incorporated...

these work:

Code: Select all

mplayer mms://66.90.103.45:80/golden

Code: Select all

gxine mms://66.90.103.45:80/golden

Code: Select all

xine mms://66.90.103.45:80/golden
(with xine-ui)
trapster
Maine, USA

Asus eeepc 1005HA PU1X-BK
Frugal install: Slacko
Currently using full install: DebianDog

Post Reply