[Ffmpeg-user] Running in the background?

Nicolas George nicolas.george at ens.fr
Sun Aug 13 20:16:23 CEST 2006


Le sextidi 26 thermidor, an CCXIV, Russell Stewart a écrit :
> I have a rather large video conversion I would like to do,
> and instead of running it all night on my laptop I want
> to run it on another Linux server I have in the house. I
> had no problem building and installing ffmpeg on that machine,
> and I was hoping that I could just SSH in, start the
> encoding process in the background, log out, and come
> back later to check on its progress.

The problem is that ffmpeg tries to read from the terminal (for the "Press
[q] to stop encoding" feature). If it is in background, it gets a SIGTTIN
when it tries to read from the tty.

> So how do I start ffmpeg and tell it to run completely
> in the background, in non-interactive mode? Surely this
> must be possible for an application designed to perform
> such heavy processing on such large files.

In the source code, I see the only possibility seems to be encoding from the
standard input. You should probably file a feature-request.

In the meantime, you should probably try using screen, which is very fine
for that.

> In case it matters, the machine in question is running
> Red Hat Fedora Core 3.

I am sorry for you. ;-)

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 185 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-user/attachments/20060813/2a078b64/attachment.pgp>


More information about the ffmpeg-user mailing list