Menu

#3 ffmpeg background exec

open
nobody
None
4
2002-05-01
2001-06-28
Anonymous
No

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

Discussion

  • Juanjo

    Juanjo - 2002-05-01

    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.

     
  • Juanjo

    Juanjo - 2002-05-01
    • status: open --> pending
     
  • Juanjo

    Juanjo - 2002-05-01
    • priority: 5 --> 4
    • status: pending --> open
     
  • Nobody/Anonymous

    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 &

     

Log in to post a comment.