FFmpeg отвазалось записывать видео с монитора. Пробовал перезагружать Alsa, безрезультатно.
ffmpeg -f alsa -ac 2 -i pulse -f x11grab -threads 0 output_ll.mkv
u@debian:~$ ffmpeg -f alsa -ac 2 -i pulse -f x11grab -threads 0 output_ll.mkv
ffmpeg version 0.11.1 Copyright (c) 2000-2012 the FFmpeg developers
built on Aug 11 2012 08:15:54 with gcc 4.7.1
configuration: --prefix=/usr --extra-cflags='-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security ' --extra-ldflags='-Wl,-z,relro' --cc='ccache cc' --enable-shared --enable-libmp3lame --enable-gpl --enable-nonfree --disable-decoder=libdirac --enable-libvorbis --enable-pthreads --enable-libfaac --enable-libxvid --enable-postproc --enable-x11grab --enable-libgsm --enable-libtheora --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libx264 --enable-libspeex --enable-nonfree --disable-stripping --enable-libschroedinger --disable-encoder=libschroedinger --enable-version3 --enable-libopenjpeg --enable-libvpx --enable-librtmp --enable-avfilter --enable-libfreetype --enable-libvo-aacenc --disable-decoder=amrnb --enable-libvo-amrwbenc --enable-libaacplus --libdir=/usr/lib/x86_64-linux-gnu --disable-vda --enable-libbluray --enable-libcdio --enable-gnutls --enable-frei0r --enable-openssl --enable-libass --enable-libdc1394 --disable-altivec --disable-armv5te --disable-armv6 - libavutil 51. 54.100 / 51. 73.101
libavcodec 54. 23.100 / 54. 59.100
libavformat 54. 6.100 / 54. 29.104
libavdevice 54. 0.100 / 54. 0.100
libavfilter 2. 77.100 / 2. 77.100
libswscale 2. 1.100 / 2. 1.101
libswresample 0. 15.100 / 0. 15.100
libpostproc 52. 0.100 / 52. 0.100
[ALSA demuxer @ 0x9af600] Value 4676829883349860352.000000 for parameter 'sample_rate' out of range
[ALSA demuxer @ 0x9af600] Value 4611686018427387904.000000 for parameter 'channels' out of range
ALSA lib pcm_pulse.c:750:(pulse_prepare) PulseAudio: Unable to create stream: Connection terminated
[alsa @ 0x9afc60] cannot set parameters (Input/output error)
pulse: Input/output error