tags:

views:

475

answers:

0

Hello, good Afternoon, I do not speak English, but I have a problem: I can't play videos with JMF using JavaFX for my GUI. I need the RTP JMF API and I'm getting this error:

Unable to handle format: MPEG, 352x240, FrameRate=29.9, Length=126720 Unable to handle format: mpegaudio, 44100.0 Hz, 16-bit, Stereo, LittleEndian, Signed, 28000.0 frame rate, FrameSize=32768 bi ts [center] set component: null Exception in trigger: java.lang.NullPointerException at java.awt.Container.addImpl(Container.java:1045) at java.awt.Container.add(Container.java:927) at JMFComponent$_SBECL.onChange(JMFComponent.fx:14) at com.sun.javafx.runtime.location.ObjectVariable.notifyListeners(ObjectVariable.java:142) at com.sun.javafx.runtime.location.ObjectVariable.replaceValue(ObjectVariable.java:104) at com.sun.javafx.runtime.location.ObjectVariable.set(ObjectVariable.java:115) at JMFComponent.set$center(JMFComponent.fx:12) at MyMedia.create(MyMedia.fx:37) at javafx.scene.CustomNode.userInit$(CustomNode.fx:129) at com.sun.javafx.runtime.FXBase.complete$(FXBase.java:56) at Main.javafx$run$(Main.fx:10) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at com.sun.javafx.runtime.provider.GUIRuntimeProvider$1.run(GUIRuntimeProvider.java:65) at com.sun.javafx.tk.swing.SwingToolkit$StartupRoutine.run(SwingToolkit.fx:593) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:597) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

Thanks for your responses