Add -nostdin to ffmpeg preview conversions to suppress keyboard prompts
This commit is contained in:
@@ -218,6 +218,8 @@ def _image_via_ffmpeg(path: Path, maxsize: int, quality: int) -> bytes:
|
||||
"-loglevel",
|
||||
"error",
|
||||
"-nostats",
|
||||
# No interactive keyboard prompts ("Press [q] to stop ...").
|
||||
"-nostdin",
|
||||
"-y",
|
||||
"-i",
|
||||
str(path),
|
||||
|
||||
Reference in New Issue
Block a user