COMMUNITY POLL: Most Important Video Effects? (Quick Response Please!)
-
@ioio The dev branch of OF and the nighlty builds are now 64bit, giving you access to pretty much all the ram in your computer. The system I made has 1 frame latency to input and 1 to output. 4k GPU buffer will eat all your gfx memory for no reason or need and give you less memory to play with. As for making this on GPU, any latency can be minimised with efficient code and threads to handle capture decompression (especially copying or passing a reference of the image to the destination) . I used the blackmagic SDK to get the frames (some OF uses qtkit or older versions quicktime for capture). These libraries can be very slow getting frames and unwrapping them. That is the joy of coding, the efficiency and performance are scalable if you have the time and skills. I think to replace the functionality of the buffer in GPU would be very inefficient especially considering how much RAM machines have as standard vs GFX cards, especially on laptops.
Fred -
@Fred you're certainly right. In my case i only use video capture to inject a signal (it can be poor in latency and resolution) after it works in a closed loop in the gpu with two buffers which are treated with shaders effect (zoom shift contrast rotate, threshold hue etc... ) and mixed together. So for me with a 2 gb GPU, a few seconds of video buffer to slow down at some times, it runs really smooth on 4K with 5% CPU usage on my laptop.
-
@ioio this kind of buffer is pretty interesting though, usually it is coded into things like a feedback buffer which could be a cool effect, or multi pass blurs use the same tool to store the image for multi-pass processing.
-
Here is my Cinder based multithreaded buffer implementation, in which the frames are kept in CPU memory and are consumed by the GPU as needed: https://github.com/eighteight/CinderEight/blob/master/PS3EyeSlowMo/src/PS3EyeSlowMoApp.cpp
This approach will be limited by the size of the RAM (there is no limit check for that though at the moment).In addition, the frames could be jpeg–encoded to conserve CPU memory, as shown in this example:https://github.com/eighteight/Cinder-VideoStream/blob/master/samples/CinderVideoStreamServer/src/CinderVideoStreamServerApp.cpp#L118These examples are using PS3 Eye as input, but can be generalized.--8 -
Hi Mark,I hope it isn't too late to add my wish list for updated FFGL plugins. Here are the ones I am using in my current projects. Many thanks!dotsslit scaninterlacertilesolarizecontrast adjustthresholdvideo inverterdifferenceeffect mixermotion blurdirectional blurtime blurlionel blurgaussian blur -
@videovoce
'effect mixer', Yes.. thats a great thought -
Yes, effect mixer, please!
-
difference
motionblurtimeblurzoomereffectmixer -
Scaler!!!
effectmixerzoomerchopperautofadeIn FFGLGradient I would like to be able to set Brightness and Saturation for each color. Also, to have circular, square or reflected gradient would also be nice. -
Dear All,
Thank you for all the suggestions. The programmer is actively working on these now, and I'm going to prioritize the list in response to what you've said above. You can look forward to more news on this by the end of August.Best Wishes,Mark -
Bravo Mark! Looking forward for the new effects!