0

Goal

I'm working on a project with modules. A module contains for example a Raspberry Pi and some additional hardware.

What I'm currently trying to do is using the camera of Pi A as input and stream this with low latency to Pi B. So that I will be able to see it in a window.

The connection must go over ethernet (I have Gigabit switches available)

My solution

I found something called Gstreamer. By entering commands in the terminal you can send or receive a specific stream with latencies up to 30ms!

Problem

The documentation is not so understandable and I tried a lot of tutorials but I just can't get it working. Could somebody give me an example or a clear explenation of how gstreamer works?

1
  • 1
    so, what have you tried? – Jaromanda X Feb 28 at 22:00
0

I found a usefull tutorial that gives some examples: Here

Transmitter:

gst-launch-1.0 -v ximagesrc use-damage=false xname=/usr/lib/torcs/torcs-bin ! videoconvert ! videoscale ! video/x-raw,format=I420,width=800,height=600,framerate=25/1 ! jpegenc ! rtpjpegpay ! udpsink host=127.0.0.1 port=5000

Receiver:

gst-launch-1.0 udpsrc port=5000 ! application/x-rtp,encoding-name=JPEG,payload=26 ! rtpjpegdepay ! jpegdec ! autovideosink

Not the answer you're looking for? Browse other questions tagged or ask your own question.