OK3568 4.19.206 Buildroot Webcam Stream: Pull then Push to Virtual Machine

Document classification: □ Top secret □ Secret □ Internal information ■ Open

Webcam Stream: Pull then Push to Virtual Machine

  1. vi /etc/network/interfaces

  2. Execute at the board gst-launch-1.0 rtspsrc location=rtsp://admin:haikang1105@192.168.1.45:554/test ! udpsink host=172.16.0.173 port=8554 sync=false push the video stream to the virtual machine.

  3. The virtual machine executes gst-launch-1.0 udpsrc uri=udp://172.16.0.173:8554 ! application/x-rtp, media=video, clock-rate=90000,encoding-name=H264, payload=96 ! rtph264depay ! h264parse ! avdec_h264 ! videoconvert ! videoscale ! autovideosink sync=false just pull the stream.