Skip to content

milk-org/gstImageStreamIO

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gstImageStreamIO plugin

installation

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

gstImageStreamIOsrc element

standalone application:

./gstimageStreamIOsrc_main imtest00
ImageStreamIO producer: ~/workspace/greenflash/octopus/tplib/ImageStreamIO/a.out

using 264 needs gst-plugins-ugly

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 

using 263 needs gst-plugins-good (low quality)

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 

using vp8 needs gst-plugins-good (high CPU consumption)

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

Applications

server

./gstimageStreamIOsrc_server imtest00 127.0.0.1 5000

client (not working)

./gstimageStreamIOsrc_client 127.0.0.1 5000

to stream to VLC

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

About

ImageStreamIO Gstreamer plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published