LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Blogs > number22
User Name
Password

Notices


Old

ffmpeg alsa recording multiple applications audio

Posted 01-28-2016 at 10:56 PM by number22
Updated 02-07-2016 at 03:30 AM by number22

The trick is using dmix on loopback device:
2 dmixers; one for regualr onboard audio; the other for loopback virtual device, then duplicates streams send to onboard audio card, so you can hear what is being sent to loopback device.

Need to load snd_aloop module first;

Code:
modprobe snd-aloop index=2 id=Loopback pcm_substreams=1 enable=1
My first audio device is onboard soundcard; 2nd is HDMI card, so I put index=2 for Loopback device.

file...
Member
Posted in Uncategorized
Views 3356 Comments 0 number22 is offline

  



All times are GMT -5. The time now is 04:22 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration