I'm trying to record audio from an application on a server with FFmpeg. Apparently, I need an Alsa loopback driver for this. I've read that this should work on Ubuntu 14.04:
modprobe snd-aloop
Unfortunately, that isn't available on my kernel:
modprobe: FATAL: Module snd-aloop not found.
Is this a difference between server and desktop distributions of Ubuntu?
How can I get this driver installed?
Googling leads me here: https://wiki.ubuntu.com/Audio/InstallingLinuxAlsaDriverModules
That page then says I need to go here: https://wiki.ubuntu.com/Audio/UpgradingAlsa
That page sensibly says to use DKMS: https://wiki.ubuntu.com/Audio/UpgradingAlsa/DKMS
However, the DKMS instructions only list Intel drivers: https://code.launchpad.net/~ubuntu-audio-dev/+archive/ubuntu/alsa-daily/+packages
Am I missing something?
Best Answer
Well, I could try loading it in Ubuntu 16.04 Desktop Edition (VirtualBox with disabled audio card). As you can see, it is installed with
linux-image-extra
package which may be you don't have already.For general solution, look at:
How do I find the package that provides a file?
Just checked a fresh Ubuntu 16.04.1 Server. It has the
snd-aloop
module.linux-image-extra*
package was installed as dependency oflinux-image-generic
meta package which is also a dependency oflinux-generic
meta package. So a quick fix: