1FFMONGODB-SAVE-IMG(1) Fawkes Manual FFMONGODB-SAVE-IMG(1)
2
3
4
6 ffmongodb-save-imgs - Save PNG files from database images
7
9 ffmongodb-save-imgs [-h] [-o dir] [-f] [-d database] -c <collection> items...
10
12 This program connects to a local MongoDB database and extracts raw RGB
13 images from a collection (typically recorded via the mongodb-log
14 plugin), and stores them as a series of PNG images.
15
17 -h
18 Show help instructions.
19
20 -o directory
21 Write PNG images to the given output directory.
22
23 -f
24 Use the filenames as stored in the database. If not given the
25 images will be saved as a numbered sequence of the form 00000001,
26 00000002 etc.
27
28 -d database
29 Name of the database to read from.
30
31 -c collection
32 Name of the collection to read from.
33
34 items
35 Timestamps and time ranges for which to extract the images.
36 Timestamps are given as the time since the epoch in milisecond
37 precision. If two timestamps are given concatenated by ".." they
38 are treated as start and end times of a time range.
39
41 You can generate videos from an image sequence for example using a
42 command like this:
43
44 ffmpeg -r 24 -b:v 500000 -i openni-image-rgb-%08d.png video.mp4
45 Create video.mp4 with 24fps at a bit rate of 500kbit from images of
46 the given name pattern. Note that for older ffmpeg version the
47 bitrate must be specified with just -b.
48
50 ffmongodb-save-imgs -c openni_image_rgb 0..1355421345807
51 Extract all images until 1355421345807.
52
54 fawkes(8)
55
57 Written by Tim Niemueller <niemueller@kbsg.rwth-aachen.de>
58
60 Documentation by Tim Niemueller <niemueller@kbsg.rwth-aachen.de>
61
63 Part of the Fawkes Robot Software Framework. Project website is at
64 http://www.fawkesrobotics.org
65
66
67
68Fawkes 1.0.1 07/13/2018 FFMONGODB-SAVE-IMG(1)