On Wed, 2010-05-19 at 22:48 -0400, sean wrote: > Hi all, > > Obviously I'm quite new to both. I want to convert flv to pcm but not sure > which way gets best performance, a red5/JNI calls C/C++ FFmpeg native or > red5 app call a SOAP/FFmpeg service running on SAME box. (from what I've > read) JNI has some overhead, does it cost more than (de)marshalling and > http? Any insight would be appreciated. > > -sean >
You could do all the transcoding stuff in C/C++. Then it doesn't really matter how you call it, since you only do it once per file. Also, I doubt JNI would be slower than marshalling, performing an HTTP request and unmarshalling. But, JNI is quite a pain to deal with, so if you just have to perform a few requests I'd stick with SOAP if you already have stuff for that. /Tomas
signature.asc
Description: This is a digitally signed message part
_______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
