Login  Register

GLMediaPlayer: Little lock at the starting

Posted by thepineda on Nov 19, 2014; 7:34pm
URL: https://forum.jogamp.org/GLMediaPlayer-Little-lock-at-the-starting-tp4033576.html

In our company we have a 2D graphics engine that uses JOGL libraries, at this time we are trying to integrate video playback using the GLMediaPlayer API, using ffmpeg.

I would like to ask you about a problem we found. All the videos have a little time control problem at the starting. Specifically, it plays very fast in the interval (0 sec, 0.8 sec), then there is a small lock that remains at time 0.8 sec, and finally it continues playing normally.

I tested the demo MovieCube on different machines and there is always the same problem, it is easy to see if you watch the text that shows the time of the video above.

The problem occurs whether we use the streamworker (with buffered textures), as if we did not use.

Is this a known issue? And if so, there is some workarround to fix it?

Thanks in advance.