Hi, I've a ffserver setup which has input feeds being supplied from via a "Launch" argument, invoking ffmpeg.
<Feed radio6.ffm> File /tmp/radio6.ffm FileMaxSize 1G Launch ./ffmpeg -f lavfi -i nullsrc -i http://bbcmedia.ic.llnwd.net/stream/bbcmedia_6music_m [...] ACL allow localhost </Feed> There's 3 of these feeds currently, but every now and then one of them will stop. ffserver's output will look like this: Tue Aug 18 23:57:31 2015 127.0.0.1 - - [POST] "/radio6.ffm HTTP/1.1" 200 196595712 radio6.ffm: Pid 19255 exited with status 0 after 22799 seconds Tue Aug 18 23:57:31 2015 Launch command line: ./ffmpeg -f lavfi -i nullsrc -i http://bbcmedia.ic.llnwd.net/stream/bbcmedia_6music_mf_p http://127.0.0.1:8090/radio6.ffm radio6.ffm: Pid 19789 exited with status 256 after 0 seconds So for some reason ffmpeg is exiting cleanly after running for a long time, being restarted, and then failing immediately. What does exit code 256 mean in ffmpeg? And is there a way to make it retry the restart again? At this point I'm considering removing the "Launch" argument, and putting the ffmpeg process under the watch of something like monit. Thanks -- Coops _______________________________________________ ffmpeg-user mailing list ffmpeg-user@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-user