Hey I am using ffmpeg to store live camera streaming in PHP. I have already downloaded the compiled ffmpeg library and just use its path in php to store stream. The command is :
C:\ffmpeg\bin\ffmpeg -i "http://10.11.16.120:90/livestream.cgi?user=admin&pwd=&streamid=0&audio=0&filename=" -c:v libx264 -t 10 -an F:\Camera_Videos\video.mp4
Now it waits until ffmpeg compeletes its task and then php code will further run but i want to run ffmpeg in background i have also tried this by adding
> /dev/null 2>/dev/null &
but it didn't work . Pleae tell , any help would be appreciated.