1
This is the format we have at the moment:
5
ffmpeg -f alsa -ac 2 -i pulse -f x11grab -r 30 -s 1024x768 -i :0.0 -acodec pcm_s16le -vcodec libx264 -vpre lossless_ultrafast -threads 0 output.mkv
8
This is the format we want:
12
gst-launch pulsesrc ! audioconvert ! flacenc ! matroskamux name=mux ! filesink location=file.mkv ximagesrc startx=20 starty=20 endx=300 endy=300 ! video/x-raw-rgb,framerate=5/1 ! ffmpegcolorspace ! diracenc lossless=true ! mux.
18
12 ≈ sameq (same quality as screencast)