Re: [Cooker] mp3 is not free. use Ogg Vorbis.

2000-08-28 Thread Guillaume Cottenceau

Reinhard Katzmann <[EMAIL PROTECTED]> writes:

> On Sun, Aug 27, 2000 at 04:33:01AM +0200, Guillaume Cottenceau wrote:
> > Hi,
> >=20
> > It is now in the state where it's useable. I included packages in
> > Linux-Mandrake to encode/decode Ogg Vorbis, to convert from mp3 to Ogg
> > Vorbis, and to play Ogg Vorbis from within the XMMS multimedia system.
> 
> I noticed that too! Two weeks ago I fetched the source and created
> my own mdk spec file.
> 
> > and/or install the packages `oggvorbis' and `oggvorbis-xmms' from Cooker.
> 
> I merged and greatly improved your spec file including a patch for
> building shared libraries and developer files.
> All these are attached to this mail. Comments are welcome :-)

Thanks very much.

In the meantime I did two more patches; your spec is very good, I will
merge right now.


-- 
Guillaume Cottenceau -- Distribution Developer for MandrakeSoft
http://www.mandrakesoft.com/~gc/




Re: [Cooker] mp3 is not free. use Ogg Vorbis.

2000-08-28 Thread Jan Niehusmann

On Mon, Aug 28, 2000 at 08:40:51AM +0200, Reinhard Katzmann wrote:
> All these are attached to this mail. Comments are welcome :-)

Looks good. I wrote a spec file last week, too, but I think yours is more
complete. One little comment: Not all of ogg vorbis is LGPL, the executables
are GPL. 

("This package contains libvorbis, an LGPLed software implementation of
the Vorbis specification by the Xiphophorus company
(http://www.xiph.org/), vorbisfile, an LGPLed convenience library
built on Vorbis designed to simplify common uses and a number of GPL
example programs, utilities and player plugins.")

Jan





Re: [Cooker] mp3 is not free. use Ogg Vorbis.

2000-08-27 Thread Reinhard Katzmann

On Sun, Aug 27, 2000 at 04:33:01AM +0200, Guillaume Cottenceau wrote:
> Hi,
> 
> It is now in the state where it's useable. I included packages in
> Linux-Mandrake to encode/decode Ogg Vorbis, to convert from mp3 to Ogg
> Vorbis, and to play Ogg Vorbis from within the XMMS multimedia system.

I noticed that too! Two weeks ago I fetched the source and created
my own mdk spec file.

> and/or install the packages `oggvorbis' and `oggvorbis-xmms' from Cooker.

I merged and greatly improved your spec file including a patch for
building shared libraries and developer files.
All these are attached to this mail. Comments are welcome :-)

Best regards,

Reinhard Katzmann
-- 
E-Mail: [EMAIL PROTECTED]

Current Projects: Linux-Installation Mandrake 7.1 (99% finished)
  Improvements of Driver for Tevion Tablet
  Java-DB and -Interface for Pincity (95 % finished)
GnuPG Public Key available on request.


%define name oggvorbis
%define version 0.0.2826
%define prefix %{_prefix}
%define release 4mdk

Name: %{name}
Summary: Tools to play Ogg Vorbis music files, a Patent-Free replacement to the mp3 
format
Version: %{version}
Release: %{release}
Copyright: LGPL
Group: Sound
Source0: http://www.xiph.org/ogg/vorbis/download/vorbis_nightly_cvs.tgz
Patch0: vorbis-fix-mp3tovorbis.patch.bz2
Patch1: %{name}-%{version}-shared.patch
URL: http://www.xiph.org/ogg/vorbis/index.html
Packager: Guillaume Cottenceau <[EMAIL PROTECTED]>
BuildRoot: %{_tmppath}/%{name}-buildroot
Requires: mpg123
# Currently I don't have this
#Requires: mpeglib
BuildRequires: xmms-devel
#BuildRequires: mpeglib-devel
# Avoid conflicts with redhat package
Obsoletes: vorbis

%description
Ogg Vorbis is a fully Open, non-proprietary, patent-and-royalty-free,
general-purpose compressed audio format for high quality (44.1-48.0kHz, 16+
bit, polyphonic) audio and music at fixed and variable bitrates from 16 to 128
kbps/channel. This places Vorbis in the same class as audio representations
including MPEG-1 audio layer 3, MPEG-4 audio (AAC and TwinVQ), and PAC.

Encoding: use `vorbize' (currently, only 44.1 kHz 16 bit stereo PCM)
Converting: use `mp3tovorbis'
Playing: use `ogg123'

WARNING, THIS IS BETA SOFTWARE.

Unlike the MPEG sponsored formats 
(and other proprietary formats such as RealAudio G2 and Windows flavor
of the month), the Vorbis CODEC specification belongs to the public 
domain. All the technical details are published and documented, and any
software entity may make full use of the format without royalty or
patent concerns.

WARNING: This is CVS code!! I did not find any beta versions.

%package devel
Copyright: LGPL
Summary: Development library and includes for OGG Vorbis
Group: Development/C

%description devel
Ogg Vorbis is a fully Open, non-proprietary, patent-and-royalty-free,
general-purpose compressed audio format for high quality (44.1-48.0kHz,
16+ bit, polyphonic) audio and music at fixed and variable bitrates
from 16 to 128 kbps/channel. This places Vorbis in the same class as
audio representations including MPEG-1 audio layer 3, MPEG-4
audio (AAC and TwinVQ), and PAC.

Development files (includes and static libraries) for vorbis.

%package examples
Copyright: LGPL
Summary: Some example programs in doc directory (including binaries)
Group: Development/C

%description examples
Ogg Vorbis is a fully Open, non-proprietary, patent-and-royalty-free,
general-purpose compressed audio format for high quality (44.1-48.0kHz,
16+ bit, polyphonic) audio and music at fixed and variable bitrates
from 16 to 128 kbps/channel. This places Vorbis in the same class as
audio representations including MPEG-1 audio layer 3, MPEG-4
audio (AAC and TwinVQ), and PAC.

Example file for oggvorbis: chaining_example, encoder_example, 
decoder_example, vorbisfile_example.

%package -n xmms-oggvorbis
Copyright: LGPL
Summary: XMMS - Input plugin to play Ogg Vorbis audio files (*.ogg)
Group: Sound

%description -n xmms-oggvorbis
Ogg Vorbis is a fully Open, non-proprietary, patent-and-royalty-free,
general-purpose compressed audio format for high quality (44.1-48.0kHz,
16+ bit, polyphonic) audio and music at fixed and variable bitrates
from 16 to 128 kbps/channel. This places Vorbis in the same class as
audio representations including MPEG-1 audio layer 3, MPEG-4
audio (AAC and TwinVQ), and PAC.

An input plugin for XMMS - The sound player with the WinAmp GUI - with 
the capability of reading files in the Ogg Vorbis audio format (*.ogg).

%prep
%setup -q -n vorbis
%patch0 -p0
%patch1 -p1 -b .shared
perl -pi -e 's/CFLAGS=\"\$\(OPT\)\"//g' Makefile.in */Makefile.in

%build
%configure
export CFLAGS="$CFLAGS -D_REENTRANT -fsigned-char -I. -I../include  -DUSE_ALLOCA_H 
-DUSE_MEMORY_H -Dvorbis_size32_t='int'"
make

#Create vq and huff stuff
(cd vq ; make )
(cd huff ; make )

#Create tools
(cd vorbis-tools ; make)

#Create XMMS input plugin
(cd xmms ; export CFLAGS="$CFLAGS `gtk-config --cflags`" ; \
make)

# Create plugin for kmpg
#(cd kmpg ; make )

Re: [Cooker] mp3 is not free. use Ogg Vorbis.

2000-08-27 Thread Anton Graham

Submitted 27-Aug-00 by Guillaume Cottenceau:

> . still beta software, will certainly be optimized 

Which is why I qualified with "at this point" :)

> To me, it's not enough to tell that we can't use it. The p200 machines are
> quite old now.

I agree, boxes like this are not the norm.  Many people today consider a
K6-2 350 to be a "low-end" machine.  You can't continually build to the
lowest common denominator without stifling progress.

> I remember problems with Cyrix p-150+ to play mp3. (very slow)

I tried it (once) on an AMD 5x86/133.  Not good :p

> Its design is more recent, to me it's normal to goal more cpu intensive
> stuff.

It is.  I suppose that my point was that Ogg is not _yet_ a solution for all
machines, and is impractical (though not unusable) on truly low end
machines.

-- 
Anton GrahamGPG ID: 0x18F78541
<[EMAIL PROTECTED]> RSA key available upon request
 
If you think the pen is mightier than the sword, the next time someone pulls
out a sword I'd like to see you get up there with your Bic.





Re: [Cooker] mp3 is not free. use Ogg Vorbis.

2000-08-27 Thread Guillaume Cottenceau

Anton Graham <[EMAIL PROTECTED]> writes:


[...]

> From where I stand, the problem with Ogg Vorbis at this point is that it
> extremely expensive cpu-wise.  On a p200, playing an Ogg stream consumes
> between 49 and 55% of processor cycles using ogg123 and as much as 77% with
> xmms.  An mp3 of the same stream consumes between 14 and 18% with an
> additional overhead of 5% for esd when played by mpg123, and approx 10% via
> xmms.

On this machine (Celeron 400) mpg123 gives 5/7% of cpu consuming, whereas
17/18% for ogg123.

xmms stuff seems to handle it better (2 times less time consuming for
both).

I agree this is much more, I think this comes from two things:

. still beta software, will certainly be optimized 
. better encoding and use of adaptative bitrate


To me, it's not enough to tell that we can't use it. The p200 machines are
quite old now.

I remember problems with Cyrix p-150+ to play mp3. (very slow)

> I agree completely with the need for a free format, but it seems too cpu
> intensive for use on pre-mmx machines, to say nothing of early peantiums and
> late 486's (like the AMD 5x86).

Its design is more recent, to me it's normal to goal more cpu intensive
stuff.


-- 
Guillaume Cottenceau -- Distribution Developer for MandrakeSoft
http://www.mandrakesoft.com/~gc/




Re: [Cooker] mp3 is not free. use Ogg Vorbis.

2000-08-27 Thread Giuseppe Ghibo'

Anton Graham wrote:
> 
> Submitted 27-Aug-00 by Guillaume Cottenceau:
> > It is now in the state where it's useable. I included packages in
> > Linux-Mandrake to encode/decode Ogg Vorbis, to convert from mp3 to Ogg
> > Vorbis, and to play Ogg Vorbis from within the XMMS multimedia system.
> 
> >From where I stand, the problem with Ogg Vorbis at this point is that it
> extremely expensive cpu-wise.  On a p200, playing an Ogg stream consumes
> between 49 and 55% of processor cycles using ogg123 and as much as 77% with
> xmms.  An mp3 of the same stream consumes between 14 and 18% with an
> additional overhead of 5% for esd when played by mpg123, and approx 10% via
> xmms.
> 
> I agree completely with the need for a free format, but it seems too cpu
> intensive for use on pre-mmx machines, to say nothing of early peantiums and
> late 486's (like the AMD 5x86).

Well on P133 non-MMX the xmms oggvorbis plugin it can't do continuous playback (you 
get scratched plays at slow motion)
at least with ISA sound card. But consider also that oggvorbis is quite new, while MP3 
had several X86 asm replacement
and
optmizations due to many years of development, so maybe it is expected this also into 
oggvorbis.

Bye.
Giuseppe.






Re: [Cooker] mp3 is not free. use Ogg Vorbis.

2000-08-27 Thread Anton Graham

Submitted 27-Aug-00 by Guillaume Cottenceau:
> It is now in the state where it's useable. I included packages in
> Linux-Mandrake to encode/decode Ogg Vorbis, to convert from mp3 to Ogg
> Vorbis, and to play Ogg Vorbis from within the XMMS multimedia system.

From where I stand, the problem with Ogg Vorbis at this point is that it
extremely expensive cpu-wise.  On a p200, playing an Ogg stream consumes
between 49 and 55% of processor cycles using ogg123 and as much as 77% with
xmms.  An mp3 of the same stream consumes between 14 and 18% with an
additional overhead of 5% for esd when played by mpg123, and approx 10% via
xmms.

I agree completely with the need for a free format, but it seems too cpu
intensive for use on pre-mmx machines, to say nothing of early peantiums and
late 486's (like the AMD 5x86).

-- 
Anton GrahamGPG ID: 0x18F78541
<[EMAIL PROTECTED]> RSA key available upon request
 
Familiarity breeds contempt.
  -- Publius Syrus (42 B.C.), Maxim 640 





[Cooker] mp3 is not free. use Ogg Vorbis.

2000-08-26 Thread Guillaume Cottenceau

Hi,

As you may say, mp3 is not free. For example Linux-Mandrake cannot provide
an mp3 encoder since Fraunhofer would sue us and/or our clients for patent
infrigement.

As a results, in late 1998 a new free software project started in order to
produce a patent and royalties free compressed audio file format.

Roughly, the size/quality is equivalent to the mp3. (but adaptative
bitrate seems to be better handled) (e.g., it dynamically changes its
parameters in order to keep optimal quality, relatively to the quantity of
information that may vary throughout the audio stream).


It is now in the state where it's useable. I included packages in
Linux-Mandrake to encode/decode Ogg Vorbis, to convert from mp3 to Ogg
Vorbis, and to play Ogg Vorbis from within the XMMS multimedia system.

For more information please read my page:

http://www.mandrakesoft.com/~gc/html/oggvorbis.html

and/or install the packages `oggvorbis' and `oggvorbis-xmms' from Cooker.


-- 
Guillaume Cottenceau -- Distribution Developer for MandrakeSoft
http://www.mandrakesoft.com/~gc/