Login  Register

JOGL video rendering.

Posted by anandcta123 on Sep 10, 2012; 5:04am
URL: https://forum.jogamp.org/JOGL-video-rendering-tp4026062.html

Dear all,

I am newbie to JOGL and working on MAC for video rendering. Please help me out to solve below problems.

I am using JOGL for video rendering of multiple videos simultaneously using GLJPanel on MAC OSX. I am using FPSAnimator for frame rate control. If I set 30fps for FPSAnimator, it will work perfectly for single video playback. But for multiple videos rendering simultaneously, it is working like single threaded and FPSAnimator not achieving set frame rate. For ex: for 4 videos, maximum frame rate I can achieve is 20fps and for 8 videos, I can achieve 10fps. Looking like it is workng as single threaded, not as multithreaded. Please help me out, how I can solve this issue to make JOGL work as multithreaded on MAC OSX to get approximate set fps for each video.

I am using exported jar from eclipse to XCode and through XCode I am running the project using MAC JVM framework.
 
Anand