Bug: Problem not reported

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug: Problem not reported

Vadi
I tried recording a video and it would just "not record". Looking at the terminal, it turns out this problem isn't handled properly:

Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: No such Gstreamer factory: lame
        at org.gstreamer.ElementFactory.makeRawElement(ElementFactory.java:174)
        at org.gstreamer.ElementFactory.make(ElementFactory.java:166)
        at webcamstudio.VideoExporterAVI.startExport(VideoExporterAVI.java:42)
        at webcamstudio2.components.VideoRecorder.tglButtonRecordActionPerformed(VideoRecorder.java:203)
        at webcamstudio2.components.VideoRecorder.access$200(VideoRecorder.java:26)
        at webcamstudio2.components.VideoRecorder$3.actionPerformed(VideoRecorder.java:98)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
        at javax.swing.JToggleButton$ToggleButtonModel.setPressed(JToggleButton.java:291)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
        at java.awt.Component.processMouseEvent(Component.java:6263)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
        at java.awt.Component.processEvent(Component.java:6028)
        at java.awt.Container.processEvent(Container.java:2041)
        at java.awt.Component.dispatchEventImpl(Component.java:4630)
        at java.awt.Container.dispatchEventImpl(Container.java:2099)
        at java.awt.Component.dispatchEvent(Component.java:4460)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
        at java.awt.Container.dispatchEventImpl(Container.java:2085)
        at java.awt.Window.dispatchEventImpl(Window.java:2475)
        at java.awt.Component.dispatchEvent(Component.java:4460)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
        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)
Reply | Threaded
Open this post in threaded view
|

Re: Bug: Problem not reported

matthartley
Administrator
We are already putting the final touches on the next release, which addresses this. Thanks for the bug report, it does help.
Reply | Threaded
Open this post in threaded view
|

Re: Bug: Problem not reported

Patrick Balleux
In reply to this post by Vadi
This is not a bug actually.  You're missing the "lame" Element in your installation.

Make sure that you install all the gstreamer components (Good, Bad, Ugly).

I'll review the debian package to validate the dependencies.

If you have installed using the tar.gz, then you have to make sure that all the gstreamer codecs are installed.

Time to review the installation docs for the dependencies...

Patrick

--------------------------------------
Patrick Balleux

WS4GL Project Manager
Reply | Threaded
Open this post in threaded view
|

Re: Bug: Problem not reported

Vadi
Well, my point was that the error is not displayed to the user, so they don't know what's happening. Should say that recording failed, and offer an expander box where the error message is.
Reply | Threaded
Open this post in threaded view
|

Re: Bug: Problem not reported

Patrick Balleux
I'll have a look, cause I am tracking the error reporting from Gstreamer...

But there are some that I cannot catch in full details.

Thanks for reporting.

Patrick

--------------------------------------
Patrick Balleux

WS4GL Project Manager