1
0
Fork 0

overwrite file

This commit is contained in:
Chris 2019-03-21 23:29:16 +01:00
parent 29a48642ac
commit 46c917428b
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ while(true)
file_put_contents($imageFileName, file_get_contents($previewURL, false, $globalData['sslContext']));
echo "done\n";
system("ffmpeg -f image2 -framerate 2 -i /data/images/%07d.jpg -r 25 -vcodec libx264 /data/images/video.mp4");
system("ffmpeg -f image2 -framerate 2 -i /data/images/%07d.jpg -r 25 -vcodec libx264 -y /data/images/video.mp4");
sleep(300);
}