add jpeg encoder

This commit is contained in:
Dmitry Fedotov
2025-03-26 22:11:52 +03:00
parent d72540d0c3
commit b5df6e8c39
3 changed files with 20 additions and 4 deletions

View File

@@ -11,6 +11,8 @@ import (
var erreEncodeVideo = errors.New("не удалось создать видео")
func createBarnsLeyFernVideo(s *settings, w io.Writer) error {
s.OM = outputjpeg
opts := &vid.Options{
FPS: 1,
Quality: 0,