[FFmpeg-user] ffmpeg background

focus television focustelev at gmail.com
Fri Jul 27 00:36:32 CEST 2012


On 26-Jul-12 4:24 PM, Nicolas George wrote:
> Le nonidi 9 thermidor, an CCXX, Roger Pack a écrit :
>> the "nohup" command
> It is the traditional command, but nohup is a stupid hack that does not even
> work. The correct way to detach a process from its controlling tty is
> setsid.
>
> But it will not address ffmpeg reading from its standard input; for that,
> either redirecting from /dev/null or using the new -nostdin option will do
> the trick.
>
> I tell you that purely for your information; as for "focus television", I
> already told them exactly the same thing about a week ago and they did not
> heed it.
>
>> 		      or the "screen" command are what I typically use.
> Of course, screen will work perfectly and give additional features, but it
> is much more expensive. It all depends on the context.
Hi Nick,
you were right and i was able to use setsid but the only problem was if 
due to some reason if the source stream is down , the process was closed
There were i think no retries and if it is there i dont know to configure.
So the process was closed once the source stopped for some time.




More information about the ffmpeg-user mailing list