Fix README

This commit is contained in:
Lauri Võsandi 2019-05-12 00:34:35 +03:00
parent 9ef231d582
commit 27485318d3
1 changed files with 3 additions and 1 deletions

View File

@ -1,9 +1,11 @@
To stream from h264 hardware encoder accelerated USB webcam:
gst-launch-1.0 -v v4l2src device=/dev/video2 \
```bash
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