[FFmpeg-user] Complete beginner - no sound with screencasting using x11grab?
lugoteehalt
lugoteehalt at yahoo.co.uk
Wed Jun 1 01:20:36 CEST 2011
Trying to use ffmpeg to record the screen. The following command does not
work, but remove '-i pulse' and it works perfectly, but without sound.
ffmpeg -f x11grab -i pulse -s `xdpyinfo | grep 'dimensions:'| awk '{print
$2}'` -r 25 -i :0.0 -sameq out.mpg
ffmpeg version git-N-30155-g01a73d6, Copyright (c) 2000-2011 the FFmpeg
developers
built on May 23 2011 22:32:40 with gcc 4.4.5
configuration: --enable-gpl --enable-version3 --enable-nonfree
--enable-postproc --enable-libfaac --enable-libmp3lame
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora
--enable-libvorbis --enable-libx264 --enable-libxvid --enable-x11grab
libavutil 51. 2. 1 / 51. 2. 1
libavcodec 53. 6. 0 / 53. 6. 0
libavformat 53. 2. 0 / 53. 2. 0
libavdevice 53. 0. 0 / 53. 0. 0
libavfilter 2. 10. 0 / 2. 10. 0
libswscale 0. 14. 0 / 0. 14. 0
libpostproc 51. 2. 0 / 51. 2. 0
[x11grab @ 0x9456b40] device: pulse -> display: pulse x: 0 y: 0 width: 0
height: 0
[x11grab @ 0x9456b40] Could not open X display.
pulse: Input/output error
Current stable version of Debian.
Have installed the package 'pulseaudio'. Put in this in /etc/asound.conf:
pcm.pulse {
type pulse
}
ctl.pulse {
type pulse
}
pcm.!default {
type pulse
}
ctl.!default {
type pulse
}
As suggested in this forum. Any help appreciated.
--
View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Complete-beginner-no-sound-with-screencasting-using-x11grab-tp3564621p3564621.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.
More information about the ffmpeg-user
mailing list