Skip to content

Commit

Permalink
Doc Update: Added "-c:v mjpeg" to MJPEG Cameras input_agrs in order t…
Browse files Browse the repository at this point in the history
…o make a video stream work that comes from an ESP32-cam using ESPHome standard software (#4171)
  • Loading branch information
MariusMueller committed Oct 25, 2022
1 parent 2eada21 commit 86268b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/docs/configuration/camera_specific.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ title: Camera Specific Configurations
The input and output parameters need to be adjusted for MJPEG cameras

```yaml
input_args: -avoid_negative_ts make_zero -fflags nobuffer -flags low_delay -strict experimental -fflags +genpts+discardcorrupt -use_wallclock_as_timestamps 1
input_args: -avoid_negative_ts make_zero -fflags nobuffer -flags low_delay -strict experimental -fflags +genpts+discardcorrupt -use_wallclock_as_timestamps 1 -c:v mjpeg
```
Note that mjpeg cameras require encoding the video into h264 for recording, and rtmp roles. This will use significantly more CPU than if the cameras supported h264 feeds directly.
Expand Down

0 comments on commit 86268b9

Please sign in to comment.