Bug 5912
Summary: | Can't record audio with mencoder (mplayer) using snd_via82xx | ||
---|---|---|---|
Product: | Drivers | Reporter: | Attila Rajmund Nohl (ethanl) |
Component: | Sound(ALSA) | Assignee: | Jaroslav Kysela (perex) |
Status: | REJECTED INVALID | ||
Severity: | normal | CC: | bunk |
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.15 | Subsystem: | |
Regression: | --- | Bisected commit-id: |
Description
Attila Rajmund Nohl
2006-01-17 12:58:57 UTC
Please do a binary search by date with ALSA CVS to identify the commit that broke it. I've tried a binary search although I'm not sure this is what you suggested. I've followed the instructions at http://gimpel.gi.funpic.de/Howtos/ALSA- CVS_to_kernel/ to get the current ALSA. Then I issued the cvs -f -z3 -d ":pserver:anonymous:@cvs.sourceforge.net:/cvsroot/alsa" update -D 2005-12-01 command. This ALSA didn't compile with the 2.6.14 kernel, but did compile with the 2.6.15 kernel, however, the audio recording still didn't work. Then I issued the cvs -f -z3 -d ":pserver:anonymous:@cvs.sourceforge.net:/cvsroot/alsa" update -D 2005-11-21 command, but this ALSA didn't compile with neither the 2.6.14 nor the 2.6.15 kernel. I've also tried mplayer with the 2.6.15-rc1 kernel and got this error message: v4l2: ioctl queue buffer failed: Bad address Then mplayer crashed with a segmentation fault after this error. I've also tried this with other kernels. 2.6.15-rc2: same error message as in 2.6.15-rc1 2.6.15-rc3: audio recording works fine 2.6.15-rc4: audio recording works fine 2.6.15-rc5: no audio, just like with 2.6.15 Not a kernel bug. This one was a bit tricky to find because there were several v4l2 bugs in the early 2.6.15-rc. The actual one with no sound is because of a correct change in the way bttv initializes in 2.6.15-rc5. It is a bug in mplayer because it wrongly uses v4l2_input audioset field. I got a patch merged in mplayer cvs and you can read it here: http://mplayerhq.hu/pipermail/mplayer-dev-eng/2006-February/040546.html Grab mplayer cvs and build and sound will work now on any kernel with v4l2. Oops, there is one more thing related to audioset I did not fix. You can use the "forceaudio" to be able record audio during capture, until a fix for this is merged. I sent a patch to fix mencoder http://mplayerhq.hu/pipermail/mplayer-dev-eng/2006-February/040744.html If it is merged, you won't need forceaudio. If not, you will need it. Final patch is in mplayer cvs. Mencoder is fixed. According to the bug logs, this was a bug in mplayer, not a kernel bug. |