[FFmpeg-devel] [RFC] ffmpeg.c refactoring
Wed Jun 11 11:39:37 CEST 2008
Ralf Terdic wrote:
> On Wednesday 11 June 2008 10:57:05 Luca Abeni wrote:
>> Did you measure this overhead? I did...
> From Java, the overhead is noticeable when comparing Runtime.exec() with the
> JNI equivalent. We compiled ffmpeg to a JNI shared library before, so I, too,
> know what I'm talking about.
This has nothing to do with the fork() overhead: this is just java overhead...
>> So, you want to decode thousands of videos simultaneously... I repeat: the
>> problem here is not the fork() overhead.
> I know what you mean, but that's no reason to deliberately add even more
So, avoid using java: if you want to reduce the overhead, you are just using
the wrong tool
More information about the ffmpeg-devel