libav: disable logging

This commit is contained in:
stefanodvx 2025-04-18 01:10:59 +02:00
parent 88e9bef29e
commit ea1451cb97
3 changed files with 6 additions and 0 deletions

View file

@ -11,6 +11,8 @@ import (
)
func ExtractVideoThumbnail(videoPath string, imagePath string) error {
astiav.SetLogLevel(astiav.LogLevelQuiet)
formatCtx := astiav.AllocFormatContext()
defer formatCtx.Free()