FAKENECT-RECORD(1)
π FAKENECT-RECORD π
okay so bestie, welcome to the libfreenect manual, and today's main character is fakenect-record π
β¨ NAME β¨
fakenect-record β the lil program that saves dumps from your kinect straight to a file, no cap π
π¦ SYNOPSIS π¦
fakenect-record [-h] [-ffmpeg] [-ffmpeg-opts options] outputdir
πΈ DESCRIPTION πΈ
So fakenect-record dumps the output of the kinect into the outputdir folder. It saves the acceleration, depth, and rgb data as individual files, and the names look like "TYPE-CURRENTIME-TIMESTAMP" where, bestie, let me break it down:
TYPEis either(a)ccel,(d)epth, or(r)gbTIMESTAMPis the timestamp associated with the observation (or, in the case of accel, the last timestamp seen)CURRENTTIMEis a floating point version of the time in seconds
The whole reason we're storing the current time at all is so that delays can be recreated exactly as they occurred β iconic behaviour tbh. For RGB and DEPTH, the dump is just the entirety of the data provided in PPM and PGM formats respectively (literally just a 1 line header above the raw dump, that's it). For ACCEL, the dump is the "freenect_raw_tilt_state". Only the front part of the file name gets used β the rest is left undefined (extension, extra info, etc), so don't come for it π«Ά
A file called INDEX.txt also gets output, with all of the filenames local to that directory, just to simplify the format (e.g., no need to read the directory structure β we love convenience π
).
Once it's started, the program will keep acquiring data from the kinect. When you wanna stop it, hit Ctrl-C and the signal will be caught, the runloop stopped, and everything will be stored cleanly β¨ slay.
π OPTIONS π
-ffmpegβ if present, send the the video stream toffmpeg(yes bestie, "the the", I said what I said π)-ffmpeg-optsoptionsβ when using ffmpeg, specify the options to be used with it. If unspecified, it will use the options"-aspect 4:3 -r 20 -vcodec msmpeg4 -b 30000k"-hβ display the command-line help π
π SEE ALSO π
and that's the whole vibe check, bestie β go dump some kinect data and be the main character of your own runloop π
libfreenect Β· 2012-01-29 β sending u love from the libfreenect manual, periodt π«Άπ
π¦ where this page comes from
- epel 9: libfreenect-fakenect 0.6.4-1.el9 Β· ASL 2.0 and (GPLv2 or ASL 2.0)
- fedora 43: libfreenect-fakenect 0.7.0-16.fc43 Β· Apache-2.0 AND (GPL-2.0-only OR Apache-2.0)
- fedora 43: libfreenect-fakenect 0.7.0-16.fc43 Β· Apache-2.0 AND (GPL-2.0-only OR Apache-2.0)
- fedora 43: libfreenect-fakenect 0.7.5-4.fc43 Β· Apache-2.0 AND (GPL-2.0-only OR Apache-2.0) AND MIT AND BSD-2-Clause
- fedora 44: libfreenect-fakenect 0.7.5-6.fc44 Β· Apache-2.0 AND (GPL-2.0-only OR Apache-2.0) AND MIT AND BSD-2-Clause
- fedora 44: libfreenect-fakenect 0.7.5-7.fc44 Β· Apache-2.0 AND (GPL-2.0-only OR Apache-2.0) AND MIT AND BSD-2-Clause
- nixos 26.05: freenect 0.7.5
- nixpkgs unstable: freenect 0.7.5
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms