Correctly distinguish between game and real ticks while recording video,
so that paused game and speed-up demo are recorded better.
Also support recording videos from demos executed directly (without frontend),
such videos will be automatically encoded on frontend startup.
[patterns]
**.h = native
**.c = native
**.cpp = native
**.lua = native
**.txt = native
**.pas = native
**.inc = native
**.hs = native