1FAKENECT-RECORD(1) libfreenect manual FAKENECT-RECORD(1)
2
3
4
6 fakenect-record - program to save dumps from kinect to file
7
9 fakenect-record [-h] [-ffmpeg] [-ffmpeg-opts options] outputdir
10
12 fakenect-record dumps the output of the kinect in outputdir folder. It
13 saves the acceleration, depth, and rgb data as individual files with
14 names in the form "TYPE-CURRENTIME-TIMESTAMP" where:
15
16 * TYPE is either (a)ccel, (d)epth, or (r)gb
17
18 * TIMESTAMP corresponds to the timestamp associated with the
19 observation (or in the case of accel, the last timestamp seen)
20
21 * CURRENTTIME corresponds to a floating point version of the time in
22 seconds.
23
24 The purpose of storing the current time is so that delays can be
25 recreated exactly as they occurred. For RGB and DEPTH the dump is just
26 the entirety of the data provided in PPM and PGM formats respectively
27 (just a 1 line header above the raw dump). For ACCEL, the dump is the
28 "freenect_raw_tilt_state". Only the front part of the file name is
29 used, with the rest left undefined (extension, extra info, etc).
30
31 A file called INDEX.txt is also output with all of the filenames local
32 to that directory to simplify the format (e.g., no need to read the
33 directory structure).
34
35 Once started, the program will continue to acquire data from the
36 kinect. When you want to stop it, hit Ctrl-C and the signal will be
37 caught, runloop stopped, and everything will be stored cleanly.
38
40 -ffmpeg
41 If present, send the the video stream to ffmpeg
42
43 -ffmpeg-opts options
44 When using ffmpeg, specify the options to be used with it. If
45 unspecified, it will use the options "-aspect 4:3 -r 20 -vcodec
46 msmpeg4 -b 30000k"
47
48 -h Display the command-line help
49
51 fakenect(1)
52
53
54
55
56libfreenect 2012-01-29 FAKENECT-RECORD(1)