|
@@ -34,7 +34,7 @@ public class VideoTool {
|
|
|
|
|
|
//每秒多少帧
|
|
|
int framRate = 1;
|
|
|
- String cmd = ffmpegPath + " -y -i " + videoFilePath + " -r " + framRate + " " + saveTmpDir + "%08d.jpg";
|
|
|
+ String cmd = ffmpegPath + " -y -i " + videoFilePath + " -r " + framRate + " " + saveTmpDir + "/%08d.jpg";
|
|
|
|
|
|
log.info("start fetchAllPic:" + cmd);
|
|
|
Runtime.getRuntime().exec(cmd);
|