1
0
Fork 0

set to 3 fps

This commit is contained in:
Chris 2019-03-22 21:41:37 +01:00
parent a33747b67f
commit 90a3cd4cdf
1 changed files with 3 additions and 2 deletions

View File

@ -102,8 +102,9 @@ 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 -y /data/images/video.mp4");
sleep(300);
$imageRawData = "";
system("ffmpeg -f image2 -framerate 3 -i /data/images/%07d.jpg -r 25 -vcodec libx264 -y /data/images/video.mp4");
sleep(180);
}
?>