Menu

#6 Problem with movie playback

closed
nobody
None
5
2006-09-25
2006-09-25
Tats
No

Hi,

I'm working on an open-source software for multimedia
(http://drone.ws). We have decided to turn to Java and
we would like to maintain our software under the Gnu GPL.

Thus, FMJ seems to be a very appealing solution.
However, I wasn't able to have it working on my Mac for
reading simple files.

I've tried the binary (fmjstudio-macosx-universal.sh)
that comes with FMJ on my computer (Mac Book Pro) and
it works very well. However, I also got the source code
and have tried to run it under Eclipse. None of the
clips will work.

E.g. if I try to run the
net.sf.fmj.ui.application.PlayerPanel application in
Eclipse and try to load the movie
fmj/samplemedia/safexmas.mov it generates an error. It
seems to be working with the Gloria_Patri.ogg file
however (but this ain't video).

Here is the error backtrace:

WARNING: javax.media.NoPlayerException
javax.media.NoPlayerException
at javax.media.Manager.createPlayer(Manager.java:128)
at javax.media.Manager.createPlayer(Manager.java:141)
at
net.sf.fmj.ui.application.ContainerPlayer.createNewPlayer(ContainerPlayer.java:297)
at
net.sf.fmj.ui.application.ContainerPlayer.setDataSource(ContainerPlayer.java:211)
at
net.sf.fmj.ui.application.ContainerPlayer.setMediaLocation(ContainerPlayer.java:201)
at
net.sf.fmj.ui.application.PlayerPanel.onLoadButtonClick(PlayerPanel.java:123)
at
net.sf.fmj.ui.application.PlayerPanel.access$0(PlayerPanel.java:119)
at
net.sf.fmj.ui.application.PlayerPanel$1.actionPerformed(PlayerPanel.java:112)
at
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882)
at
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
at
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at
javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:234)
at
java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
at
java.awt.Component.processMouseEvent(Component.java:5554)
at
javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5319)
at java.awt.Container.processEvent(Container.java:2010)
at
java.awt.Component.dispatchEventImpl(Component.java:4021)
at
java.awt.Container.dispatchEventImpl(Container.java:2068)
at java.awt.Component.dispatchEvent(Component.java:3869)
at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4256)
at
java.awt.LightweightDispatcher.processMouseEvent(Container.java:3936)
at
java.awt.LightweightDispatcher.dispatchEvent(Container.java:3866)
at
java.awt.Container.dispatchEventImpl(Container.java:2054)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3869)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:269)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:184)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:176)
at
java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

Discussion

  • Tats

    Tats - 2006-09-25

    Logged In: YES
    user_id=590072

    Okay, I found out I add the wrong classpath. Now it's working.

     
  • Tats

    Tats - 2006-09-25
    • status: open --> closed