Help - Search - Members - Calendar
Full Version: Vorbis 1.1RC1 on OS X
Hydrogenaudio Forums > Lossy Audio Compression > Ogg Vorbis > Ogg Vorbis - General
Cygnus X1
Does anybody have an autov2 or 1.1RC1 binary for OS X that they would be willing to upload? I would like to do some pre-echo and noise testing with it compared to 1.0.1, which is what I currently have on my system. I would be greatly appreciative of any compile that somebody has laying around.

For whatever reason, I have never been able to get Vorbis to compile on OS X since they stopped offering tarballs. Part of that might be something with my installation, but it's mostly due to my lack of knowledge in all things programing. I can compile simple things like LAME, but beyond that, I have no idea of what I'm doing. All this subversion and autogen.sh and "permissions denied" crap drives me nuts...now I know why I didn't go into computers laugh.gif
Cygnus X1
Ok, here's the problem:

checking for Ogg... no
*** Could not run Ogg test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means Ogg was incorrectly installed
*** or that you have moved Ogg since it was installed. In the latter case, you
*** may want to edit the ogg-config script:
configure: error: must have Ogg installed!

Does this mean that I need something like libvorbis in usr/local/...? blink.gif (Remember, I'm new to this!)
PowerMacG4
I'll post a binary if you want.

brb.. compiling..
Cygnus X1
QUOTE(PowerMacG4 @ Aug 7 2004, 04:42 PM)
I'll post a binary if you want.

brb.. compiling..
*



You're awesome. Thanks! smile.gif

PS-Any ideas about the compiling errors? I get them whether I start out with ./autogen.sh or ./configure.
PowerMacG4
Okay, you were right. Vorbis is officially a bitch to compile.

Who the hell maintains the automake/autoconf/autoetc stuff??
Cygnus X1
QUOTE(PowerMacG4 @ Aug 7 2004, 05:08 PM)
Okay, you were right. Vorbis is officially a bitch to compile.


Now you can appreciate my frustration.

QUOTE
Who the hell maintains the automake/autoconf/autoetc stuff??


Well, whoever they are, they obviously aren't on the OS X platform laugh.gif
PowerMacG4
Okay, done. I haven't tested it one bit. Even though it says 1.0.1, it is linking against the code I compiled from the most recent svn source.

http://s91752438.onlinehome.us/public/oggenc.zip

Don't forget to move the two frameworks I provided to ~/Library/Frameworks..
Cygnus X1
The new encoder does indeed work....the files show "20040629" in the tag. The only problem seems to be that while encoding, the progress indicator and % are constantly re-written as separate lines with a ton of 7's after them, which seems to slow things down quite a bit. With this encoder, I got about 1.8x at -q0, while the 1.0 encoder that I found on my HDD gave me 3.54x on the same file.
PowerMacG4
Ah, indeed.

Well, it's good enough for now biggrin.gif
Cygnus X1
QUOTE(PowerMacG4 @ Aug 7 2004, 06:34 PM)
Ah, indeed.

Well, it's good enough for now biggrin.gif
*



Agreed. Now I can finally play around with a newer version of Vorbis. Thanks! smile.gif
PowerMacG4
Okay, I'm stumped about that 7777777 problem...

If I link to the older versions using -logg -lvorbis -lvorbisenc everything is fine. However, if I link to the new versions (in .framework form) by saying -framework Ogg -framework Vorbis, I get the strange 77777 problem again.

VERY strange indeed.
Cygnus X1
That is pretty weird. Even if you use the -Q option in oggenc, it still spits out 7's ad infinitum, minus the progress info. blink.gif
PowerMacG4
Yeah, I found that to be quite puzzling also..

/still investigating
QuantumKnot
That is a weird problem blink.gif

The progress stats is part of oggenc. You can try using the --quiet switch.
Cygnus X1
QUOTE(QuantumKnot @ Aug 7 2004, 07:57 PM)
That is a weird problem blink.gif

The progress stats is part of oggenc.  You can try using the --quiet switch.
*



--quiet still spits out millions of 7's. (I already tried -Q, which I think is the exact same option).
QuantumKnot
QUOTE(Cygnus X1 @ Aug 8 2004, 11:04 AM)
QUOTE(QuantumKnot @ Aug 7 2004, 07:57 PM)
That is a weird problem blink.gif

The progress stats is part of oggenc.  You can try using the --quiet switch.
*



--quiet still spits out millions of 7's. (I already tried -Q, which I think is the exact same option).
*



oh. I guess it's not oggenc then. There must be something somewhere spitting them out to stderr. That would be hard to trace, but suffice to say, I haven't seen this problem before when compiling RC1 for linux.
kjoonlee
I've been seeing something similar with SVN compiles for some time. I'm going to report it to bugs.xiph.org.

edit: bugs.xiph.org, not bugzilla.xiph.org

edit: http://bugs.xiph.org/show_bug.cgi?id=557
kjoonlee
QUOTE(PowerMacG4 @ Aug 8 2004, 07:08 AM)
Okay, you were right. Vorbis is officially a bitch to compile.

Who the hell maintains the automake/autoconf/autoetc stuff??
*

If you want to make sure it gets better in the future, please report it to bugs.xiph.org.

Thomas Vander Stichele has started to clean up the build stuff lately, to make everything painless.
kjoonlee
The 7 problem is now fixed in SVN. A function call has to be removed from the vorbis library.
Here's a diff (sort of.)
CODE
Index: bitrate.c
===================================================================
--- vorbis/lib/bitrate.c        (revision 7496)
+++ vorbis/lib/bitrate.c        (revision 7497)
@@ -11,7 +11,7 @@
 ********************************************************************

 function: bitrate tracking and management
- last mod: $Id: bitrate.c,v 1.23 2003/12/30 13:17:20 xiphmont Exp $
+ last mod: $Id$

 ********************************************************************/

@@ -227,7 +227,6 @@
  return(0);
}

-#include <stdio.h>
int vorbis_bitrate_flushpacket(vorbis_dsp_state *vd,ogg_packet *op){
  private_state         *b=vd->backend_state;
  bitrate_manager_state *bm=&b->bms;
@@ -241,8 +240,6 @@
    if(vorbis_bitrate_managed(vb))
      choice=bm->choice;

-    fprintf(stderr,"%d ",choice);
-
    op->packet=oggpack_get_buffer(vbi->packetblob[choice]);
    op->bytes=oggpack_bytes(vbi->packetblob[choice]);
    op->b_o_s=0;
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.