- Video and Microphone streaming over UDP and TCP
TX (RPi)gst-launch -v v4l2src ! ffmpegcolorspace ! videoscale method=1 ! video/x-raw-yuv, width=320, height=240, framerate=15/1 ! jpegenc quality=10 ! udpsink host=x.x.x.x port=5000 alsasrc device=hw:1 ! queue ! audioconvert ! speexenc ! queue ! tcpserversink host=x.x.x.x port=5001
RX (Ubuntu on Pandaboard ES)gst-launch udpsrc port=5000 ! jpegenc ! ffmpegcolorspace ! autovideosink gst-launch tcpclientsrc host=x.x.x.x port=5001 ! sppxdec ! volume volume=10 ! alsasink
(Note1: do not know why, but autoaudiosink was unstable... Audio stopped working after a few seconds...)(Note2: TX host IP address should be receiver/Pandaboard IP address, and RX host IP address should be transmitter/RPi IP address.)
Best Raspberry PI Kit (Recommended!)
Hardware:
Raspberry Pi
PS3 Eye
EW-7781Uh WiFi dongle
Ubuntu machine (Pandaboard ES)
Summary:
Video and microphone streaming over UDP was tested usin PS3 eye camera.
Jpecenc and Speexenc was used for video and audio encoder, respectively.
The audio latency was not so great (~1 sec), but video was reasonable (< 1 sec).
RPi CPU usage was about 98% (top command)
Reference: