[FFmpeg-devel] [RFC] ffmpeg.c refactoring

Michael Niedermayer michaelni
Wed Jun 11 14:40:33 CEST 2008


On Wed, Jun 11, 2008 at 10:08:55AM +0200, Ralf Terdic wrote:
> On Wednesday 11 June 2008 09:00:34 Michael Niedermayer wrote:
> > ive said this in the past to other people, what you want is:
> > system/exec("ffmpeg");
> >
> > IIRC noone yet had a argument against that, so until one does, the way
> > ffmpeg.c is implemented is correct.
> 
> Invoking ffmpeg in a shell is no viable option in a server environment. 
> Forking a process for each invocation is too expensive, so if possible, you 
> want to stay within the same thread, or at least within the same process. 

> Besides, if you want feedback from the ffmpeg encoding, what do you do, parse 
> the text output of exec("ffmpeg")? If the ffmpeg output changes slightly, 
> your software is screwed up.

You want to work on
http://roundup.mplayerhq.hu/roundup/ffmpeg/issue442


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I do not agree with what you have to say, but I'll defend to the death your
right to say it. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080611/2a1b677c/attachment.pgp>



More information about the ffmpeg-devel mailing list