HydrogenAudio

Lossy Audio Compression => Speech Codecs => Topic started by: RodB on 2004-08-01 13:04:01

Title: XMMS player suitable for http streaming on Linux ?
Post by: RodB on 2004-08-01 13:04:01
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
Title: XMMS player suitable for http streaming on Linux ?
Post by: cartman on 2004-08-01 13:32:45
You can try amaroK (http://amarok.kde.org) . It can use Gstreamer (http://www.gstreamer.net) or Xine (http://www.xinehq.de) as backend so it can decode speex and it does http streaming. Cheers 
Title: XMMS player suitable for http streaming on Linux ?
Post by: RodB on 2004-08-02 13:23:55
Quote
You can try amaroK (http://amarok.kde.org) . It can use Gstreamer (http://www.gstreamer.net) or Xine (http://www.xinehq.de) 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 ?
Title: XMMS player suitable for http streaming on Linux ?
Post by: cartman on 2004-08-02 16:02:37
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 (http://gstreamer.freedesktop.org/src/gst-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 (http://amarok.kde.org/component/option,com_staticxt/staticfile,requirements.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.
Title: XMMS player suitable for http streaming on Linux ?
Post by: ciber-fred on 2004-08-02 17:02:30
well xmms is a very old software now, you could try others player that are more recent on linux.
Title: XMMS player suitable for http streaming on Linux ?
Post by: xmixahlx on 2004-08-02 17:46:12
the video players have more advanced http/network functionality.

try xine gxine totem mplayer vlc kaffeine (etc)

i prefer gxine.


later
Title: XMMS player suitable for http streaming on Linux ?
Post by: RodB on 2004-08-03 11:41:53
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..
Title: XMMS player suitable for http streaming on Linux ?
Post by: RodB on 2004-08-06 09:37:07
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