mirror of
https://github.com/Luzifer/cam2mjpeg.git
synced 2024-11-08 13:40:04 +00:00
Add nobuffer flag
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
8c836c3b21
commit
0107f4b8b8
1 changed files with 1 additions and 0 deletions
1
main.go
1
main.go
|
@ -73,6 +73,7 @@ func main() {
|
|||
"-s", fmt.Sprintf("%dx%d", cfg.Width, cfg.Height),
|
||||
"-r", strconv.Itoa(cfg.FrameRate),
|
||||
"-i", cfg.Device,
|
||||
"-fflags", "nobuffer",
|
||||
"-c:v", "mjpeg",
|
||||
"-q:v", strconv.Itoa(cfg.Quality),
|
||||
"-boundary_tag", "ffmpeg",
|
||||
|
|
Loading…
Reference in a new issue