Background
Recording a screen-cast (no audio) in Xubuntu Linux. 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
Here, $WIN_GEO
stores the browser dimensions (1030x794) and $WIN_XY
has the browser location (1020x221).
$ cat /etc/issue
Ubuntu Trusty Tahr (development branch) \n \l
Problem
The colours in the video differ from the colours shown on the desktop, resulting in a slightly blurry playback. I have read that this could be due to conversion between RGB and YUV colours.
Question
How do you record 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?
Related
Relevant pages:
- http://www.unixuser.org/~euske/vnc2swf/
- http://technically.us/pictures/test.html
- http://ubuntuforums.org/showthread.php?t=1392026
- https://askubuntu.com/questions/347574/how-to-do-screencasting-desktop-recording-with-high-quality-audio-and-video
- http://step4wd.com/2012/08/03/recording-screencast-in-ubuntu-linux/
- https://unix.stackexchange.com/questions/73622/how-to-get-near-perfect-screen-recording-quality
- https://unix.stackexchange.com/questions/65970/washed-out-colours-with-screencast-software-but-not-screenshot-on-ubuntu-all-ve
- https://trac.ffmpeg.org/wiki/How%20to%20grab%20the%20desktop%20%28screen%29%20with%20FFmpeg
- http://rayslinux.blogspot.ca/2012/04/capturing-linux-desktop-via-command.html