Code Monkey home page Code Monkey logo

frapix's Introduction

About
-----
Frapix is a free utility to view and optionally limit the framerate of
any UNIX OpenGL program. Additionally it lets you capture still images
and videos (image sequences only at the moment) from OpenGL programs.

Essentially frapix, is very similar to the popular proprietary
windows-only fraps program, without being an exact clone.

License
-------
Copyright (C) 2009-2015 John Tsiombikas <[email protected]>

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version. See COPYING for details.

Build
-----
To compile frapix you will need libimago, get it from
http://github.com/jtsiomb/libimago and install it before continuing
further.

Just type make to compile frapix, then make install as root to install
it system-wide. The default installation prefix is /usr/local, feel free
to modify the first line of the makefile to change this if you prefer to
install somewhere else.

Usage
-----
Just prefix the frapix script to any program you wish to run with it. So
for instance: frapix glxgears

Commandline options:
  -f <fps> will attempt to limit the framerate to <fps>.
  -u <interval> same as above, but specifying the interval between
     frames in milliseconds instead of the target framerate.

If you'd rather use frapix with any program ran from a particular
terminal, just export LD_PRELOAD=/usr/local/lib/libfrapix.so and it will
stick. In this case, if you want to set framerate limits as above,
you'll have to use the equivalent enviroment variables:
FRAPIX_FPS_LIMIT=<fps> or FRAPIX_FPS_UPDATE_RATE=<interval>.

While running with frappix you may press F12 at any time to capture a
screenshot, which will be saved as /tmp/frapix####.tga, incrementing the
number each time you do so. F11 starts a video capture, which just dumps
a tga sequence in the same way.

The key bindings, and output directory/filenames, should become
user-configurable at some point in the future. For now feel free to edit
frapix.c around line 170 to change them.

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.