Login  Register

Re: JOGL media player?

Posted by Sven Gothel on Jan 14, 2013; 12:20am
URL: https://forum.jogamp.org/JOGL-media-player-tp4027810p4027813.html

On 01/13/2013 09:21 PM, Qu0ll [via jogamp] wrote:

> I see a demo applet on the JogAmp site that looks like it should be displaying
> a cube with videos rendered on each of the faces.  The description of this
> applet refers to a JOGL media player.
>
> For me, while the cube itself renders fine, each face appears to have a "test
> pattern" style image on it rather than a functioning video.
>
> I have 2 questions about this:
>
> 1. Is there such a thing as the JOGL media player yet and what are its
> capabilities (support media types etc.)? The easiest way to answer this is
> probably to provide a link to where it is described.
>
> 2. If the answer to (1) is yes, why doesn't the applet actually display video
> content? I am running it on 64-bit Windows 7 using Java 7 Update 10 and NVIDIA
> GPU.
>
GLMediaPlayer has a few implementations, see:
  <http://jogamp.org/git/?p=jogl.git;a=blob;f=src/jogl/classes/com/jogamp/opengl/util/av/GLMediaPlayer.java;h=3eca01986f49bbf72e73c75b55e447cec6491419;hb=224fab1b2c71464826594740022fdcbe278867dc#l51>

one available on all platforms is FFMpegPlayer:
 <http://jogamp.org/git/?p=jogl.git;a=blob;f=src/jogl/classes/jogamp/opengl/util/av/impl/FFMPEGMediaPlayer.java;h=4be2bcb587d6fbf70330fbf8f679f5fd7ee449ce;hb=224fab1b2c71464826594740022fdcbe278867dc#l52>

it is compatible w/ FFMpeg and libav  [0.6 ?, ] 0.7 and 0.8]
  <http://jogamp.org/git/?p=jogl.git;a=blob;f=src/jogl/classes/jogamp/opengl/util/av/impl/FFMPEGDynamicLibraryBundleInfo.java;h=32c8635532d32214d9ef006935875234eaaf98c2;hb=224fab1b2c71464826594740022fdcbe278867dc#l46>

On GNU/Linux distribution, usually the deployed version (if installed) shall work properly.

You can install ffmpeg/libav on Windows and OSX (precompiled versions, or by source)
and if available in PATH or system folder, it will be picked up
and play nicely - assuming one of the mentioned version is being used.
You can verify this in the video here:
  <http://www.youtube.com/watch?feature=player_detailpage&v=4gWStKCioi8#t=126s>

Currently only the Android impl. of our player supports audio,
but we will add JOAL audio output for the other implementations as well.
Volunteers ?

Adding support for native Windows/OSX implementations would be nice,
however - this hasn't been done yet.
Volunteers ?

~Sven




signature.asc (911 bytes) Download Attachment