Posts

Showing posts from February, 2017

Raspberry pi zero and pi3 gstreamer streaming without latency

pi@raspberrypi : ~ $  more stream_working.sh  raspivid -t 0 -w 1280 -h 720 -fps 30 -vf -b 1700000 -o - |   tee YOURFILENAME.h264  |  gst-launch-1.0 -v fdsrc ! h264parse config-interval=1 ! rtph264pay ! udpsink host = TARGET_IP(here is my macbook) port= 9000 sertac-MacBook-Air:~ sertac$ more get_stream_working.sh  gst-launch-1.0 udpsrc port=9000 ! application/x-rtp,encoding- name=H264,payload=96 ! rtph264depay ! avdec_h264 ! videoconvert ! autovideosink here above you can find gstreamer commands to stream live HD video from raspberry pi and save it file at the same time it is working on pi3 almost no latency but pi zero could not be fast enough for this process I saw at least 45 seconds delay