[FFmpeg-user] How to grab x11 screen

Moritz Barsnick barsnick at gmx.net
Mon Jan 26 08:29:56 CET 2015


On Sun, Jan 25, 2015 at 22:17:39 -0700, jd1008 wrote:
> Now that I have x11grab working, how do I add to it the audio
> that is coming from the speakers or the audio driver?

ffmpeg supports quite a few audio sources. On Linux, alsa and
pulseaudio are the most likely candidates.

Check
https://www.ffmpeg.org/ffmpeg-devices.html

With pulseaudio, you can redirect what is going to your speakers (even
from just a single program) to a separate stream, which you would then
use as input to ffmpeg. You'll need to google for that separately
though. ;-)

Moritz


More information about the ffmpeg-user mailing list