Login  Register

Re: Red-colored videos using libav

Posted by gouessej on Nov 24, 2016; 9:28am
URL: https://forum.jogamp.org/Red-colored-videos-using-libav-tp4037437p4037454.html

Hi

At first, you should enable the debug logs to see which libraries are loaded when running MovieSimple:
https://github.com/sgothel/jogl/blob/master/src/jogl/classes/jogamp/opengl/util/av/impl/FFMPEGMediaPlayer.java#L216

Secondly, this feature heavily relies on shaders, mixing it with fixed pipeline terribly old method calls (immediate rendering for example) might cause some troubles:
https://github.com/sgothel/jogl/blob/master/src/jogl/classes/jogamp/opengl/util/av/impl/FFMPEGMediaPlayer.java#L706

You can try to simplify MovieSimple step by step to find what is wrong in your example.
Julien Gouesse | Personal blog | Website