添加定时删除功能
This commit is contained in:
parent
f0b4b85dec
commit
f16a17d918
|
|
@ -122,11 +122,11 @@ public class ProcessService {
|
|||
ffmpeg+ " -i %s -vf fps=1 -frames:v 1 -q:v 2 %s",
|
||||
streamUrl, outFileName);
|
||||
|
||||
|
||||
// -rw_timeout 5
|
||||
|
||||
List<String> listCommand = new ArrayList<>();
|
||||
listCommand.add(ffmpeg); // ffmpeg 路径
|
||||
listCommand.add("-i");
|
||||
listCommand.add(" -timeout 3000000 -rw_timeout 5000000 -i ");
|
||||
listCommand.add(streamUrl); // 流地址
|
||||
listCommand.add("-vf");
|
||||
listCommand.add("fps=1");
|
||||
|
|
|
|||
Loading…
Reference in New Issue