Re: JOGL media player?
Posted by
Sven Gothel on
Jan 15, 2013; 10:06am
URL: https://forum.jogamp.org/JOGL-media-player-tp4027810p4027834.html
On 01/15/2013 02:30 AM, Qu0ll [via jogamp] wrote:
> Thanks very much for the info Sven.
>
> I have installed FFmpeg and can now see the videos on the cube in the applet.
>
> However, the videos play extremely slowly and the rendering is very jittery.
> This is surprising because this machine is very powerful and has the current
> world's fastest graphics card (Nvidia GeForce 690 GTX).
>
> Is this expected? What could be the cause for this? I have pondered on the
> following possibilities:
>
> 1. FFmpeg is inherently slow.
Well .. it even runs on the Raspberry Pi .. w/o hiccups.
> 2. It's playing 6 videos at once so it has to be slow.
Only one video -> texture.
> 3. It's Java (slow).
Nope.
> 4. It's something to do with the way the video frames are loaded into the
> texture.
Maybe due to the video loading itself, i.e. streaming from the internet.
The software decoded YUV frames are loaded into the texture and transformed to
RGBA w/ GLSL shader.
> 5. It's not slow, it just runs slow on my machine.
Well .. it's not slow on any device here.
Which stream do you use?
The orig. referenced low-res Big Buck Bunny?
>
> Are any of these correct? Any other ideas?
Maybe try to download it .. and run it from the commandline
with passing the downloaded one.
~Sven