Answer the question
In order to leave comments, you need to log in
How to automatically restart the process after stopping the recording in the log file?
There is a FFMPEG process that writes to the log during its execution. After the source disappears, the process hangs and is not deleted. The log accordingly ceases to be written. Help me write a script that would track changes in the log and restart the process when recording stops.
Ps. there is another option to monitor an open port
via telnet or monitor the output of rtmpdump
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question