1. Inicjalizacja modułu kamerki
sudo modprobe bcm2835-v4l2
mozna zapisc do /etc/modules linię: bcm2835-v4l2
2. Test strumienia
gst-launch-1.0 v4l2src ! video/x-raw-yuv,width=128,height=96,format='(fourcc)’UYVY ! videoconvert ! ffenc_h263 ! video/x-h263 ! rtph263ppay pt=96 ! udpsink host=192.168.1.1 port=5000 sync=false
gst-launch-1.0 v4l2src ! video/x-raw-yuv,width=128,height=96,format='(fourcc)’UYVY ! videoconvert ! ffenc_h263 ! video/x-h263 ! rtph263ppay pt=96 ! udpsink host=192.168.0.223 port=5000 sync=false
GST_DEBUG=3 gst-launch-1.0 -v rpicamsrc preview=false bitrate=2000000 keyframe-interval=15 ! video/x-h264, framerate=15/1 ! h264parse ! fakesink silent=false
gst-launch-1.0 rtspsrc location=”rtsp://piaddress:8554/test” latency=0 ! rtph264depay ! decodebin ! videoconvert ! ximagesink