motion-detect/README.md
2019-05-12 00:34:35 +03:00

438 B

To stream from h264 hardware encoder accelerated USB webcam:

gst-launch-1.0 -v v4l2src device=/dev/video2 \
    ! capsfilter caps="video/x-h264, width=1280, height=720, framerate=20/1" \
    ! rtph264pay config-interval=10 pt=96 \
    ! udpsink host=1.2.3.4 port=5000

Run server.py on 1.2.3.4

Files are written to currect directory

For video feed open: http://localhost:6001/?frameskip=5&subsampling=4&quality=50&thumbs=0