Hi,
Under slackware 12.2 and the svn FFmpeg I have managed to capture the x11 display with FFmpeg and x11grab as follows:
Code:
ffmpeg -vframes 100 -r 30 -g 300 -s 1024x768 -f x11grab -i :0.0 \
-vcodec libx264 -vpre hq -crf 22 -threads 0 test.mp4
and this works well enough but I would like to add in the
system sound as well. Documentation for this is pretty poor but suggests something like the following:
Code:
ffmpeg -f oss -i /dev/audio -vframes 100 -r 30 -g 300 -s 1024x768 \
-f x11grab -i :0.0 -vcodec libx264 -vpre hq -crf 22 -threads 0 \
test.mp4
But on my system this fails without error. Has anybody managed to catch sound as well as the x11 display in this manner?
Andrew