use 10 fps
This commit is contained in:
parent
572cf70646
commit
ce5e34006a
|
@ -16,7 +16,7 @@ while(TRUE)
|
||||||
|
|
||||||
echo "Checking stream and creating image...\n";
|
echo "Checking stream and creating image...\n";
|
||||||
//system("ffmpeg -i ".$StreamURL." -vframes 1 -q:v 2 -vf scale=535:346 ".$fileName);
|
//system("ffmpeg -i ".$StreamURL." -vframes 1 -q:v 2 -vf scale=535:346 ".$fileName);
|
||||||
system('ffmpeg -t 3 -i '.$StreamURL.' -t 3 -vf "fps=5,scale=535:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop 0 '.$fileName);
|
system('ffmpeg -t 3 -i '.$StreamURL.' -t 3 -vf "fps=10,scale=535:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop 0 '.$fileName);
|
||||||
|
|
||||||
if(is_file($fileName))
|
if(is_file($fileName))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue