Difference between revisions of "Explorer/RaspberryPi/Visualprocessing/Motionvector/Run"

From PaparazziUAV
Jump to navigation Jump to search
Line 1: Line 1:


  rm /tmp/camera*;/home/pi/RaspiCV/build/raspicv -t 0 -w 640 -h 480 -fps 30/1 -b 3000000 -g 5 -vf -hf -cd H264 -n -fl -ih -x /dev/null -r /dev/null -rf gray -o - |   gst-launch-1.0 fdsrc   ! h264parse   ! video/x-h264,stream-format=byte-stream ! udpsink host=127.0.0.1 port=5100
  rm /tmp/camera*;/home/pi/RaspiCV/build/raspicv -t 0 -w 640 -h 480 -fps 30/1 -b 3000000 -g 5 -vf -hf -cd H264 -n -fl -ih -x /dev/null -r /dev/null -rf gray -o - \
 
  | gst-launch-1.0 fdsrc \
gst-rtsp-server-1.14.4/examples/test-launch  \
    ! h264parse \
> "udpsrc port=5100 do-timestamp=true ! video/x-h264,stream-format=byte-stream,alignment=au ! rtph264pay name=pay0 pt=96 config-interval=1" \
    ! video/x-h264,stream-format=byte-stream \
> "shmsrc socket-path=/tmp/camera3 do-timestamp=true ! video/x-raw, format=I420, width=640, height=480, framerate=30/1 ! omxh264enc ! video/x-h264,profile=high  ! rtph264pay name=pay0 pt=96 config-interval=1"
    ! udpsink host=127.0.0.1 port=5100
stream ready at rtsp://127.0.0.1:8554/test


gst-rtsp-server-1.14.4/examples/test-launch  \
  "udpsrc port=5100 do-timestamp=true ! video/x-h264,stream-format=byte-stream,alignment=au ! rtph264pay name=pay0 pt=96 config-interval=1" \
  "shmsrc socket-path=/tmp/camera3 do-timestamp=true ! video/x-raw, format=I420, width=640, height=480, framerate=30/1 ! omxh264enc ! video/x-h264,profile=high ! rtph264pay name=pay0 pt=96 config-interval=1"


client<br />
client<br />
gst-launch-1.0 rtspsrc location=rtsp://RASPBERRYPI_IP:8554/test ! rtph264depay ! avdec_h264 !  xvimagesink sync=false
gst-launch-1.0 rtspsrc location=rtsp://RASPBERRYPI_IP:8554/test ! rtph264depay ! avdec_h264 !  xvimagesink sync=false
gst-launch-1.0 rtspsrc location=rtsp://RASPBERRYPI_IP:8554/test2 ! rtph264depay ! avdec_h264 !  xvimagesink sync=false






[[Explorer/RaspberryPi/Visualprocessing]]
[[Explorer/RaspberryPi/Visualprocessing]]

Revision as of 02:51, 29 June 2020

rm /tmp/camera*;/home/pi/RaspiCV/build/raspicv -t 0 -w 640 -h 480 -fps 30/1 -b 3000000 -g 5 -vf -hf -cd H264 -n -fl -ih -x /dev/null -r /dev/null -rf gray -o - \
  | gst-launch-1.0 fdsrc \
    ! h264parse \
    ! video/x-h264,stream-format=byte-stream \
    ! udpsink host=127.0.0.1 port=5100
gst-rtsp-server-1.14.4/examples/test-launch  \
  "udpsrc port=5100 do-timestamp=true ! video/x-h264,stream-format=byte-stream,alignment=au ! rtph264pay name=pay0 pt=96 config-interval=1" \
  "shmsrc socket-path=/tmp/camera3 do-timestamp=true ! video/x-raw, format=I420, width=640, height=480, framerate=30/1 ! omxh264enc ! video/x-h264,profile=high ! rtph264pay name=pay0 pt=96 config-interval=1"

client
gst-launch-1.0 rtspsrc location=rtsp://RASPBERRYPI_IP:8554/test ! rtph264depay ! avdec_h264 ! xvimagesink sync=false gst-launch-1.0 rtspsrc location=rtsp://RASPBERRYPI_IP:8554/test2 ! rtph264depay ! avdec_h264 ! xvimagesink sync=false


Explorer/RaspberryPi/Visualprocessing