diff --git a/start.php b/start.php index 28c9bf7..c7a2c47 100644 --- a/start.php +++ b/start.php @@ -12,8 +12,7 @@ while(TRUE) { if(($lastOnlineTime + 60) < time()) { - $fileName = "output-".time().".gif"; - $videoFileName = "record-".time().".dump"; + $fileName = "output-".md5(time().rand(11111,99999)).".gif"; echo "Checking stream and creating image...\n"; //system("ffmpeg -i ".$StreamURL." -vframes 1 -q:v 2 -vf scale=535:346 ".$fileName);