stream¶
mio stream¶
Command group for StreamDaq
Usage
mio stream [OPTIONS] COMMAND [ARGS]...
binary¶
Stream just the binary data output from a special BinaryDaq class.
Used to generate test data, should probably be removed from main CLI once streamdaq is more reasonably divided into subcomponents.
Usage
mio stream binary [OPTIONS]
Options
- -c, --device_config <device_config>¶
Required Either a config id or a path to device config YAML file for streamDaq. If you aren’t using id you can ignore them.(see models.stream.StreamDevConfig). If path is relative, treated as relative to the current directory, and then if no matching file is found, relative to the user config_dir (see mio config –help).
- -o, --output <output>¶
Path to output binary output
capture¶
Capture video from a StreamDaq device, optionally saving as an encoded video or as raw binary
Usage
mio stream capture [OPTIONS]
Options
- -c, --device_config <device_config>¶
Required Either a config id or a path to device config YAML file for streamDaq. If you aren’t using id you can ignore them.(see models.stream.StreamDevConfig). If path is relative, treated as relative to the current directory, and then if no matching file is found, relative to the user config_dir (see mio config –help).
- -m, --metadata_display¶
Display metadata in real time. WARNING: This is still an EXPERIMENTAL feature and is UNSTABLE.
- -b, --binary_export¶
Save binary to a .bin file
- --no-display¶
Don’t show video in real time
- -ok, --output-kwarg <okwarg>¶
Output kwargs (passed to StreamDaq.init_video). passed as (potentially multiple) calls like
mio stream capture -ok key1 val1 -ok key2 val2
- -o, --output <output>¶
Output file basename for video, metadata, and binary exports
- -d, --device <device>¶
- Options:
streamdaq | gs
test¶
Run StreamDaq in testing mode, using the okDevMock rather than the actual device
Usage
mio stream test [OPTIONS]
Options
- -c, --device_config <device_config>¶
Required Either a config id or a path to device config YAML file for streamDaq. If you aren’t using id you can ignore them.(see models.stream.StreamDevConfig). If path is relative, treated as relative to the current directory, and then if no matching file is found, relative to the user config_dir (see mio config –help).
- -s, --source <source>¶
Required Path to RAW FPGA data to plug into okDevMock
- -p, --profile¶
Run with profiler (not implemented yet)
- -m, --metadata_display¶
Display metadata in real time. WARNING: This is still an EXPERIMENTAL feature and is UNSTABLE.
- -b, --binary_export¶
Save binary to a .bin file
- --no-display¶
Don’t show video in real time
- -ok, --output-kwarg <okwarg>¶
Output kwargs (passed to StreamDaq.init_video). passed as (potentially multiple) calls like
mio stream capture -ok key1 val1 -ok key2 val2
- -o, --output <output>¶
Output file basename for video, metadata, and binary exports