Upgrading kernel from 2.6.14-r5 to 2.6.15-r1 --> 2.6.16-r1 causes mencoder to stop recording sound from bt878 tv card. Explicitly calling the alsa or oss device from the mencoder command makes no difference. All other sound, including sound playback from mplayer works fine. equery list mplayer [ Searching for package 'mplayer' in all categories among: ] * installed packages [I--] [ ] media-video/mplayer-1.0.20060302 (0) equery list gentoo-sources [ Searching for package 'gentoo-sources' in all categories among: ] * installed packages [I--] [M ] sys-kernel/gentoo-sources-2.6.14-r5 (2.6.14-r5) [I--] [ ] sys-kernel/gentoo-sources-2.6.15-r1 (2.6.15-r1) [I--] [M ] sys-kernel/gentoo-sources-2.6.16-r1 (2.6.16-r1) equery info Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.4.5, glibc-2.3.5-r3, 2.6.14-gentoo-r5 i686) ================================================================= System uname: 2.6.14-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 1.60GHz Gentoo Base System version 1.6.14 dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.12 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.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium4 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo ftp://mirror.usu.edu/mirrors/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X a52 aac aalib acpi alsa apm arts audiofile avi bash-completion bitmap-fonts bzip2 cdparanoia cdr crypt cups curl directfb divx4linux dri dts dvb dvd dvdr dvdread edl eds emboss encode exif expat fam fbcon ffmpeg flac foomaticdb fortran gdbm gif gimpprint glut gpm gstreamer gtk gtk2 idn imagemagick imlib ipv6 isdnlog java joystick jpeg kde lcms libcaca libg++ libwww lzo mad maildir matroska mbox mikmod mjpeg mmx mmxext mng motif mp3 mpeg ncurses nls nocardbus ntpl nvidia ofx ogg oggvorbis openal opengl oss pam pcre pda pdflib perl png ppds pppd python qt quicktime readline recode rtc samba scanner sdl slang spell sqlite sse sse2 ssl svga tcltk tcpd theora tidy tiff truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vorbis x264 xine xml1 xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Additional Info: equery list alsa [ Searching for package 'alsa' in all categories among: ] * installed packages [I--] [ ] media-libs/alsa-lib-1.0.10 (0) [I--] [ ] media-plugins/xmms-alsa-1.2.10-r2 (0) [I--] [ ] media-sound/alsa-headers-1.0.10 (0) [I--] [ ] media-sound/alsa-tools-1.0.10 (0.9) [I--] [ ] media-sound/alsa-utils-1.0.10 (0.9) lsmod Module Size Used by ide_cd 37380 0 cdrom 37408 1 ide_cd nvidia 3461052 12 snd_seq_midi 6944 0 snd_seq_midi_event 6016 1 snd_seq_midi snd_seq 48400 2 snd_seq_midi,snd_seq_midi_event snd_pcm_oss 48288 0 snd_mixer_oss 17024 1 snd_pcm_oss nvidiafb 51100 0 tuner 37544 0 bttv 153168 0 video_buf 17156 1 bttv firmware_class 7936 1 bttv i2c_algo_bit 8584 2 nvidiafb,bttv v4l2_common 4864 1 bttv btcx_risc 4104 1 bttv tveeprom 12432 1 bttv videodev 7424 1 bttv snd_ens1371 20960 0 gameport 11400 1 snd_ens1371 snd_rawmidi 20512 2 snd_seq_midi,snd_ens1371 snd_seq_device 6924 3 snd_seq_midi,snd_seq,snd_rawmidi snd_ac97_codec 90876 1 snd_ens1371 snd_pcm 80520 3 snd_pcm_oss,snd_ens1371,snd_ac97_codec snd_timer 21508 2 snd_seq,snd_pcm snd 45412 9 snd_seq,snd_pcm_oss,snd_mixer_oss,snd_ens1371,snd_rawmidi,snd_seq_device,snd_ac97_codec,snd_pcm,snd_timer soundcore 7776 1 snd snd_page_alloc 8456 1 snd_pcm snd_ac97_bus 1920 1 snd_ac97_codec sis900 18560 0 mii 4736 1 sis900 ohci_hcd 19460 0 i2c_sis96x 4740 0 rtc 10808 0 usbcore 107136 2 ohci_hcd asb100 20500 0 hwmon_vid 2304 1 asb100 i2c_core 17552 7 nvidiafb,tuner,bttv,i2c_algo_bit,tveeprom,i2c_sis96x,asb100
Alsa 1.0.10 won't work w/ 2.6.16 kernels. Reopen if latest alsa version doesn't work for you.
Upgraded alsa, but mencoder recording still broken: 2.6.14-r5 all sound works 2.6.15-r1 mencoder will not record sound (sound playback OK) 2.6.16-r1 mencoder will not record sound (sound playback OK) equery list alsa [ Searching for package 'alsa' in all categories among: ] * installed packages [I--] [ ] media-libs/alsa-lib-1.0.11_rc4 (0) [I--] [ ] media-plugins/xmms-alsa-1.2.10-r2 (0) [I--] [ ] media-sound/alsa-headers-1.0.11_rc4 (0) [I--] [ ] media-sound/alsa-tools-1.0.11_rc4 (0.9) [I--] [ ] media-sound/alsa-utils-1.0.11_rc4 (0.9)
try to configure mplayer properly the default device is wrong most cases now.
(In reply to comment #4) > try to configure mplayer properly the default device is wrong most cases now. On my system mencoder won't record at all if the wrong audio device is set. I have explicitly set the device (tried both /dev/dsp and alsa hardware device hw.0). Please see complete mencoder command below. Mencoder records video with 2.6.15 and 2.6.16, but doesn't record any audio and starts spitting out audio input error messages after a few seconds. #!/bin/bash #mencv4l2mpeg2 #tmpgenc matrix channel=${1:?"User--Channel Needed"} duration=${2:?"User--Duration Needed"} outputfilename=${3:?"User--Output Filename Needed"} #Remove leading "0" from channel if it exists #user input channel not needed with cable box -> s-video channel=${channel#0} #Remove file extension from outputfilename if it exists outputfilename=${outputfilename%.*} mencoder \ -tv driver=v4l2:input=0:normid=1:chanlist=us-cable:fps=30000/1001:\ amode=0:alsa:adevice=hw.0:audiorate=48000:saturation=20:brightness=0:\ contrast=-25:width=720:height=480 \ tv://$channel \ -vf crop=704:480:8:0,kerndeint,denoise3d=3:2:4,harddup \ -oac lavc \ -ovc lavc \ -lavcopts acodec=ac3:vcodec=mpeg2video:vqscale=4:\ me_range=8000:sc_threshold=100000:aspect=4/3:keyint=120:\ intra_matrix=\ 8,16,19,22,26,27,29,34,\ 16,16,22,24,27,29,34,37,\ 19,22,26,27,29,34,34,38,\ 22,22,26,27,29,34,37,40,\ 22,26,27,29,32,35,40,48,\ 26,27,29,32,35,40,48,58,\ 26,27,29,34,38,46,56,69,\ 27,29,35,38,46,56,69,83:\ inter_matrix=\ 16,17,18,19,20,21,22,23,\ 17,18,19,20,21,22,23,24,\ 18,19,20,21,22,23,24,25,\ 19,20,21,22,23,24,26,27,\ 20,21,22,23,25,26,27,28,\ 21,22,23,24,26,27,28,30,\ 22,23,24,26,27,28,30,31,\ 23,24,25,27,28,30,31,33 \ -endpos $duration \ -o "$outputfilename".avi
A google search turned up the following which may give additional info: http://www.ussg.iu.edu/hypermail/linux/kernel/0601.1/2754.html Seems I'm not the only one with this problem. Unfortunately, no solution that I could find.
Unmasking and installing mplayer-1.0.20060408 fixed the problem for me. Not sure whether to mark this as resolved, since the solution involves using a hard-masked version of mplayer.
closing since works for Sam, and pre8 is stable on his arch. :)