-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello! First, sorry if my english is not very correct :-) I'm a spanish student making a streaming project under Linux and I'd like to use Vorbis format but I have a problem. I want to capture live audio from the sound card and stream it in real time to the server. Actually I have installed Icecast, LiveIce and the Lame encoder and they works... but in mp3 format. Lame and Icecast don't have any problem with Vorbis but Icecast don't seem to support it. Anyone knows any program that can replace Icecast to stream in real time Vorbis format to the server? I suppose this is the correct list to make this question, if not... sorry! Thanks for all ~A~ -----BEGIN PGP SIGNATURE----- Version: PGPfreeware 7.0.3 for non-commercial use <http://www.pgp.com> iQA/AwUBPBmiJYbSNjHGyYdxEQJGvwCg0dHIvDbqg57yb0BfW6yyRxjyK60AniO5 0XrM0Ddw1AIly9dqAFtuNPRH =pev2 -----END PGP SIGNATURE----- <p><p>--- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Angels Flores wrote:> server. Actually I have installed Icecast, LiveIce and the Lame > encoder and they works... but in mp3 format. Lame and Icecast don't > have any problem with Vorbis but Icecast don't seem to support it.Since you didn't tell us, which versions of Icecast etc you're using, I assume it's Icecast 1.x, because Icecast1 is the only Icecast that can be downloaded through www.icecast.org until now. You need Icecast2 to get Vorbis streaming. An official alpha release is due pretty soon, but why wait - Icecast2 from CVS is working really good. Check out the module "icecast" from Xiph's AnonCVS (you can get all the necessary information from http://www.xiph.org/cvs.html ) and read the file named HACKING. It tells what else you need (e.g. some additional modules you'd have to check out from under the src directory) and how the installation procedure looks like. You'll need a few external libraries, like libxml, libogg, libvorbis etc and tools like autoconf and automake to get it to work. The autogen.sh and configure scripts will complain and tell you what else you need. <p>Moritz P.S.: icecast@xiph.org is the correct mailing list for icecast related things -- _______________________________________________________________________ "They who would give up an essential liberty for temporary security, deserve neither liberty or security" - Benjamin Franklin --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
you could also use jroar as a streaming server -> http://www.jcraft.com for encoding live input on linux i'm using darkice -> http://darkice.sf.net On Fri, 14 Dec 2001 07:54:32 +0100, Angels Flores wrote:>I'm a spanish student making a streaming project under Linux and I'd >like to use Vorbis format but I have a problem. I want to capture >live audio from the sound card and stream it in real time to the >server. Actually I have installed Icecast, LiveIce and the Lame >encoder and they works... but in mp3 format. Lame and Icecast don't >have any problem with Vorbis but Icecast don't seem to support it. >Anyone knows any program that can replace Icecast to stream in real >time Vorbis format to the server?<p><p>--- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
I'm new to OggVorbis (btw: we're about to use it in a game...) and am curious about page sizes when decoding ogg streams. With every stream I tested, I get either 512 or 4096 byte packages from ov_read(). While this is fine with me, I'd like to know if there is a upper limit to this chunk size. If it's variable, how do I find out what the max chunk size for the open stream is? I know that I can limit the amount of data ov_read retrieves through the size param, but I'd like to drive it with the best possible size and no artificial restrictions on my side. But if there was a remote possibility of ov_read() returning big chunks (>64 kbyte), i'd rather know that in advance. On a side note: this is on Win32 and I'd like to note that I had serious trouble linking the static libs with /MT code. I Finally resorted to building a single oggvorbis lib with all source included. Best regards, --- Carsten Orthbandt, Director Development SEK SpieleEntwicklungsKombinat GmbH http://www.sek-ost.de "Wenn ich Visionen habe, gehe ich zum Arzt." - Helmut Schmidt --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
FWIW, I'm using VS 7.0. But building the libs was not the problem. Linking against them was. I couldn't find what settings were causing the linker errors, but most messages were about memory management, seemingly MT issues. In my test projects, I used standard win32-console app and changed it to multithreaded, static CRT. With the monolithic lib I use now, everything is fine. But that wasn't build from the provided project files. I created an entirely new lib and copied all relevant source files (ogg, vorbis, vorbisfile and vorbisenc) over. Regards, --- Carsten Orthbandt, Director Development SEK SpieleEntwicklungsKombinat GmbH http://www.sek-ost.de "Wenn ich Visionen habe, gehe ich zum Arzt." - Helmut Schmidt <p>> -----Original Message-----> From: John Edwards [mailto:john.edwards33@ntlworld.com] > Sent: Monday, December 16, 2002 10:40 AM > To: vorbis@xiph.org > Subject: Re: [vorbis] Newbie question > > > Regarding the Win32 build. I have built the libs using MSVC6, > VS.NET, Intel > 6 and Intel 7, all without any difficulties at all. Which > compiler are you > using? > regards > John > ----- Original Message ----- > From: "Carsten Orthbandt" <carsten.orthbandt@sek-ost.de> > To: <vorbis@xiph.org> > Sent: Monday, December 16, 2002 8:33 AM > Subject: [vorbis] Newbie question > > > I'm new to OggVorbis (btw: we're about to use it in a game...) and > am curious about page sizes when decoding ogg streams. With every > stream I tested, I get either 512 or 4096 byte packages from > ov_read(). > While this is fine with me, I'd like to know if there is a upper limit > to this chunk size. If it's variable, how do I find out what the max > chunk size for the open stream is? > I know that I can limit the amount of data ov_read retrieves through > the size param, but I'd like to drive it with the best possible size > and no artificial restrictions on my side. But if there was a remote > possibility of ov_read() returning big chunks (>64 kbyte), i'd rather > know that in advance. > > On a side note: this is on Win32 and I'd like to note that I had > serious trouble linking the static libs with /MT code. I Finally > resorted to building a single oggvorbis lib with all source included. > > Best regards, > --- > Carsten Orthbandt, Director Development > SEK SpieleEntwicklungsKombinat GmbH > http://www.sek-ost.de > > "Wenn ich Visionen habe, gehe ich zum Arzt." - Helmut Schmidt > > --- >8 ---- > List archives: http://www.xiph.org/archives/ > Ogg project homepage: http://www.xiph.org/ogg/ > To unsubscribe from this list, send a message to > 'vorbis-request@xiph.org' > containing only the word 'unsubscribe' in the body. No > subject is needed. > Unsubscribe messages sent to the list will be ignored/filtered. > > > --- >8 ---- > List archives: http://www.xiph.org/archives/ > Ogg project homepage: http://www.xiph.org/ogg/ > To unsubscribe from this list, send a message to > 'vorbis-request@xiph.org' > containing only the word 'unsubscribe' in the body. No > subject is needed. > Unsubscribe messages sent to the list will be ignored/filtered. >--- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
> On a side note: this is on Win32 and I'd like to note that I had > serious trouble linking the static libs with /MT code. I Finally > resorted to building a single oggvorbis lib with all source included. >The debug libraries were built against the DLL-based runtime library. I had the same problem and submitted it as a bug. Just get the source code and change the following: "Project Settings" -> "C/C++" -> "Code Generation" and set "Use run-time library" to "debug multithreaded" on "ogg_static.dsp", "vorbis_static.dsp", "vorbisenc_static.dsp" and "vorbisfile_static.dsp". Here are the bugs: http://bugs.xiph.org/show_bug.cgi?id=295 http://bugs.xiph.org/show_bug.cgi?id=296 Cheers -- Andrew Baker --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.
Thanks for the info. The scheme I use now is to fill two buffers for playback with only full packets. The buffers are allocated to hold roughly half a second each. So I should be fine with a max packet size of 32 kB. Regarding the problem with the libs, I decided to build one monolithic library. For us, this has three benefits: - a single lib instead of three - a single OV wrapper class that follows our styleguide - less headers for clients to include (wrapper is opaque) When having this beast cleanly running, I'd happily provide all files for this lib. I made no changes to any file in the original distribution so we can drop in new versions as they are released. As long as no new files are added to the lib, replacing the old source with new one is making copies of four directories. If you'd rather have someone troubleshoot the existing Win32 workspaces, I can do that only for VS.Net (we have no machines left with VS6 installed). Regards, --- Carsten Orthbandt, Director Development SEK SpieleEntwicklungsKombinat GmbH http://www.sek-ost.de "Wenn ich Visionen habe, gehe ich zum Arzt." - Helmut Schmidt <p>> -----Original Message-----> From: msmith@labyrinth.net.au [mailto:msmith@labyrinth.net.au] > Sent: Monday, December 16, 2002 2:37 PM > To: vorbis@xiph.org > Subject: Re: [vorbis] Newbie question > > > Carsten Orthbandt <carsten.orthbandt@sek-ost.de> said: > > > I'm new to OggVorbis (btw: we're about to use it in a game...) and > > am curious about page sizes when decoding ogg streams. With every > > stream I tested, I get either 512 or 4096 byte packages > from ov_read(). > > While this is fine with me, I'd like to know if there is a > upper limit > > to this chunk size. If it's variable, how do I find out what the max > > chunk size for the open stream is? > > I know that I can limit the amount of data ov_read retrieves through > > the size param, but I'd like to drive it with the best possible size > > and no artificial restrictions on my side. But if there was a remote > > possibility of ov_read() returning big chunks (>64 kbyte), > i'd rather > > know that in advance. > > In theory, it could return up to (sample size)*(number of > channels)*4096. So, > if you restrict yourself to stereo (or mono, which is > obviously less), and you > decode to 16 bit samples (2 bytes), the maximum is 16kB. This is a > format-imposed maximum, no encoder actually produces streams > that'll do that. > In actual real-world streams, you can halve that to 8 kB > (8192 bytes) (I > _think_ there are some encoding modes that will do that, > though I haven't > checked). > > > > > On a side note: this is on Win32 and I'd like to note that I had > > serious trouble linking the static libs with /MT code. I Finally > > resorted to building a single oggvorbis lib with all source > included. > > We're mostly not windows experts - the win32 build files > often have some > problems, and we'd _really_ appreciate any help with issues > like these. > > Mike > > --- >8 ---- > List archives: http://www.xiph.org/archives/ > Ogg project homepage: http://www.xiph.org/ogg/ > To unsubscribe from this list, send a message to > 'vorbis-request@xiph.org' > containing only the word 'unsubscribe' in the body. No > subject is needed. > Unsubscribe messages sent to the list will be ignored/filtered. >--- >8 ---- List archives: http://www.xiph.org/archives/ Ogg project homepage: http://www.xiph.org/ogg/ To unsubscribe from this list, send a message to 'vorbis-request@xiph.org' containing only the word 'unsubscribe' in the body. No subject is needed. Unsubscribe messages sent to the list will be ignored/filtered.