Skip to content

loicmagne/input-rec

Repository files navigation

input-rec

Installation

Check the release page and download the installer for your OS

How to use

Add the Input Recording source:

image

That's it! Now every time you record, a .parquet file will be created with the same name as your recording, containing the state of your gamepad recorded at 500Hz. This will also work if you disconnect your gamepad midway, connect a new one etc.

Visualize recorded actions

Install the Python viewer with

pip install -e python_viewer

Then use it with

irv <path/to/video_file.mp4> # this command will automatically look for the associated .parquet file
irv <path/to/video_file.mp4> --path-parquet <path/to/annotations.parquet> # or explicitely provide the path to the parquet annotations 

You should see a rerun window like this one: image

TODOs:

  • Support mouse/keyboard recordings
  • Add a GUI to select output format and input device to be recorded
  • Add a visual indicator to verify that recording is working
  • Fix macOS

About

Record gamepad inputs with OBS

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors