motion-detect/README.md

15 lines
438 B
Markdown
Raw Permalink Normal View History

2019-05-11 21:33:25 +00:00
To stream from h264 hardware encoder accelerated USB webcam:
2019-05-11 21:34:35 +00:00
```bash
gst-launch-1.0 -v v4l2src device=/dev/video2 \
2019-05-11 21:33:25 +00:00
! 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
2019-05-11 21:34:35 +00:00
```
2019-05-11 21:33:25 +00:00
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