mirror of
https://github.com/thsrite/MoviePilot-Plugins.git
synced 2026-05-30 07:26:45 +00:00
fix 图片比例
This commit is contained in:
@@ -365,7 +365,7 @@ class ShortPlayMonitor(_PluginBase):
|
||||
frames = "00:00:20"
|
||||
if not video_path or not image_path:
|
||||
return False
|
||||
cmd = 'ffmpeg -y -i "{video_path}" -ss {frames} -frames 1 -vf "scale={cover_conf}" -f image2 "{image_path}"'.format(
|
||||
cmd = 'ffmpeg -y -i "{video_path}" -ss {frames} -frames 1 -vf "scale={cover_conf}" "{image_path}"'.format(
|
||||
video_path=video_path,
|
||||
frames=frames,
|
||||
cover_conf=cover_conf,
|
||||
|
||||
Reference in New Issue
Block a user