[FFmpeg-user] How to grab x11 screen

jd1008 jd1008 at gmail.com
Mon Jan 26 18:53:58 CET 2015

On 01/26/2015 12:29 AM, Moritz Barsnick wrote:
> 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
Can I use as input
   .......  -i /dev/video0:/dev/snd/hwC0D0

of could I use     ....    -i  /dev/video0    -i  /dev/snd/hwC0D0

More information about the ffmpeg-user mailing list