Skip to content

Commit

Permalink
thumbnails: q:v quality flag (#1340)
Browse files Browse the repository at this point in the history
* thumbnails: q:v quality flag

* update
  • Loading branch information
gioelecerati authored Jul 23, 2024
1 parent 790de60 commit 84f876d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions thumbnails/thumbnails.go
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,8 @@ func processSegment(input string, thumbOut string) error {
"vframes": "1",
// video filter to resize
"vf": fmt.Sprintf("scale=%s:force_original_aspect_ratio=decrease", resolution),
// set quality
"q:v": "2",
},
).OverWriteOutput().WithErrorOutput(&ffmpegErr).Run()
}, clients.DownloadRetryBackoff())
Expand Down

0 comments on commit 84f876d

Please sign in to comment.