[MPlayer-dev-eng] Re: removing internal tremor

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Tue Aug 8 19:44:33 CEST 2006


Hello,
On Tue, Aug 08, 2006 at 07:21:32PM +0200, Diego Biurrun wrote:
> On Tue, Aug 08, 2006 at 05:02:16PM +0200, Reimar Döffinger wrote:
> > Yes, but I had to add two hacks:
> > in ad_libvorbis:
> > #define vorbis_synthesis(b, p) vorbis_synthesis(b, p, 1)
> > in demux_mov.c
> > -#include <tremor/ogg.h>
> > +#include <ogg/ogg.h>
> > 
> > Both are of course not acceptable for inclusion in SVN...
> 
> What exactly did you change?  There should be a way to make the changes
> acceptable...

I'd need another define that tells if we use internal tremor or external
(for which I'd only support latest SVN).
Attached is the patch that is needed for latest tremor.

> I now get the following and no sound:

I have not idea. Could be caused by both that file or that tremor
version you are using.
I so far tested audio-only ogg and ogg with theora video without
problems so far.

> > I pretty much excluded 3) for other reasons, too.
> 
> Well, maybe there is a way to improve the libavformat demuxer to the
> point that it can fuly replace the native one.  What are the problems we
> need to address?  Off the top of my head I remember:

The approach is very different, not to mention that we would loose
decoding via the theora lib. Given how very unstable our support for
both ogg and theora is I really wouldn't like to loose this possibility
to test and work around bugs. And honestly, I can't really see anyone
wanting to work on the libavf ogg demuxer, ogg seems to be unanimously
hated.

Greetings,
Reimar Döffinger
-------------- next part --------------
Index: libmpcodecs/ad_libvorbis.c
===================================================================
--- libmpcodecs/ad_libvorbis.c	(revision 19360)
+++ libmpcodecs/ad_libvorbis.c	(working copy)
@@ -21,6 +21,7 @@
 
 #ifdef TREMOR
 #include <tremor/ivorbiscodec.h>
+#define vorbis_synthesis(b, p) vorbis_synthesis(b, p, 1)
 #else
 #include <vorbis/codec.h>
 #endif
Index: libmpdemux/demux_ogg.c
===================================================================
--- libmpdemux/demux_ogg.c	(revision 19360)
+++ libmpdemux/demux_ogg.c	(working copy)
@@ -19,7 +19,7 @@
 #define FOURCC_THEORA mmioFOURCC('t', 'h', 'e', 'o')
 
 #ifdef TREMOR
-#include <tremor/ogg.h>
+#include <ogg/ogg.h>
 #include <tremor/ivorbiscodec.h>
 #else
 #include <ogg/ogg.h>


More information about the MPlayer-dev-eng mailing list