I would like to see a background process switch in
ffmpeg when streaming to ffserver. I works great in
console but what about when you want it to be run in
the background (ie. init script) and stream to ffserver
for a full time, real time media server.
ffmpeg v 4.1
Logged In: YES
user_id=227095
Interesting feature, first we need to bug fix ffserver
then we could add background support. Anyway screen or nohup
can help by now.
Logged In: NO
The cause of ffmpeg not working well in the background is
the term_init and term_exit calls in ffmpeg.c. Their
inclusion at all seems broken to me.
In the short term, you can run ffmpeg in the background thus:
cat /dev/null | ffmpeg -i in -y out &