I need to execute a shell script. The trick I want to do is
$Command = "nohup cvlc input --sout '#transcode {vcodec=h264,acodec=mp3,samplerate=44100}:std{access=http,mux=ffmpeg{mux=flv},dst=0.0.0.0:8083/".output"}' &"; $str = shell_exec($Command);
I do not want him to wait for the completion of the command, I want it to run in the background. I do not want another php stream, since it delays the command, it can take up to 3 hours.
source share