set to 3 fps

master
Chris 3 years ago
parent a33747b67f
commit 90a3cd4cdf
  1. 5
      getPreview.php

@ -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);
}
?>
Loading…
Cancel
Save