Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: XMMS player suitable for http streaming on Linux ? (Read 5815 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

XMMS player suitable for http streaming on Linux ?

I'm converting an on-demand audio (via http) site from RealAudio to Speex, and I need to recommend a player for my Linux listeners.
I've got XMMS with the xmms-speex plugin to work just great on Linux when playing .spx files on my local hard disk, but when I set it to access the file via http (i.e. to download the file from the web and play it as it comes down), it loads the file as far as the buffer size I specified (50 k) and then segfaults as soon as it starts to play. ??? I'm a Linux newbie... I encoded the .spx files in VBR mode at 8kbps... they can be played ok in http streaming mode in Windows using FooBar2000.
I've tried various RPMs of XMMS and xmms-speex (mandrake Cooker & Fedora Core 1) all with same result... works fine from hard disk, segfaults via http.
????
any pointers greatfully received
reagrds, Rod

XMMS player suitable for http streaming on Linux ?

Reply #1
You can try amaroK . It can use Gstreamer or Xine as backend so it can decode speex and it does http streaming. Cheers 
An eye for eye will make the whole world blind

XMMS player suitable for http streaming on Linux ?

Reply #2
Quote
You can try amaroK . It can use Gstreamer or Xine as backend so it can decode speex and it does http streaming. Cheers 
[a href="index.php?act=findpost&pid=230807"][{POST_SNAPBACK}][/a]

Thanks for the suggestion... I read the available Amaorok info on the KDE site, and I cant't even find a list of codecs it supports. I downloaded the basic precompiled RPM and I can't get it to play anything.. not even .wav (refuses to copy .wav file location into playlist). Doco talks about plugins, but no why, what, how from the non-techsavvy user's point of view. This is the problem with open source... bad documentation, assumptions that users of products are techno-savvy, when all they want to do is play audio files. I can't ask my listeners to use this.. they want to download something, click to install, click to play. FooBar meets this rqmt for Win.
Also, I'd really like to find out what is actually going wrong with XMMS and Speex streaming... any pointers as to how I can debug it ? Is there some fundamental difference between playing a disk file and a web-streaming one ?

XMMS player suitable for http streaming on Linux ?

Reply #3
Quote
I read the available Amaorok info on the KDE site, and I cant't even find a list of codecs it supports.

Xine engine supports all codecs supported by Xine. Gstreamer engine supports wav,mp3,ogg,speex,xm,etc.


Quote
I downloaded the basic precompiled RPM and I can't get it to play anything.. not even .wav (refuses to copy .wav file location into playlist). Doco talks about plugins, but no why,


Either install xine-libs rpm and use xine as amaroK's engine in settings or install Gstreamer Plugins

Quote
This is the problem with open source... bad documentation, assumptions that users of products are techno-savvy, when all they want to do is play audio files.

( Harsh harsh comments  ) amaroK has quite a documentation try Help->Amarok Handbook or try http://amarok.kde.org/component/option,com...quirements.html for requirements.

Quote
Also, I'd really like to find out what is actually going wrong with XMMS and Speex streaming... any pointers as to how I can debug it ?


Use gdb to debug it.

Quote
Is there some fundamental difference between playing a disk file and a web-streaming one ?


One is downloading off the web caches then plays cached part in the other scenario its just a local file.
An eye for eye will make the whole world blind

XMMS player suitable for http streaming on Linux ?

Reply #4
well xmms is a very old software now, you could try others player that are more recent on linux.

XMMS player suitable for http streaming on Linux ?

Reply #5
the video players have more advanced http/network functionality.

try xine gxine totem mplayer vlc kaffeine (etc)

i prefer gxine.


later

XMMS player suitable for http streaming on Linux ?

Reply #6
Thanks guys for your constructive feedback, this gives me something to go on with. I'd like to contribute to the opensource movement, but I'm not a C programmer..

XMMS player suitable for http streaming on Linux ?

Reply #7
Quote
the video players have more advanced http/network functionality.

try xine gxine totem mplayer vlc kaffeine (etc)

i prefer gxine.


later
[a href="index.php?act=findpost&pid=231166"][{POST_SNAPBACK}][/a]


I installed xine. It plays OK from disk... but when I create a .tox playlist file it keeps rebuffering the .spx file and never gets to actually play it.
When I enter the Url manually into the "edit playlist" option and press "play" it doesn't do anything at all.
Have you actually used xine to stream HTTP ? Do you have an example of a playlist file ? Yes, I read the available documentation. I can't find any documentation or config options relating to stream buffering.
It looks to me I need to educate myself in the Linux multimedia concept.. I need a framework I can fit Alsa, OSS, Gstreamer, system configuration, etc. into... any suggestions for reading up ?
thanks
Rod