[FFmpeg-user] stop ffmpeg process wiht php

Madovsky infos at madovsky.org
Sat Nov 16 23:35:20 CET 2013


Hi,

I'm trying to find a way to stop cleanly ffmpeg process (2 live streams mix)
from php. for now I use kill -INT <pid> but the
ffmpeg connection from the server (I mix 2 rtmp live streams)
still there and increase as long as I start and stop process.
if I do manually ":q" from the console mode ffmpeg quits and every connection to the server
are removed instantly.
Any idea to simulate ":q" from a php (or bash) script ?

Thanks

Franck


More information about the ffmpeg-user mailing list