På Fri, 19 Aug 2011 23:16:44 +0200, skrev Edouard Chalaron <[email protected]>:
Hi Herman Yes this is what I am usually doing, but results are nowhere close tothis script, maybe what I need is an improved version of the histogram,with possibility of calculating a profile curve etc.... not too sure yet.
It looks like the script outputs 8-bit RGB. Quality film compositing should rather be done in Cinelerra's RGB(A) FLOAT colour format. But that needs some debugging, it seems ;-( Besides, two log() operations per pixel?! No wonder it takes a second each frame! You'd better fill up some look-up tables first, and use them, since there will be far less unique pixel values than there will be pixels in a frame. And SIMD optimisation will probably be worthwhile, too (MMX, SSE, etc.)
Is there an API for creating video effects ? I vaguely remember that.
I have dabbled with video plugin writing, and the most advanced effect that I got working properly was a random noise effect. It was fast enough for HDV video. A simpler effect was a YUV sepia toner (RGB is much harder and slower). I even did some rudimentary SIMD (via gcc's builtins), and it did speed things up a bit. -- Herman Robak _______________________________________________ Cinelerra mailing list [email protected] https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
