Skip to content

Commit

Permalink
chron: 优化获取视频封面
Browse files Browse the repository at this point in the history
  • Loading branch information
jamebal committed May 3, 2024
1 parent 431bda9 commit 0873e2c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ private static ProcessBuilder getVideoCoverProcessBuilder(String videoPath, Stri
"-y",
"-ss", formattedTimestamp,
"-i", videoPath,
"-vf", "\"scale='min(320,iw)':-1\"",
"-vf", "scale='min(320,iw)':-1",
"-frames:v", "1",
outputPath
);
Expand Down

0 comments on commit 0873e2c

Please sign in to comment.