wuqiyang 3e9b34d9a4 | ||
---|---|---|
.. | ||
CMakeLists.txt | ||
README.md | ||
output_zmqserver.c | ||
output_zmqserver.h | ||
package.proto |
README.md
mjpg-streamer output plugin: output_zmqserver
This plugin streams out the video data via ZeroMQ serialized as Protobuf data.
Please take a look at the protobuf definition for more details about the message format: package.proto
You must have libzmq-dev and libprobot-c0-dev installed (or similar) in order for this plugin to be compiled & installed.
On debian you need following libraries:
sudo apt-get install libzmq4-dev libprotobuf-dev libprotobuf-c0-dev protobuf-c-compiler
Usage
mjpg_streamer [input plugin options] -o 'output_zmqserver.so --address [zmq-uri] --buffer_size [output ring buffer size]'
Examples
The plugin was created for Machinekit and QtQuickVcp.
You can find the Qt/QML counterpart here: videoview
Additionally, Machinekit contains a tool that wraps mjpg-streamer and the plugin invokation: videoserver