[FFmpeg-user] Crisp, exact color match for lossless screen-cast

thangalin thangalin at gmail.com
Fri Mar 21 19:32:47 CET 2014


I would like to record an audio-less screen-cast. The following image shows
a side-by-side comparison of the video (left) versus the desktop (right):


The screen-cast is recorded using:

    ffmpeg -r 30 -f x11grab -s $WIN_GEO -i :0.0+$WIN_XY -vcodec huffyuv
-preset ultrafast -qp 0 output.mkv

Where $WIN_GEO has the browser dimensions (1030x794) and $WIN_XY has the
browser location (1020x221).

The problem is that the video colours differ from the desktop colours,
resulting in a slightly blurry playback (the whites are off-white... washed
out, slightly tarnished). I have read that this could be due to conversion
between RGB and YUV colours.

How do you create a desktop video (screen-cast) that when played back (e.g.,
using mplayer, VLC, or ffplay) results in an *exact* match to the original
desktop colours and crispness?

Thank you!

View this message in context: http://ffmpeg-users.933282.n4.nabble.com/Crisp-exact-color-match-for-lossless-screen-cast-tp4664431.html
Sent from the FFmpeg-users mailing list archive at Nabble.com.

More information about the ffmpeg-user mailing list