Hallo,
I'm trying to get ogg streaming from Pd working on Debian. Icecast2 is installed and also is functioning at least using ices2 as streamer. But I cannot get Olaf's oggcast~ in the version of the pd-externals ("ogg/vorbis streaming client version 0.2h") package to connect to the server. I'm setting the correct password but still connecting doesn't work. using the help-oggcast~.pd file, Pd reports on attempted "connect localhost 8000":
oggcast~: ogg/vorbis streaming client version 0.2g, written by Olaf Matthes oggcast~: set buffer to 512k bytes oggcast~: encoding 2 channels @ 44100 Hz oggcast~: connecting to port 8000 oggcast~: logging in to IceCast2 server... oggcast~: logged in to http://127.0.0.1:8000/puredata.ogg Pd: signal 13 error: oggcast~: could not send ogg body to server (-1) oggcast~: could not init encoder oggcast~: connection closed oggcast~: connection closed due to initialisation error
And in icecast2's error.log I get:
[2003-09-13 14:32:24] INFO connection/_handle_source_request Source logging in at mountpoint "/pure data.ogg" [2003-09-13 14:32:24] INFO connection/_handle_source_request Source (/puredata.ogg) attempted to lo gin with invalid or missing password
In access.log I have:
127.0.0.1 - - [13/Sep/2003:14:33:31 +0200] "SOURCE /puredata.ogg ICE/1.0" 401 115 "-" "-" 0
which is a bit strange: when using ices2 I do not get a message like this from the ices client, I only get it when using alsaplayer to listen to the ices2 stream.
I made totally sure that the password is indeed correct by double and triple checking. Anyone has an idea what else could be wrong here?
Frank Barknecht _ ______footils.org__
Hi Frank,
it seems Icecast2 people changed the login scheme several times. It works with my (windows) version of Icecast2, I never tried it with a current CVS release but I remember August having reported a similar problem. Could you please email me the ices2 sources you use (or even better: just the file that does the login) because I need something to 'steal' the login procedure from. I guess it's just not up to date in oggcast~.
versions included with debian? I'm just wondering because the login scheme works here (on win, as I said) and also works with JRoar server on Linux.
Olaf
Frank Barknecht schrieb:
Hallo,
I'm trying to get ogg streaming from Pd working on Debian. Icecast2 is installed and also is functioning at least using ices2 as streamer. But I cannot get Olaf's oggcast~ in the version of the pd-externals ("ogg/vorbis streaming client version 0.2h") package to connect to the server. I'm setting the correct password but still connecting doesn't work. using the help-oggcast~.pd file, Pd reports on attempted "connect localhost 8000":
oggcast~: ogg/vorbis streaming client version 0.2g, written by Olaf Matthes oggcast~: set buffer to 512k bytes oggcast~: encoding 2 channels @ 44100 Hz oggcast~: connecting to port 8000 oggcast~: logging in to IceCast2 server... oggcast~: logged in to http://127.0.0.1:8000/puredata.ogg Pd: signal 13 error: oggcast~: could not send ogg body to server (-1) oggcast~: could not init encoder oggcast~: connection closed oggcast~: connection closed due to initialisation error
And in icecast2's error.log I get:
[2003-09-13 14:32:24] INFO connection/_handle_source_request Source logging in at mountpoint "/pure data.ogg" [2003-09-13 14:32:24] INFO connection/_handle_source_request Source (/puredata.ogg) attempted to lo gin with invalid or missing password
In access.log I have:
127.0.0.1 - - [13/Sep/2003:14:33:31 +0200] "SOURCE /puredata.ogg ICE/1.0" 401 115 "-" "-" 0
which is a bit strange: when using ices2 I do not get a message like this from the ices client, I only get it when using alsaplayer to listen to the ices2 stream.
I made totally sure that the password is indeed correct by double and triple checking. Anyone has an idea what else could be wrong here?
ciao
Frank Barknecht _ ______footils.org__
PD-list mailing list PD-list@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-list
hi Olaf, hi all
I'm having exactly the same problem for authentication with icecast2.
I've tried downloading again pdogg but as far as i read in the HISTORY file inside oggcast~ subdir:
--- HISTORY --- Version history of oggcast~ external for pure-data
v 0.2h (27th March 2003):
so it seems i'm not being able to get your bugfixed version (0.2i) as you mention below. I tried getting it from the specified link @akustische but, v0.2h seems to be what I get.
I'm running pd-0.37test11, latest (yesterdays and about a month ago also) icecast2 CVS snapshot on a mix between debian unstable + sarge from DEMUDI.
tell me if you need further output how to proceed?
TIA Regards, rama
El dom, 14-09-2003 a las 00:10, Olaf Matthes escribió:
A bug-fixed version of oggcast~ (now version 0.2i) is available from http://www.akustische-kunst.org/puredata/pdogg/ It seems to work with latest CVS release of Icecast2 server (tested on Win and Linux) and with JRoar sever.
For all (part time) Max'ers on this list, oggcast~ and oggamp~ are now also available for Max/MSP (Windows version only, right now) as a test release. Get them at http://www.akustische-kunst.org/maxmsp/
happy streaming, Olaf
PD-list mailing list PD-list@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-list
rama schrieb: I've tried downloading again pdogg but as far as i read in the HISTORY file inside oggcast~ subdir:
The files in pdogg library are still the old ones. I checked again and oggcast~0.2i.zip really contains latest sources.
v 0.2h (27th March 2003):
- added HTTP base auth login for (alpha) Icecast2 server:
This was the first alpha release they made... then Icecast2 was beta again and is alpha again... ;-)
So you should download the above zip and replace the file in pdogg. I'm a stupid windows programmer dealing with viruses (as we all know from this list is windows uses always do) and don't have a holy Linux box at hand. So no chance for me to test it...
Olaf
Hallo, rama hat gesagt: // rama wrote:
I'm having exactly the same problem for authentication with icecast2.
tell me if you need further output how to proceed?
The relevant change is in the file oggcast~.c which you also could get on pure-data.sf.net in the CVS. There still might be a bug with setting attributes like ARTIST - at least it crashes here, but not on Windows - but the main functionality is there and works on Debian.
Frank Barknecht _ ______footils.org__
thanks for the tips olaf & frank¡
I will try something of what you suggest. maybe i like more to go through cvs :)
btw, on linux when you tried oggred~ a non-ogg file, it used to crash my pd with segfault. I managed to touch the code and put an else just on the next line to
post("oggread~: could not rewind file to beginning\n"); # LINE 230
also modified the post() to this:
post("oggread~: could not rewind file to beginning\n oggread~: sending end bang. the file was skipped\n");
and added just on the next line:
outlet_bang(x->x_out_end);
as I was using the endbang to jump to the next item on my playlist.
I don't know it anything I did is "correct", but it works. no more crashes, and make use of endbang for notifying that an ogg which was supposed to be opened, has already finished, so that "we can know" what to do in that case.
This is the first time I touch an external and I'm not enough into C, but if I can help someway or you wish to include this hack, just tell.
cheers
El sáb, 27-09-2003 a las 00:26, Frank Barknecht escribió:
Hallo, rama hat gesagt: // rama wrote:
I'm having exactly the same problem for authentication with icecast2.
tell me if you need further output how to proceed?
The relevant change is in the file oggcast~.c which you also could get on pure-data.sf.net in the CVS. There still might be a bug with setting attributes like ARTIST - at least it crashes here, but not on Windows - but the main functionality is there and works on Debian.
ciao
I had a similar problem with icecast2, I never got [oggcast~] to connect to it and I didn't have any other client handy to test icecast2. So instead I use JRoar, which is not nearly as good but really easy to get working. A PD/Debian patch that I wrote connects to it every Saturday and Sunday without a hitch, but I am not using authentication at all.
.hc
On Saturday, Sep 13, 2003, at 08:42 America/New_York, Frank Barknecht wrote:
Hallo,
I'm trying to get ogg streaming from Pd working on Debian. Icecast2 is installed and also is functioning at least using ices2 as streamer. But I cannot get Olaf's oggcast~ in the version of the pd-externals ("ogg/vorbis streaming client version 0.2h") package to connect to the server. I'm setting the correct password but still connecting doesn't work. using the help-oggcast~.pd file, Pd reports on attempted "connect localhost 8000":
oggcast~: ogg/vorbis streaming client version 0.2g, written by Olaf Matthes oggcast~: set buffer to 512k bytes oggcast~: encoding 2 channels @ 44100 Hz oggcast~: connecting to port 8000 oggcast~: logging in to IceCast2 server... oggcast~: logged in to http://127.0.0.1:8000/puredata.ogg Pd: signal 13 error: oggcast~: could not send ogg body to server (-1) oggcast~: could not init encoder oggcast~: connection closed oggcast~: connection closed due to initialisation error
And in icecast2's error.log I get:
[2003-09-13 14:32:24] INFO connection/_handle_source_request Source logging in at mountpoint "/pure data.ogg" [2003-09-13 14:32:24] INFO connection/_handle_source_request Source (/puredata.ogg) attempted to lo gin with invalid or missing password
In access.log I have:
127.0.0.1 - - [13/Sep/2003:14:33:31 +0200] "SOURCE /puredata.ogg ICE/1.0" 401 115 "-" "-" 0
which is a bit strange: when using ices2 I do not get a message like this from the ices client, I only get it when using alsaplayer to listen to the ices2 stream.
I made totally sure that the password is indeed correct by double and triple checking. Anyone has an idea what else could be wrong here?
ciao
Frank Barknecht _ ______footils.org__
PD-list mailing list PD-list@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-list
Hi Frank, hi Olaf,
i encountered the same problem, but i already fixed it... Olaf, i once sent you the modified version with multichannel capability and http authentification. I think the latter is what's lacking in standard oggcast~.
best greetings, Thomas
----- Original Message ----- From: "Frank Barknecht" fbar@footils.org To: pd-list@iem.at Sent: Saturday, September 13, 2003 2:42 PM Subject: [PD] oggcast~ streaming on Debian
Hallo,
I'm trying to get ogg streaming from Pd working on Debian. Icecast2 is installed and also is functioning at least using ices2 as streamer. But I cannot get Olaf's oggcast~ in the version of the pd-externals ("ogg/vorbis streaming client version 0.2h") package to connect to the server. I'm setting the correct password but still connecting doesn't work. using the help-oggcast~.pd file, Pd reports on attempted "connect localhost 8000":
oggcast~: ogg/vorbis streaming client version 0.2g, written by Olaf
Matthes
oggcast~: set buffer to 512k bytes oggcast~: encoding 2 channels @ 44100 Hz oggcast~: connecting to port 8000 oggcast~: logging in to IceCast2 server... oggcast~: logged in to http://127.0.0.1:8000/puredata.ogg Pd: signal 13 error: oggcast~: could not send ogg body to server (-1) oggcast~: could not init encoder oggcast~: connection closed oggcast~: connection closed due to initialisation error
And in icecast2's error.log I get:
[2003-09-13 14:32:24] INFO connection/_handle_source_request Source
logging in at mountpoint "/pure
data.ogg" [2003-09-13 14:32:24] INFO connection/_handle_source_request Source
(/puredata.ogg) attempted to lo
gin with invalid or missing password
In access.log I have:
127.0.0.1 - - [13/Sep/2003:14:33:31 +0200] "SOURCE /puredata.ogg ICE/1.0"
401 115 "-" "-" 0
which is a bit strange: when using ices2 I do not get a message like this from the ices client, I only get it when using alsaplayer to listen to the ices2 stream.
I made totally sure that the password is indeed correct by double and triple checking. Anyone has an idea what else could be wrong here?
ciao
Frank Barknecht _ ______footils.org__
PD-list mailing list PD-list@iem.at http://iem.at/cgi-bin/mailman/listinfo/pd-list
A bug-fixed version of oggcast~ (now version 0.2i) is available from http://www.akustische-kunst.org/puredata/pdogg/ It seems to work with latest CVS release of Icecast2 server (tested on Win and Linux) and with JRoar sever.
For all (part time) Max'ers on this list, oggcast~ and oggamp~ are now also available for Max/MSP (Windows version only, right now) as a test release. Get them at http://www.akustische-kunst.org/maxmsp/
happy streaming, Olaf
wow!
thx olaf i had this problem too - you gave me you beta icecast2 but now its working fine
thx kiilo
Olaf Matthes schrieb:
A bug-fixed version of oggcast~ (now version 0.2i) is available from http://www.akustische-kunst.org/puredata/pdogg/ It seems to work with latest CVS release of Icecast2 server (tested on Win and Linux) and with JRoar sever. ilman/listinfo/pd-list
[snip...]