Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 72763 - oggenc creates corrupted files with maximum bitrate higher than 172
Summary: oggenc creates corrupted files with maximum bitrate higher than 172
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-28 14:35 UTC by Micoto Szillat
Modified: 2005-10-18 16:29 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge.info,2.79 KB, text/plain)
2004-12-06 12:42 UTC, Micoto Szillat
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Micoto Szillat 2004-11-28 14:35:56 UTC
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
Comment 1 Micoto Szillat 2004-11-28 15:15:15 UTC
After some experimentig, libvorbis reveals to be responsible. Emerging libvorbis 1.0.1-r2 is a workaround.
Comment 2 Stian Skjelstad 2004-12-06 09:08:20 UTC
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.
Comment 3 Jeremy Huddleston (RETIRED) gentoo-dev 2004-12-06 11:47:42 UTC
Yes, please always report versions and provide 'emerge --info'
Comment 4 Micoto Szillat 2004-12-06 12:42:43 UTC
Created attachment 45397 [details]
emerge --info

libvorbis-1.1.0 is the affected version
Comment 5 Jeremy Huddleston (RETIRED) gentoo-dev 2005-01-03 03:50:59 UTC
Have you reported this upstream?
Comment 6 Jeremy Huddleston (RETIRED) gentoo-dev 2005-01-05 01:10:13 UTC
bumping back to sound@
Comment 7 Brandon Low (RETIRED) gentoo-dev 2005-01-23 19:49:54 UTC
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.
Comment 8 Micoto Szillat 2005-03-13 04:20:39 UTC
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.
Comment 9 Stian Skjelstad 2005-06-29 16:35:32 UTC
forward bug upstream to the author?
Comment 10 Tom Schumm 2005-08-05 07:51:13 UTC
This bug is supposedly fixed in libvorbis-1.1.1.
Comment 11 Tony Vroon (RETIRED) gentoo-dev 2005-10-18 16:29:10 UTC
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