Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: vinceASPECT on June 27, 2011, 01:48:24 PM

Title: streaming internet radio player?
Post by: vinceASPECT on June 27, 2011, 01:48:24 PM
Hello

is there a lightweight internet audio stream player extension for TCL?

Does it execute from a command terminal...? 

i have previously used the Gui/ Pstreamer tool in Puppy Linux
to play streaming internet radio stations. You simply add the desired
url and then Pstreamer opens up your media player to play that url
(e,g, gzine player)

thanks

Vince.

Title: Re: streaming internet radio player?
Post by: hiro on June 27, 2011, 01:53:15 PM
I use mpg123.
Title: Re: streaming internet radio player?
Post by: vinceASPECT on June 27, 2011, 02:04:17 PM
Thanks for that recommendation

Vince.
Title: Re: streaming internet radio player?
Post by: OldAdamUser2 on June 27, 2011, 08:27:44 PM
I use xmms. It's old, and won't play ever streaming station, but it is still very good.
Title: Re: streaming internet radio player?
Post by: vinceASPECT on June 29, 2011, 05:28:26 AM
mpg123 is very good.

Thanks.

Do you know if mpg123 plays streaming video?....or do you know of
any lightweight movie stream playing tools?

thanks

Vince.
Title: Re: streaming internet radio player?
Post by: curaga on June 29, 2011, 10:22:55 AM
mpg123 only plays mp3/2/1 audio.

You don't get much lighter than mplayer-nodeps for video.
Title: Re: streaming internet radio player?
Post by: vinceASPECT on June 29, 2011, 01:19:04 PM
Hello,

oh, i see then.

My TCL did not like some tiny aspect of VLC. Sound aspects.

i will continue trying to get Smplayer and mplayer to work in unison.

Mplayer often says my PC is too slow to play a stream, but continues to play it...!

The sound and video are not in sync. But i know this speed thing  is not an issue
because mplayer, when properly configured, works perfectly with the same streams
on this PC with a similar OS to TCL ......while having less free ram.

THe "smplayer gui" has features for syncing audio with video
and this is of interest to me in tcl.

Does anybody know the "piesta de resistance" of command line arguments for
mplayer so that it will play "anything" without a hitch?

My video card is a RAGE mobility by ati. It has 8 megs of memory and seems like
a reasonable video chip. Pentium 3 mobile 800 mhz cpu and 256 ram.

Like i say, this stuff works perfectly in other similar OS's to tcl. So this prooves
it's just a configuration excercise with tcl and mplayer to achieve success.

I have tried many arguments with mplayer at the command line....but non specifically
regarding the video rendering plug in...." -vm ffmpeg" and things like -liblabvot and other
arguments.

I tried the argument about "audio delay" adjustment but it does not appear to do anything.

thanks

Vince.


Title: Re: streaming internet radio player?
Post by: Rich on June 29, 2011, 01:39:05 PM
Hi vinceASPECT
Boot up the "similar OS" and start mplayer. Then open a terminal and type  ps -aux | grep mplayer
That should give you the command line arguments that where used to invoke mplayer.
Title: Re: streaming internet radio player?
Post by: vinceASPECT on June 29, 2011, 03:48:25 PM
Rich,

that's real helpful indeed.

I am fussy and i want my internet video streaming inside TCL. This is why
i am messing about with it.

See, i have a clean TCL and installed alsa and all it's deps...but alsa simply does not
find my USB soundcard.

Alsa on the other similar OS finds the USB soundcard no problem. It's the same tool
that is used....Alsaconf.    (wonder why TCl does not find this usb souncard)

when TCL boots it always says BAD DEVICE 49 usb sound.......but the USB sound
still works at the desktop using OSS.

Clearly my USB soundcard works perfectly with alsa....i have seen it in an similar OS to tcl. What can make it work correctly inside TCL?

i could go and read all the stuff about configuring Alsa....but i seem to recall i already
did this and nothing improved.

It tried plugging in the sound card after boot...that made no difference to alsa conf.

hmmm

You see, many threads mention that "mplayer" largest bug bear is bad sound drivers messing up sync and timing. The threads mention OSS as poor.

My other distro uses Alsa when using mplayer

thanks

Vince.

Vince.
Title: Re: streaming internet radio player?
Post by: curaga on June 29, 2011, 03:51:38 PM
The magic option would generally be "-framedrop", and to make sure you have XV acceleration (Xorg).
Title: Re: streaming internet radio player?
Post by: vinceASPECT on June 29, 2011, 05:26:15 PM
Hello,

uh ...i am not sure what XV is......or XV acceleration (Xorg)

I only see a command line and help tips when i execute mplayer.

i will check arguments again

Vince.
Title: Re: streaming internet radio player?
Post by: curaga on June 30, 2011, 04:50:43 AM
If you use Xorg and the driver supports XV, mplayer will use it automatically.
Title: Re: streaming internet radio player?
Post by: vinceASPECT on June 30, 2011, 08:18:14 PM
Yes

i do use xorg here. At least i believe so. Other distros always choose xorg
by default and it works fine. I presuem TCL is also using xorg.

As for the "if the driver supports it" part. I am not sure. Smplayer seems
to choose XV by default.

VInce
Title: Re: streaming internet radio player?
Post by: Rich on June 30, 2011, 10:24:37 PM
hi vinceASPECT
Since Puppy choked on  ps -aux | grep mplayer  try  ps | grep mplayer  instead and see if that
produces better results.
Title: Re: streaming internet radio player?
Post by: hiro on July 01, 2011, 07:33:41 AM
On tinycorelinux default is not Xorg, but Xvesa.
Title: Re: streaming internet radio player?
Post by: vinceASPECT on July 02, 2011, 04:17:48 AM
Hello,

oh i see.

Which is best to use?  Xorg for streaming video playing?....then you can enable the acceleration(s)?

So currently i must be running in Xvesa then?

I know this PC works fine with xorg.

how do i change to xorg.

Where abouts do i type the bootcode. Which config file?
What is the bootcode?

thanks

Vince.
Title: Re: streaming internet radio player?
Post by: hiro on July 02, 2011, 06:53:27 AM
You just have to install an Xorg extension
Title: Re: streaming internet radio player?
Post by: vinceASPECT on July 02, 2011, 08:48:19 AM
Ok hiro,

I looked and found "xorg 7.5" extension.

So do i just install it and then follow the instructions that it details
about how to get acceleration working.

thanks

Vince.
Title: Re: streaming internet radio player?
Post by: Juanito on July 02, 2011, 08:51:28 AM
So do i just install it and then follow the instructions that it details
about how to get acceleration working.

 ???
Title: Re: streaming internet radio player?
Post by: vinceASPECT on July 02, 2011, 09:01:55 AM
Hi

sorry, i just don't know "confless" means.

i will search the forum

Thanks

Vince.
Title: Re: streaming internet radio player?
Post by: Juanito on July 02, 2011, 09:05:51 AM
sorry, i just don't know "confless" means.

"confless" means without a config file /etc/X11/xorg.conf - xorg attempts to guess your settings and, in my case (intel graphics chipset), always fails...