Help - Search - Members - Calendar
Full Version: Musepack streaming...
Hydrogenaudio Forums > Hydrogenaudio Forum > General Audio
M300A
Hi,

I would know if it's possible to stream musepack with ices2@icecast2 under Linux.

If not, how could i convert mpc to ogg on the fly ?
Mr_Rabid_Teddybear
QUOTE(M300A @ Sep 12 2004, 09:21 AM)
Hi,

I would know if it's possible to stream musepack with ices2@icecast2 under Linux.

If not, how could i convert mpc to ogg on the fly ?
*


1. You cannot stream Musepack (not the current SV7, anyways).

2. Oddsock's Oddcast plugin for different players will do just that; convert the output of what the player is currently playing to ogg and send it to the server. On Linux that leaves you with the Oddcast plug for XMMS. You will also need the Musepack plugin for XMMS, but I guess you have that already. It will be XMMS > Oddcast2 plugin for XMMS > Icecast2 server > The World. You can not use Ices2, thats only for Ogg Vorbis input.
M300A
sad.gif

I must use Ices2 because of a big vote system using PHP.

Anyway, I will have to decode all mpc files and reeconde them into ogg sad.gif

Please let me know if you know something would could do this and keep ape tags biggrin.gif
Mr_Rabid_Teddybear
I haven't used Ices. Found this in the documentation:
QUOTE
StdinPCM

        <module>stdinpcm</module>
        <param name="rate">44100</param>
        <param name="channels">2</param>
        <param name="metadata">1</param>
        <param name="metadatafilename">/home/ices/metadata</param>
  

This module should always be available, and as you can see the parameters are almost the same except for the device. The PCM audio comes from the standard input so it can be generated from some external app feeding into a pipe.

As it's raw PCM being fed in, it's impossible to determine the samplerate and channels so make sure the stated parameters match the incoming PCM or the audio will be encoded wrongly.
Playlist

So maybe there's hope....? You could look into that (decoding musepack to raw PCM and sending it to Ices stdin by some kind of means?). There will not be any way possible to pass the metadata (tags) along with a raw PCM stream, though......

As for the ape2 to vorbiscomments conversion on Linux, I'm not sure (I don't have a 'nix box where I'm currently at either, so I can't check).

Sorry I can't be of more help....
Seed
A new version of the XMMS plugin fixes some small nasty bugs and it's on the site now. Be sure to download it.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.