Browse Source

overwrite file

master
Chris 3 years ago
parent
commit
46c917428b
  1. 2
      getPreview.php

2
getPreview.php

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