Archives de catégorie : raspberry camera

Overlaying telemetry text on video before Wifibroadcast

Overlaying telemetry text on video before Wifibroadcast

Update code here :
Github here :github/MyPiDrone/MyPiModule

    • (1) Here a python sample with a named pipe and command execution with tx :
       mkfifo /tmp/MyPiCamera.pipein
      ./ | tee $VIDEO | ./tx  -p $PORT -b $BLOCK_SIZE -r $FECS -f $PACKET_LENGTH $WLAN 1>/dev/null 2>&1 &
      sleep 3
      echo 'My telemetry text' > /tmp/MyPiCamera.pipein

      or with gstreamer:
      mkfifo /tmp/MyPiCamera.pipein
      ./ | gst-launch-1.0 -v fdsrc ! h264parse ! rtph264pay config-interval=10 pt=96 ! udpsink port=5000 host= >/dev/null 2>&1 &
      sleep 3
      echo 'Welcome PiCamera' > /tmp/MyPiCamera.pipein
  • (2) and myvideo.service not used anymore

Data transport diagram :


MyPiModule radio functions :


Demos videos :

File recorded on SD card :

Sample Photo snapshot (to Zoom click on here):


Roll Sample :

Pitch and Roll sample :