Hello list,

I just found obs (I'm not going to even TRY to spell it) yesterday
morning.  I am really impressed so far.

Three things:

1) I encountered two problems with the cdinfo program that RipCd.pl uses.  
The first one is that when executing it "out of the box" I get a "cannot
execute binary file" message.  I manually compiled it from cdinfo.cpp and
then it told me it could not open /dev/cdrom.  The attached (one line)
patch fixed the second problem for me.  I wasn't sure why the "cannot
execute binary file" message was appearing, any pointers would be helpful.

2) I have never done anything with multicasting before.  I can't play the
RTP stream with freeamp, it seems to not find it.  I fear that I don't
have some networking options setup properly for multicasting.  I found
mention of a route (in the manpage for route) that needs to be added for
multicast but that didn't make it go.  Are there any docs around that
might help me with this piece?  I just don't know that much about
configuring multicasting properly.

3) Since I failed to get multicasting w/RTP going I tried using icecast
with libshout.  I was trying to play some MP3s encoded at 256 Kbps but Obs
was unable to stream it through icecast fast enough so that the music
stream played continuously.  I tried running the same files with the
command line shout and it worked fine.  I think there is some slowdown in
the obs->libshout->icecast piece.  Any ideas?  I'm using libshout 1.0.2
and icecast 1.3.5

I am running RH 6.2 on both client and server with stock kernels and 
errata applied.

Thank you!

Sean
diff -ru obs-0.3.0-pre2-orig/utils/cdinfo.cpp obs-0.3.0-pre2/utils/cdinfo.cpp
--- obs-0.3.0-pre2-orig/utils/cdinfo.cpp        Sat Jan 29 18:04:41 2000
+++ obs-0.3.0-pre2/utils/cdinfo.cpp     Sun May  7 13:04:13 2000
@@ -157,7 +157,7 @@
    else
       device = DEFAULT_DEVICE;
 
-   int fd = open(device, O_RDONLY);
+   int fd = open(device, O_RDONLY | O_NONBLOCK);
    if (fd < 0)
       {
        printf("Cannot open '%s'\n", device);

Reply via email to