Skip to content

Commit

Permalink
Document JPEG streams (#2586)
Browse files Browse the repository at this point in the history
* Document JPEG streams

* Update camera_specific.md
  • Loading branch information
alexyao2015 committed Feb 2, 2022
1 parent bb68a24 commit a2d1bd2
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions docs/docs/configuration/camera_specific.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,34 @@ output_args:
rtmp: -c:v libx264 -an -f flv
```

### JPEG Stream Cameras

Cameras using a live changing jpeg image will need input parameters as below

```yaml
input_args:
- -r
- 5 # << enter FPS here
- -stream_loop
- -1
- -f
- image2
- -avoid_negative_ts
- make_zero
- -fflags
- nobuffer
- -flags
- low_delay
- -strict
- experimental
- -fflags
- +genpts+discardcorrupt
- -use_wallclock_as_timestamps
- 1
```

Outputting the stream will have the same args and caveats as per [MJPEG Cameras](#mjpeg-cameras)

### RTMP Cameras

The input parameters need to be adjusted for RTMP cameras
Expand Down

0 comments on commit a2d1bd2

Please sign in to comment.