Two-way video for Raspberry Pi
Copy start-sending.sh to /home/pi.
Create /home/pi/send.sh:
(cd src/PiToPiVideo/ && SRC_IP=192.168.0.100 ./start-sending.sh)
Use this machine's IP address.
Add to .config/lxsession/LXDE-pi/autostart:
@./send.sh
Copy start-receiving.sh to /home/pi.
Create /home/pi/receive.sh:
(cd src/PiToPiVideo/ && SRC_IP=192.168.0.100 ./start-receiving.sh)
Use the sending machine's IP address.
Add to .config/lxsession/LXDE-pi/autostart:
@./receive.sh
Add this before the sink to scale the image to the screen size if the size of the stream doesn't match:
videoscale ! video/x-raw,width=1080,height=720 !
Scaling reduces the framerate significantly.
TODO
Needs X.
Framebuffer version. Doesn't need X.
Uses glimagesink.
Fails because of missing font.
Nice ASCII effect, but very slow.
No Xv port available.
Cannot be used effectively with gst-launch.
Depends on Wayland.