Fix README
This commit is contained in:
parent
9ef231d582
commit
27485318d3
@ -1,9 +1,11 @@
|
|||||||
To stream from h264 hardware encoder accelerated USB webcam:
|
To stream from h264 hardware encoder accelerated USB webcam:
|
||||||
|
|
||||||
|
```bash
|
||||||
gst-launch-1.0 -v v4l2src device=/dev/video2 \
|
gst-launch-1.0 -v v4l2src device=/dev/video2 \
|
||||||
! capsfilter caps="video/x-h264, width=1280, height=720, framerate=20/1" \
|
! capsfilter caps="video/x-h264, width=1280, height=720, framerate=20/1" \
|
||||||
! rtph264pay config-interval=10 pt=96 \
|
! rtph264pay config-interval=10 pt=96 \
|
||||||
! udpsink host=1.2.3.4 port=5000
|
! udpsink host=1.2.3.4 port=5000
|
||||||
|
```
|
||||||
|
|
||||||
Run server.py on 1.2.3.4
|
Run server.py on 1.2.3.4
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user