When trying to create ogg/vorbis files with oggenc and specifying a maximum bitrate of more than 172 kbps, a file with very little data is created. After invoking oggenc with "-q 5 -m 96 -M 255" on a Wave file, ogginfo tells the following about the output file: Processing file "track01.cdda.ogg"... New logical stream (#1, serial: 17e57f59): type vorbis Vorbis headers parsed for stream 1, information follows... Version: 0 Vendor: Xiph.Org libVorbis I 20040629 Channels: 2 Rate: 44100 Nominal bitrate: 192.000000 kb/s Upper bitrate: 0.173000 kb/s Lower bitrate: 0.096000 kb/s Vorbis stream 1: Total data length: 54416 bytes Playback length: 8m:26s Average bitrate: 0.859494 kbps Logical stream 1 ended Reproducible: Always Steps to Reproduce: Encode a file with 'oggenc -M 173' or higher values of M Actual Results: Nonsense file output Expected Results: Create an ogg/vorbis file with actually data in it
After some experimentig, libvorbis reveals to be responsible. Emerging libvorbis 1.0.1-r2 is a workaround.
What version was the broken one? libvorbis-1.0.1-r2 and libvorbis-1.1.0 are the only versions I can see in the portage tree currently. So if this was a bug in older vendor version, I suggest that this bug is marked as FIXED.
Yes, please always report versions and provide 'emerge --info'
Created attachment 45397 [details] emerge --info libvorbis-1.1.0 is the affected version
Have you reported this upstream?
bumping back to sound@
Can you test this out with libvorbis 1.1.0 with new local use flag "aotuv"? The aoTuV use flag adds the latest patch from aoTuV which has some (tiny) chance of having an effect on this.
The aoTuV patches did not solve the problem. I am lucky to currently sit at an Opteron Workstation with Gentoo at work. This machine also produces the bug.
forward bug upstream to the author?
This bug is supposedly fixed in libvorbis-1.1.1.
Unable to reproduce the bug on libvorbis 1.1.1; marking FIXED. Please reopen if you can reproduce the problem on 1.1.1 Portage 2.0.53_rc5 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-rc4-mm1 i686) ================================================================= System uname: 2.6.14-rc4-mm1 i686 Intel(R) Pentium(R) III Mobile CPU 1000MHz Gentoo Base System version 1.12.0_pre9 dev-lang/python: 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.13 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium3m -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium3m -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig cvs digest distlocks fixpackages sandbox sfperms sign" GENTOO_MIRRORS="ftp://ftp.heanet.ie/pub/gentoo/" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/cvs/gentoo-x86/" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage" USE="x86 16bit S3TC X X509 a52 aac aalib acpi aim alsa ao aotuv asm audiofile avi bash bash-completion beepmp berkdb bitmap-fonts bmp bonobo bzip2 bzlib cairo cdda cddb cdio cdparanoia cdr codecs crypt css cups dbus djbfft dpms dts dv dvd eds elf encode erandom ethereal evo evo2 exif faad fame fb fbcon ffmpeg fftw firefox flac flash font-server foomaticdb fpx freetype ftp gb gcj gdbm gif glitz glut gnome gnomedb gnutls gphoto2 gstreamer gtk gtk2 gtkhtml hal howl icq imap imlib imlib2 inifile ipv6 irc jabber java jbig jce jikes jpeg kde kdgraphics kerberos krb4 libcaca libg++ libsamplerate libwww live lm_sensors lzo lzw mad maildir matroska md5sum mikmod mjpeg mmap mmx mmxext mng monkey mono moznomail mozsvg mp3 mpeg mpeg4 mplayer msn native nautilus ncurses nls nptl nptlonly ntlm ode ogg oggvorbis openal opengl oscar pam pcmcia pcre pdflib perl physfs pic png pnp posix ppds python quicktime readline real rtc samba sdl serial silc slp smime sndfile spell sse ssl stencil-buffer svg svgz symlink sysfs sysvipc szip tcltk tga theora tiff timidity transcode truetype truetype-fonts type1-fonts unicode ups uptimed usb utf8 vcd vidix vorbis wifi win32codecs wma123 wmf xanim xine xml2 xprint xscreensaver xv xvid yv12 zeroconf zlib zvbi userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS