change image size
This commit is contained in:
parent
39208833cb
commit
f0286b220a
|
@ -17,7 +17,7 @@ while(TRUE)
|
|||
echo "Checking stream and creating image...\n";
|
||||
//system("ffmpeg -i ".$StreamURL." -vframes 1 -q:v 2 -vf scale=535:346 ".$fileName);
|
||||
//system('ffmpeg -r 90 -t 4 -i '.$StreamURL.' -vf "fps=10,scale=350:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop 0 '.$fileName);
|
||||
system('ffmpeg -r 90 -t 4 -i '.$StreamURL.' -vf "fps=8,scale=350:-1" -loop 0 -pix_fmt yuv420p '.$fileName);
|
||||
system('ffmpeg -r 90 -t 4 -i '.$StreamURL.' -vf "fps=8,scale=400:-1" -loop 0 -pix_fmt yuv420p '.$fileName);
|
||||
|
||||
if(is_file($fileName))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue