Problems running Cling-MediaRenderer on Mac OS X (Mountain Lion)

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Problems running Cling-MediaRenderer on Mac OS X (Mountain Lion)

Draško
I would really appreciate a hint what combination of gstreamer-java / jna / gstreamer distribution  is required to run the Cling-MediaRenderer (built from 2.0-SNAPSHOT).

I have installed the GStreamer package from gstreamer.com and had to alias 5 dynamic libraries.

libgstreamer-0.10.dylib -> libgstreamer-0.10.0.dylib
libglib-2.0.dylib -> libglib-2.0.0.dylib
libgobject-2.0.dylib -> libgobject-2.0.0.dylib
libgstinterfaces-0.10.dylib -> libgstinterfaces-0.10.0.dylib
libgstbase-0.10.dylib -> libgstbase-0.10.0.dylib

With the original settings in the master POM (gstreamer.version=1.4 and jna.version=3.2.5) I am getting the following:

INFO - 15:31:47:562 - Thread-8 : null : Initializing GStreamer backend and registering MediaRenderer device...
INFO - 15:31:47:564 - Thread-8 : null : Enabling fullscreen handler (press ESC to exit) with resolution: 1920x1200
SEVERE - 15:31:47:898 - Thread-8 : null : Initialization failed: java.lang.IllegalArgumentException: No such Gstreamer factory: playbin
SEVERE - 15:31:47:898 - Thread-8 : null : Cause: java.lang.IllegalArgumentException: No such Gstreamer factory: playbin


If I upgrade to the latest version of gstreamer-java (1.5), I am getting the following:

INFO - 15:33:15:480 - Thread-8 : null : Initializing GStreamer backend and registering MediaRenderer device...
INFO - 15:33:15:482 - Thread-8 : null : Enabling fullscreen handler (press ESC to exit) with resolution: 1920x1200
SEVERE - 15:33:16:255 - Thread-8 : null : Initialization failed: java.lang.IllegalArgumentException: URI is not hierarchical
SEVERE - 15:33:16:257 - Thread-8 : null : Cause: java.lang.IllegalArgumentException: URI is not hierarchical


If I additionally upgrade to the latest jna (3.5.2), I am getting the following:

INFO - 15:46:56:278 - Thread-8 : null : Initializing GStreamer backend and registering MediaRenderer device...
INFO - 15:46:56:280 - Thread-8 : null : Enabling fullscreen handler (press ESC to exit) with resolution: 1920x1200
SEVERE - 15:46:56:654 - Thread-8 : null : Initialization failed: java.lang.AbstractMethodError: com.sun.jna.Structure.getFieldOrder()Ljava/util/List;
SEVERE - 15:46:56:656 - Thread-8 : null : Cause: java.lang.AbstractMethodError: com.sun.jna.Structure.getFieldOrder()Ljava/util/List;


Thanks in advance for any hints