OggVorbis streaming

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Andrew Heald

    OggVorbis streaming

    I'm trying to listen to kcsm.org using
    http://hifi.kcsm.org:8040/vorbis2.ogg and there's no audio from the
    squeezebox. XMMS will play the stream from this URL correctly.

    I'm running the 01/06/2004 build on Linux with firmware version 23.
    Everything else seems to be fine. None of the config files have been
    altered in any way.

    As far as I can tell I need oggdec and this is correctly installed.
    Running it with no parameters gives output as below. There's no sign of
    an attempt to run oggdec when I play this stream on the squeezebox.

    What am I missing here?

    Thanks in advance,
    Andrew.

    ---------------------------------------------
    OggDec 1.0
    Usage: oggdec [flags] file1.ogg [file2.ogg ... fileN.ogg]

    Supported flags:
    --quiet, -Q Quiet mode. No console output.
    --help, -h Produce this help message.
    --version, -v Print out version number.
    --bits, -b Bit depth for output (8 and 16 supported)
    --endianness, -e Output endianness for 16 bit output. 0 for
    little endian (default), 1 for big endian
    --sign, -s Sign for output PCM, 0 for unsigned, 1 for
    signed (default 1)
    --raw, -R Raw (headerless) output.
    --output, -o Output to given filename. May only be used
    if there is only one input file
  • kdf
    NOT a Slim Devices Employee
    • Apr 2005
    • 9493

    #2
    OggVorbis streaming

    what's missing is the fact that slimserver can play songs of different formats,
    but is not yet able to handle conversion of streams. some conversions are
    possible, but are handled by sophisticated plugins liek AlienStream.
    -kdf

    Quoting Andrew Heald <andrew (AT) heald (DOT) co.uk>:

    > I'm trying to listen to kcsm.org using
    > http://hifi.kcsm.org:8040/vorbis2.ogg and there's no audio from the
    > squeezebox. XMMS will play the stream from this URL correctly.
    >
    > I'm running the 01/06/2004 build on Linux with firmware version 23.
    > Everything else seems to be fine. None of the config files have been
    > altered in any way.
    >
    > As far as I can tell I need oggdec and this is correctly installed.
    > Running it with no parameters gives output as below. There's no sign of
    > an attempt to run oggdec when I play this stream on the squeezebox.
    >
    > What am I missing here?
    >
    > Thanks in advance,
    > Andrew.
    >
    > ---------------------------------------------
    > OggDec 1.0
    > Usage: oggdec [flags] file1.ogg [file2.ogg ... fileN.ogg]
    >
    > Supported flags:
    > --quiet, -Q Quiet mode. No console output.
    > --help, -h Produce this help message.
    > --version, -v Print out version number.
    > --bits, -b Bit depth for output (8 and 16 supported)
    > --endianness, -e Output endianness for 16 bit output. 0 for
    > little endian (default), 1 for big endian
    > --sign, -s Sign for output PCM, 0 for unsigned, 1 for
    > signed (default 1)
    > --raw, -R Raw (headerless) output.
    > --output, -o Output to given filename. May only be used
    > if there is only one input file
    >
    >
    >

    Comment

    • Peter Heslin

      #3
      OggVorbis streaming

      On Tue, Jun 01, 2004 at 04:28:30AM -0700, kdf wrote:
      > what's missing is the fact that slimserver can play songs of different formats,
      > but is not yet able to handle conversion of streams. some conversions are
      > possible, but are handled by sophisticated plugins liek AlienStream.
      > -kdf


      I just tried playing this ogg stream with version 3 of alienstream,
      and it worked fine. Just make a file called kcsm.m3u containing a
      single line which is the URL of the ogg stream.

      Instructions for installing the plugin are here:


      Peter

      Comment

      • Andrew Heald

        #4
        OggVorbis streaming

        On Wed, 2004-06-02 at 01:17, Peter Heslin wrote:
        > I just tried playing this ogg stream with version 3 of alienstream,
        > and it worked fine. Just make a file called kcsm.m3u containing a
        > single line which is the URL of the ogg stream.


        Great, thank you, I'll try this out.

        Comment

        • Andrew Heald

          #5
          OggVorbis streaming

          It's my first attempt to use xine so please bear with me...

          As far as I can tell the MRL for an internet radio stream is the same as
          it's URL, so I've tried:

          alienstream http://www.kcsm.org/8002.ram

          This just gets me the following output:

          mrl: 'http://www.kcsm.org/8002.ram'
          Unable to open mrl 'http://www.kcsm.org/8002.ram'

          Having read a little into the xine site, however, I'm convinced that I
          might have to replace "http" with something else (I've already tried
          "html"). So, where am I going wrong now?

          Thank you,
          Andrew.

          Comment

          • Peter Heslin

            #6
            OggVorbis streaming

            On Wed, Jun 02, 2004 at 08:04:29AM +0100, Andrew Heald wrote:
            > It's my first attempt to use xine so please bear with me...
            >
            > As far as I can tell the MRL for an internet radio stream is the same as
            > it's URL, so I've tried:
            >
            > alienstream http://www.kcsm.org/8002.ram
            >
            > This just gets me the following output:
            >
            > mrl: 'http://www.kcsm.org/8002.ram'
            > Unable to open mrl 'http://www.kcsm.org/8002.ram'
            >
            > Having read a little into the xine site, however, I'm convinced that I
            > might have to replace "http" with something else (I've already tried
            > "html"). So, where am I going wrong now?


            You don't need alienstream to listen to that stream. It's just an mp3
            stream URL hidden inside a Real Audio playlist (which is weird, and
            probably what is confusing xine). If you use wget on that URL, you
            get



            which is just an mp3 stream that you can put in an m3u file in your
            saved playlists folder, and play directly.

            Why is a radio station pretending that it is using a proprietary
            transport, when it's really using mp3? The station's web page is a
            classic example of trying to be so helpful that you get no real
            information on which stream you might want to use, if you aren't using
            one of the players they know about.

            Peter

            Comment

            • Andrew Heald

              #7
              OggVorbis streaming

              Thank you - much appreciated! When I simply opened 8002.ram in a notepad
              and saw for myself that it contained nothing more than another URL I did
              rather feel like a beginner again. How obvious! ;-)

              KCSM is playing on my squeezebox perfectly now. I totally agree that
              their "listen to us" page is a mess. I'll email them to suggest they at
              least add an entry for the MP3 URL for those using other software. It
              would be nice if they had their station ID in the MP3 stream too.

              Comment

              Working...