[Ffmpeg-devel] refactoring ffmpeg.c for sharedlibrarycompatibility.

Rich Felker dalias
Mon Dec 18 02:48:08 CET 2006

On Sun, Dec 17, 2006 at 02:52:41PM +0000, M?ns Rullg?rd wrote:
> >>>> exec("ffmpeg(.exe)", ...)
> >>>
> >>> There two advantages on this proposal:
> >>> a) Spawning processes is slower that using this high level library,
> >>
> >> I can't imagine a situation where that overhead would be significant
> >> at all.
> >
> > Is not significant if you're transcoding (tipically) large multimedia
> > files, but imagine a file open dialog that has got a file preview/file codec
> > info window. In this case as soon as you click on a filename it needs to
> > launch ffmpeg to get that thumbnail/info, and the time is noticeable.
> Really?  And how much this time is due to fork overhead, and how much
> is from actual processing?

Indeed, it should be transcoding within less than 10ms from the time
you call exec..


More information about the ffmpeg-devel mailing list