Linux sound is generally very confusing to me, especially when two different machines running the same version of Ubuntu don't behave at all the same way.
I'm trying to use mencoder to record a video stream to an AVI file. From one of my laptops (an HP dv7) it works exactly as some random Ubuntu wiki post says it should with this command:
mencoder tv:// -tv driver=v4l2:width=640:height=480:device=/dev/video0:forceaudio:adevice=/dev/dsp1 -ovc lavc -oac mp3lame -lameopts cbr:br=64:mode=3 -o webcam.avi
On another laptop (a Lenovo Ideapad U460), that fails because there's no /dev/dsp1. There's no /dev/dsp or /dev/audio anything. There is a /dev/snd directory with various cryptically-named files in it, but I have no idea which is which.
The webcam on the lenovo does work; I've tried it with Cheese. I would however like to at least understand why the systems would be different. (I have not done a side-by-side installed package comparison, I confess.)
Any suggestions on packages to install or diagnostics to perform are welcome. Thanks.