diff options
author | Guy Sheffer <guysoft@gmail.com> | 2021-11-08 08:04:27 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-08 08:04:27 +0300 |
commit | 718790b8f4a607ddb23c4589c7672f71139200f0 (patch) | |
tree | bebfa8b87a5afec1ac6f11cfe656589c0268a29f | |
parent | 588373dbb3a2c2ca554041e37152c5282f4cce57 (diff) | |
parent | b1f84495640c76cd23a633ed4e7a359b1c3faf2e (diff) |
Merge pull request #755 from rastapasta/ffmpeg-improvement
[Improvement] When using HLS camera streamer, generate frame snapshot only once a second
-rw-r--r-- | src/modules/octopi/filesystem/root/etc/systemd/system/ffmpeg_hls.service | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/octopi/filesystem/root/etc/systemd/system/ffmpeg_hls.service b/src/modules/octopi/filesystem/root/etc/systemd/system/ffmpeg_hls.service index 15a8da2..2b15d8d 100644 --- a/src/modules/octopi/filesystem/root/etc/systemd/system/ffmpeg_hls.service +++ b/src/modules/octopi/filesystem/root/etc/systemd/system/ffmpeg_hls.service @@ -25,7 +25,7 @@ ExecStart=/usr/bin/sudo -u webcam \ -pix_fmt yuv420p \ \ -c:v mjpeg -q:v 0 \ - -f image2 -update 1 -atomic_writing 1 \ + -f image2 -r 1 -update 1 -atomic_writing 1 \ /run/webcam/jpeg/frame.jpg \ \ -c:v h264_omx -profile:v high \ |