Hi,
I don't know why, but the stream generated by ices sounds very metallic,
compared to the radio, and compared to a
stream of the same quality with darkice.
I tried different parameters, but it doesn't change.
My parameters are :
<input>
<module>oss</module>
<param name="rate">44100</param> <!-- samplerate -->
<param name="channels">2</param> <!-- number of
channels -->
<param name="device">/dev/dsp</param> <!-- audio device
-->
</input>
<instance>
<reconnectdelay>3</reconnectdelay><reconnectattempts>9</reconnectattempts>
<maxqueuelength>80</maxqueuelength>
<encode>
<quality>0</quality> <!-- for Full or partial VBR -->
<samplerate>22050</samplerate>
<channels>2</channels>
<managed>1</managed> <!-- Full bitrate management -->
<nominal-bitrate>30000</nominal-bitrate>
<minimum-bitrate>00000</minimum-bitrate><maximum-bitrate>30000</maximum-bitrate>
<minimum-bitrate>00000</minimum-bitrate><maximum-bitrate>30000</maximum-bitrate>
</encode>
<downmix>0</downmix>
<resample><in-rate>44100</in-rate><out-rate>22050</out-rate></resample>
<resample><in-rate>44100</in-rate><out-rate>22050</out-rate></resample>
</instance>
(only one resample line...)
I'm using all the newer code from xiph.org cvs reepository.
(from last week)
Does someone has an idea ?
Thanks
--- >8 ----
List archives: http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to
'icecast-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 Monday 17 March 2003 21:12, iceuse@kezako.net wrote:> Hi, > > I don't know why, but the stream generated by ices sounds very metallic, > compared to the radio, and compared to a stream of the same quality with > darkice.This is extremely unlikely - if you're using the same settings with darkice, it should sound the same (unless darkice is ignoring some of your settings), they both use precisely the same encoding library. As a general note - setting maximum bitrate to the same as nominal is not a particularly good idea, it'll seriously hurt quality to do so. Mike --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-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 not sure this it the problem, because whatever the encoding if (managed or not), the problem is there. To listen to the problem: http://www.stalig.com/radio_ices.ogg The ices stream in a file (a few seconds) http://www.stalig.com/radiofree.ogg The darkice stream in a file (a few seconds) Looking at the content of the ogg files, we can see there are using the same vorbis lib even if i comment the bit rates and set the managed flag to 0, the problem is there. Strange... Chris --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-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 am trying to build icecast2 from cvs and make seems to be broken.
it seems to be autogen'ing instead of making. I checked the code out
tonight.
I am running
RH7.3
make 3.79.1
autoconf 2.5.3
and I have been able to compile in the past but not on this machine.
If anyone has any suggestions I would appreciate it.
Thanks,
jason
[root@localhost icecast]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries...
yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for library containing inet_pton... none required
checking for library containing getipnodebyname... no
checking for ANSI C header files... (cached) yes
checking for stdint.h... (cached) yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking for unistd.h... (cached) yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for socklen_t... yes
checking for nanosleep... yes
checking for poll... yes
checking for sethostent... yes
checking for endhostent... yes
checking for getnameinfo... yes
checking for getaddrinfo... yes
checking for inet_pton... yes
checking for xslt-config... xslt-config
checking for xsltParseStylesheetFile... yes
checking for xml2-config... xml2-config
checking for xmlParseFile... yes
checking for Ogg... yes
checking for Vorbis... yes
checking for libcurl... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for pthread_rwlock_t... yes
checking for cc_r... gcc
configure: creating ./config.status
config.status: creating Makefile
config.status: creating conf/Makefile
config.status: creating src/Makefile
config.status: creating src/avl/Makefile
config.status: creating src/httpp/Makefile
config.status: creating src/thread/Makefile
config.status: creating src/log/Makefile
config.status: creating src/net/Makefile
config.status: creating src/timing/Makefile
config.status: creating doc/Makefile
config.status: creating web/Makefile
config.status: creating win32/Makefile
config.status: creating win32/res/Makefile
make output below
[root@localhost icecast]# make
make: *** Warning: File `configure.in' has modification time in the
future (2003-03-17 20:40:40 > 2003-03-11 01:20:43)
cd . && aclocal
cd . && automake --foreign Makefile
cd . && autoconf
/bin/sh ./config.status --recheck
running /bin/sh ./configure --no-create --no-recursion
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking command to parse /usr/bin/nm -B output... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries...
yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for library containing inet_pton... none required
checking for library containing getipnodebyname... no
checking for ANSI C header files... (cached) yes
checking for stdint.h... (cached) yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking for unistd.h... (cached) yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for socklen_t... yes
checking for nanosleep... yes
checking for poll... yes
checking for sethostent... yes
checking for endhostent... yes
checking for getnameinfo... yes
checking for getaddrinfo... yes
checking for inet_pton... yes
checking for xslt-config... xslt-config
checking for xsltParseStylesheetFile... yes
checking for xml2-config... xml2-config
checking for xmlParseFile... yes
checking for Ogg... yes
checking for Vorbis... yes
checking for libcurl... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking for the pthreads library -lpthreads... no
checking whether pthreads work without any flags... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... no
checking for pthread_rwlock_t... yes
checking for cc_r... gcc
configure: creating ./config.status
**the problem seems to be here**
cd . \
&& CONFIG_FILES=Makefile CONFIG_HEADERS= /bin/sh ./config.status
config.status: creating Makefile
make: *** Warning: File `configure.in' has modification time in the
future (2003-03-17 20:40:40 > 2003-03-11 01:20:58)
cd . && aclocal
cd . && automake --foreign Makefile
cd . && autoconf
/bin/sh ./config.status --recheck
running /bin/sh ./configure --no-create --no-recursion
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... cmake: ***
[config.status] Error 1
--- >8 ----
List archives: http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to
'icecast-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.
Hi all,
in fact, I found that this feature is not implemented yet...
the vorbis setup returns :
OV_EIMPL The bitstream makes use of a feature not implemented in this
<p>But, is it possible for the ices developpers to change
encode.c:encode_initialise
to display the vorbis return code?
int ret = vorbis_encode_setup_managed(&s->vi, channels, rate,
max_br>0?max_br:-1, nom_br,
min_br>0?min_br:-1);
if (ret) {
LOG_ERROR6("Failed to configure managed encoding for "
"%d channel(s), at %d Hz, with bitrates %d max %d
"
"nominal, %d min. Error code=%d", channels, rate,
max_br, nom_br, min_br,ret);
vorbis_info_clear(&s->vi);
free(s);
return NULL;
}
} else
{
int ret = vorbis_encode_setup_vbr(&s->vi, channels, rate,
quality*0.1);
if (ret) {
LOG_ERROR4("Failed to configure VBR encoding for %d channel(s),
"
"at %d Hz, quality level %f. Error code=%d",
channels, rate, quality,ret);
<p><p>It is helpfull. Then we may just need to add a function in
vorbis to display the error message
corresponding to the error code.
Perhaps I can do it, but I don't see how to apply as a developper.
Chris
--- >8 ----
List archives: http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to
'icecast-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 Tuesday 18 March 2003 21:29, iceuse@kezako.net wrote:> Hi all, > in fact, I found that this feature is not implemented yet...What feature? This return value just means that the bitrate(s) or quality level you asked for is not supported at this sample rate/number of channels. Right now, none of those setup functions will ever return anything other than success or OV_EIMPL, so your proposed patch doesn't actually help (and also it wouldn't even compile, had you thought to test it).> > It is helpfull. Then we may just need to add a function in vorbis to > display the error message corresponding to the error code. > Perhaps I can do it, but I don't see how to apply as a developper.There's no 'application process' to become a developer - you just contribute changes/improvements/fixes, and we incorporate them. If you do so enough, you'll generally be invited to become a core member of the development team. Mike --- >8 ---- List archives: http://www.xiph.org/archives/ icecast project homepage: http://www.icecast.org/ To unsubscribe from this list, send a message to 'icecast-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.