FAKENECT-RECORD(1)

πŸ“¦
version 0.7.5 Β· 2 versions
, in epel 9, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable

πŸ’– 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:

  • TYPE is either (a)ccel, (d)epth, or (r)gb
  • TIMESTAMP is the timestamp associated with the observation (or, in the case of accel, the last timestamp seen)
  • CURRENTTIME is 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 to ffmpeg (yes bestie, "the the", I said what I said πŸ’€)
  • -ffmpeg-opts options β€” 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 🌈

fakenect(1)


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