|
| 1 | +.TH FAKENECT-RECORD 1 2012-01-29 "libfreenect" "libfreenect manual" |
| 2 | +.SH NAME |
| 3 | +fakenect-record - program to save dumps from kinect to file |
| 4 | +.SH SYNOPSIS |
| 5 | +.SY fakenect-record |
| 6 | +.OP \-h |
| 7 | +.OP \-ffmpeg |
| 8 | +.OP \-ffmpeg-opts \fIoptions\fP |
| 9 | +.I outputdir |
| 10 | +.br |
| 11 | +.SH DESCRIPTION |
| 12 | +.LP |
| 13 | +\fBfakenect-record\fP dumps the output of the kinect in \fIoutputdir\fP |
| 14 | +folder. It saves the acceleration, depth, and rgb data as individual files |
| 15 | +with names in the form "TYPE-CURRENTIME-TIMESTAMP" where: |
| 16 | +.IP " *" 3 |
| 17 | +TYPE is either (a)ccel, (d)epth, or (r)gb |
| 18 | +.IP " *" 3 |
| 19 | +TIMESTAMP corresponds to the timestamp associated with the observation (or |
| 20 | +in the case of accel, the last timestamp seen) |
| 21 | +.IP " *" 3 |
| 22 | +CURRENTTIME corresponds to a floating point version of the time in seconds. |
| 23 | +.LP |
| 24 | +The purpose of storing the current time is so that delays can |
| 25 | +be 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 (just |
| 27 | +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 used, |
| 29 | +with the rest left undefined (extension, extra info, etc). |
| 30 | +.LP |
| 31 | +A file called INDEX.txt is also output with all of the filenames local to |
| 32 | +that directory to simplify the format (e.g., no need to read the directory |
| 33 | +structure). |
| 34 | +.LP |
| 35 | +Once started, the program will continue to acquire data from the kinect. |
| 36 | +When you want to stop it, hit Ctrl-C and the signal will be caught, runloop |
| 37 | +stopped, and everything will be stored cleanly. |
| 38 | +.SH OPTIONS |
| 39 | +.TP |
| 40 | +.B \-ffmpeg |
| 41 | +If present, send the the video stream to ffmpeg |
| 42 | +. |
| 43 | +.TP |
| 44 | +.B \-ffmpeg-opts \fIoptions\fP |
| 45 | +When using ffmpeg, specify the options to be used with it. If unspecified, |
| 46 | +it will use the options "\-aspect 4:3 \-r 20 \-vcodec msmpeg4 \-b 30000k" |
| 47 | +. |
| 48 | +.TP |
| 49 | +.B \-h |
| 50 | +Display the command-line help |
| 51 | +.SH "SEE ALSO" |
| 52 | +.BR fakenect (1) |
| 53 | + |
0 commit comments