Search code examples
linuxffmpegvideo-capture

Video quality when desktop recording is bad


Trying to record my desktop and also audio with RHEL6.
I'm using the command below, but the quality of the video output is not good.
It is very blurry and I can bearly make out text on screen.
The audio is good so no issues there.

Does anyone know how the make the video quality any better?

ffmpeg -f alsa -ac 2 -i hw:0,0 -f x11grab -s $(xwininfo -root | grep 'geometry' | awk '{print $2;}') -r 25 -i :0.0 -sameq -f mpeg -ar 48000 -s wvga -y sample.avi

Solution

  • I believe the -sameq option means 'same quantizer' not 'same quality' and is depreciated, see here.

    Try -q 1 instead.

    q being quality 1-32 (1 being highest)