Coder Social home page Coder Social logo

simbarecorder's Introduction

SimbaRecorder

Install using Simba's package manager.

procedure TRecorder.Start(Seconds: Integer; Directory: String); overload; // record currently targeted window
procedure TRecorder.Start(Window: PtrUInt; Seconds: Integer; Directory: String); // record a window handle

Usage

{$i recorder/recorder.simba}

begin
  Recorder.Start(15, 'DirectoryForVideos'); 
  
  Sleep(20000); // Continue running your script ...
end.

In this example above, whenever the script is terminated you would have a video recording of the last 15 seconds. This is similar in concept to Nvidia's Shadowplay.

Video recording will be saved in DirectoryForVideos directory under the name recording.mp4.

Inspired by https://villavu.com/forum/showthread.php?t=118373


Notes:

  • Recorder.Start runs another Simba script in the background which handles the recording and terminates when the parent script does.
  • FFmpeg binary included is ~75mb. So the release is quite big.
  • Windows only for now. But future platforms can easily be supported as FFMPEG & LZ4 are available.

simbarecorder's People

Contributors

ollydev avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

metabotai loop80

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.