When libogg was updated to 1.1.3, ogmtools (1.5) broke. Specifically, ogmmerge creates an .ogm file for which 'ogmsplit -p' generates negative timestamps. Any attempt to cut an ogm using ogmsplit generates bad files. Reproducible: Always Steps to Reproduce: 1. ogmmerge -o bad.ogm video.avi audio.mp3 2. ogmsplit -p bad.ogm 3. Actual Results: (ogmsplit.cpp) Split point: 0, frameno: 0, bytes: 170, start: 00:00:00.000 (ogmsplit.cpp) Split point: 1, frameno: 22, bytes: 18115, start: 00:00:00.700 (ogmsplit.cpp) Split point: 2, frameno: 24, bytes: 22753, start: 00:00:00.767 (ogmsplit.cpp) Split point: 3, frameno: 74, bytes: 116056, start: 00:00:00.-33 (ogmsplit.cpp) Split point: 4, frameno: 124, bytes: 195321, start: 00:00:00.-33 (ogmsplit.cpp) Split point: 5, frameno: 174, bytes: 288550, start: 00:00:00.-33 (ogmsplit.cpp) Split point: 6, frameno: 224, bytes: 362566, start: 00:00:07.440 (ogmsplit.cpp) Split point: 7, frameno: 274, bytes: 408177, start: 00:00:09.109 (ogmsplit.cpp) Split point: 8, frameno: 324, bytes: 475560, start: 00:00:00.-33 (ogmsplit.cpp) Split point: 9, frameno: 374, bytes: 531468, start: 00:00:00.-33 (ogmsplit.cpp) Split point: 10, frameno: 424, bytes: 599063, start: 00:00:00.-33 (ogmsplit.cpp) Split point: 11, frameno: 474, bytes: 666426, start: 00:00:15.782 (ogmsplit.cpp) Split point: 12, frameno: 524, bytes: 712053, start: 00:00:17.450 Expected Results: (ogmsplit.cpp) Split point: 0, frameno: 0, bytes: 170, start: 00:00:00.000 (ogmsplit.cpp) Split point: 1, frameno: 22, bytes: 18115, start: 00:00:00.700 (ogmsplit.cpp) Split point: 2, frameno: 24, bytes: 22753, start: 00:00:00.767 (ogmsplit.cpp) Split point: 3, frameno: 74, bytes: 116056, start: 00:00:02.435 (ogmsplit.cpp) Split point: 4, frameno: 124, bytes: 195321, start: 00:00:04.104 (ogmsplit.cpp) Split point: 5, frameno: 174, bytes: 288550, start: 00:00:05.772 (ogmsplit.cpp) Split point: 6, frameno: 224, bytes: 362566, start: 00:00:07.440 (ogmsplit.cpp) Split point: 7, frameno: 274, bytes: 408177, start: 00:00:09.109 (ogmsplit.cpp) Split point: 8, frameno: 324, bytes: 475560, start: 00:00:10.777 (ogmsplit.cpp) Split point: 9, frameno: 374, bytes: 531468, start: 00:00:12.445 (ogmsplit.cpp) Split point: 10, frameno: 424, bytes: 599063, start: 00:00:14.114 (ogmsplit.cpp) Split point: 11, frameno: 474, bytes: 666426, start: 00:00:15.782 (ogmsplit.cpp) Split point: 12, frameno: 524, bytes: 712053, start: 00:00:17.450 Use any existing .ogm file. Demux it, merge it back, and print the split points. Most of them are a negative constant value. After downgrading libogg to 1.1.2, a demux and re-merge generates a good .ogm file, and ogmsplit operates correctly. emerge info: Portage 2.1.2.2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.5-r0, 2.6.20-gentoo-r4 i686) ================================================================= System uname: 2.6.20-gentoo-r4 i686 AMD Athlon(tm) XP 2000+ Gentoo Base System release 1.12.9 Timestamp of tree: Mon, 09 Apr 2007 06:30:08 +0000 dev-java/java-config: 1.3.7, 2.0.31-r5 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo ftp://gentoo.mirrors.tds.net/gentoo http://gentoo.chem.wisc.edu/gentoo/" LINGUAS="en" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X aac alsa apache2 apm arts berkdb bitmap-fonts bzip2 cli cracklib crypt cups curl dri eds emboss encode esd foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 iconv imlib ipv6 isdnlog java jpeg kde lcms libg++ libwww mad midi mikmod mmx motif mp3 mpeg nas ncurses nis nls nptl nptlonly nsplugin ogg opengl oss pam pcre pdf perl pic png ppds pppd python qt3 qt4 quicktime readline reflection samba sdl session slang spell spl sse ssl svg tcpd tetex tiff truetype truetype-fonts type1-fonts unicode vorbis x86 xml xorg xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="radeon vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Sigh, this is NOT a Gentoo Bugzilla product bug. http://bugs.gentoo.org/enter_bug.cgi?format=guided <snip> Bugzilla: Only bugs regarding the Gentoo Bugzilla website (bugs.gentoo.org) belong here. Bugs related to ebuilds belong in 'Gentoo Linux' </snip>
Shrug... media-sound/ogmtools is completely dead upstream; good luck.
Should be fixed with -r2, please test.