Mir

Comment 4 for bug 1280938

Revision history for this message
Daniel van Vugt (vanvugt) wrote :

On second thoughts, if we start generating variable-framerate output that limits the potential output formats. I think we need to aim for a constant framerate output. So maybe this shouldn't be fixed at all.

I suspect existing screencasting software gets around the problem using multiple tricks:
  1. Only record to RAM (while possible) as it's much faster and can keep up.
  2. Only record changes (damage based regions) and not the whole screen each frame.
  3. Write to a semi-compressed file format, aided by #2.

On the issue of compressed file formats, we might benefit from simple and fast run-length encoding (as supported in simple image formats like TGA, BMP or PCX). Over the years I have used all three and they're pretty simple file formats to create.