git clone https://github.com/milk-org/gstImageStreamIO.git
cd gstImageStreamIO
mkdir build
cd build
cmake ..
make
sudo cp libgstimageStreamIO.so /usr/lib/gstreamer-1.0/
NB: /usr/lib/gstreamer-1.0/ can be changed where your gstreamer plugins are installed.
You can use --gst-plugin-path= flag to avoid the copy in your system.
You can also use GST_PLUGIN_PATH or GST_PLUGIN_PATH_1_0 environment vairables
standalone application:
./gstimageStreamIOsrc_main imtest00
ImageStreamIO producer: ~/workspace/greenflash/octopus/tplib/ImageStreamIO/a.out
UDP server:
gst-launch-1.0 imageStreamIOsrc shm-name=imtest00 ! videoconvert ! x264enc tune=zerolatency bitrate=500 speed-preset=superfast ! rtph264pay ! udpsink host=127.0.0.1 port=5000 sync=false
UDP client:
gst-launch-1.0 udpsrc address=127.0.0.1 port=5000 caps="application/x-rtp" ! rtph264depay ! decodebin ! videoconvert ! autovideosink
UDP server:
gst-launch-1.0 imageStreamIOsrc shm-name=imtest00 ! videoconvert ! avenc_h263p ! rtph263ppay ! udpsink host=127.0.0.1 port=5000
UDP client:
gst-launch-1.0 udpsrc address=127.0.0.1 port=5000 caps="application/x-rtp" ! rtph264depay ! decodebin ! videoconvert ! autovideosink
UDP server:
gst-launch-1.0 imageStreamIOsrc shm-name=imtest00 ! videoconvert ! vp8enc ! rtpvp8pay ! udpsink host=127.0.0.1 port=5000
UDP client:
gst-launch-1.0 udpsrc address=127.0.0.1 port=5000 caps="application/x-rtp" ! rtpvp8depay ! decodebin ! videoconvert ! autovideosink
./gstimageStreamIOsrc_server imtest00 127.0.0.1 5000
./gstimageStreamIOsrc_client 127.0.0.1 5000
gst-launch-1.0 imageStreamIOsrc shm-name=sevin_toto ! videoconvert ! x264enc tune=zerolatency bitrate=500 speed-preset=superfast ! h264parse ! rtph264pay pt=96 ! udpsink host=127.0.0.1 port=5000 sync=false
cvlc stream.sdp