With recent mythtv builds, if the computer is idle, recordings are roughly 1MB/sec. But, in case of other disk activity (playing another video, or even running up enough activity with find), the crazy sucker starts recording at like 12MB/sec. Reproducible: Sometimes Steps to Reproduce: 1. Wait for myth to start recording. 2. Do something like playback video, run find, or the like. 3. Observe huge write usage with gkrellm, and rapid swelling of file sizes. 4. Post-transcoding, sizes are however normal. Actual Results: I start getting 10-15GB recordings. Expected Results: I'm using RTJEG, so files should be like 1/3rd that size. This has been going on with recent releases. I think 12783 worked fine, I don't know exactly which recent version made it act up.. I've run 12801, 12825, and now 12884. I'm running on an Athlon XP 2200+, 768MB of RAM, and an nforce2 board. This is in an MSI Mega180. Capture card is a bt878 for video, and the nforce audio for the sound. I am running mythbackend realtime priority and nice -15, which quite effectively can let me run the CPU at 100% utilization if I want without dropping a frame.
Ugh! I forgot the emerge --info! beta ~ # emerge --info Portage 2.1.2-r12 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.5-r0, 2.6.20-gentoo i686) ================================================================= System uname: 2.6.20-gentoo i686 AMD Athlon(tm) XP 2200+ Gentoo Base System version 1.12.9 Timestamp of tree: Sat, 03 Mar 2007 00:20:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.31-r3 dev-lang/python: 2.4.4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 sys-apps/sandbox: 1.2.18.1 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.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.20-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -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="-O2 -march=athlon-xp -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distcc distlocks fixpackages metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo" MAKEOPTS="-j4" 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-* --prune-empty-dirs" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://delta/gentoo-portage" USE="3dnow 3dnowext X a52 aac alsa arts asf audiofile berkdb bitmap-fonts bonobo browserplugin bzip2 cairo cdr cjk cli cracklib crosscompile crypt css cups curl dbus divx4linux dri dts dv dvd dvdr dvdread eds emboss encode esd expat fam fame ffmpeg firefox flac foomaticdb fortran gd gdbm gif gimpprint glut gmp gnome gpm gstreamer gtk gtk2 gtkhtml hal iconv idn ieee1394 imagemagick insecure-savers ipv6 isdnlog java jpeg junit kde kdeenablefinal kqemu latin1 lcms ldap libg++ lua mad matroska midi mikmod mjpeg mmx mng mozsvg mp3 mpeg mysql mythtv nas ncurses nls nptl nptlonly nsplugin nvidia offensive ogg opengl oss pam pcre pdf perl pic plugin png posix ppds pppd python qt3 qt4 quicktime readline reflection ruby samba scanner sdl seamonkey session slang spell spl sse ssl subtitles svg tcltk tcpd threads tiff truetype truetype-fonts type1-fonts unicode uniq usb v4l v4l2 vorbis win32codecs wmf x86 xanim xine xml xml2 xorg xv xvid 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 evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="nvidia nv" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Well, I found my real problem. libmythtv has some code (in NuppelVideoRecorder.cpp) that will turn off compression in 2 stages as the capture card runs out of buffers, capturing raw video at 5 buffers free. chrt doesn't seem to work with gentoo-sources-2.6.20... result.. random bursts of time when mythbackend ran out of cycles and started raw capturing instead of rtjpeg. I went back to 2.6.19-r2 and am fine now.