attila1962 / webcamstudio

Automatically exported from code.google.com/p/webcamstudio
GNU General Public License v3.0
0 stars 0 forks source link

can't play pipline #64

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create wspl file with the contents below:
$ cat pip1.wspl 
gst-launch souphttpsrc location="http://10.10.55.224:3000" ! jpegdec ! 
ffmpegcolorspace ! ximagesink

2. Add pipeline as a source to a layout along with an internal laptop webcam.
3. Using webcamstudio console I can preview the webcam, but no video displays 
when the pipeline is selected as the source.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?
Latest available version on Ubuntu 11.10 64bit Thinkpad laptop.

Please provide any additional information below.

I can't seem to figure out how to get the pipeline to play.  If I run it at the 
console it works fine and streams, but when I add my .wspl as a source to my 
layout, I don't see any video?  I could be adding and creating layouts/studios 
completely wrong, but there doesn't seem to be any good basic instructions 
around.  I'm still watching all the youtube videos I can find.

P.S.  If this works for my you have saved my life!  Amazingly useful 
application!  I will surely donate!

Original issue reported on code.google.com by mdetwei...@gmail.com on 9 Mar 2012 at 2:22

GoogleCodeExporter commented 9 years ago
More info from executing webcamstudio at the CLI.

mrd@mrd-ThinkPad-T520:~/webcampipes$ webcamstudio -?
Using JRE: /usr/lib/jvm/java-6-openjdk/bin
OS is Linux
DEBUG: WebcamStudio video device (video1)
DEBUG: WebcamStudio video device (video1)
Starting iWebcamera Detection...
NetworkStream available on port 4888
You can use FFMPEG to connect to this stream...
ffmpeg -f ogg -i tcp://127.0.0.1:4888 test.ogg
Not same source/home/mrd/webcampipes/pip1.wspl
null

(unknown:6771): GStreamer-CRITICAL **: gst_parse_launch_full: assertion 
`pipeline_description != NULL' failed
java.lang.NullPointerException
    at com.sun.jna.Structure.useMemory(Structure.java:257)
    at com.sun.jna.Structure.useMemory(Structure.java:238)
    at org.gstreamer.lowlevel.GstAPI$GErrorStruct.<init>(GstAPI.java:74)
    at org.gstreamer.Pipeline.launch(Pipeline.java:129)
    at webcamstudio.sources.VideoSourcePipeline.startSource(VideoSourcePipeline.java:137)
    at webcamstudio.layout.transitions.Start.doTransition(Start.java:28)
    at webcamstudio.layout.LayoutItem.run(LayoutItem.java:199)
    at webcamstudio.layout.Layout.addSource(Layout.java:286)
    at webcamstudio.components.LayoutManager2.addSource(LayoutManager2.java:231)
    at webcamstudio.Main.addSourceToDesktop(Main.java:719)
    at webcamstudio.Main.addSource(Main.java:2052)
    at webcamstudio.components.MediaPanelList$1.actionPerformed(MediaPanelList.java:52)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2012)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2335)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:404)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
    at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289)
    at java.awt.Component.processMouseEvent(Component.java:6268)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
    at java.awt.Component.processEvent(Component.java:6033)
    at java.awt.Container.processEvent(Container.java:2045)
    at java.awt.Component.dispatchEventImpl(Component.java:4629)
    at java.awt.Container.dispatchEventImpl(Container.java:2103)
    at java.awt.Component.dispatchEvent(Component.java:4455)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4633)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4297)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4227)
    at java.awt.Container.dispatchEventImpl(Container.java:2089)
    at java.awt.Window.dispatchEventImpl(Window.java:2517)
    at java.awt.Component.dispatchEvent(Component.java:4455)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:649)
    at java.awt.EventQueue.access$000(EventQueue.java:96)
    at java.awt.EventQueue$1.run(EventQueue.java:608)
    at java.awt.EventQueue$1.run(EventQueue.java:606)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:116)
    at java.awt.EventQueue$2.run(EventQueue.java:622)
    at java.awt.EventQueue$2.run(EventQueue.java:620)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:105)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:619)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:275)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:200)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:190)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:185)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:177)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:138)

Original comment by mdetwei...@gmail.com on 9 Mar 2012 at 2:52

GoogleCodeExporter commented 9 years ago
Nevermind.. figured it out that my pipline file was not in the correct format.

Should have been:
$ cat xpipl.wspl 
pipeline=souphttpsrc location=http://10.10.55.224:3000 ! jpegdec !  
ffmpegcolorspace name=tosink

Original comment by mdetwei...@gmail.com on 9 Mar 2012 at 3:00

GoogleCodeExporter commented 9 years ago
For anyone interested, I am using Palantir to stream an anologue camera as an 
IP camera.

WebcamStudio is absolutely amazing software!

Original comment by mdetwei...@gmail.com on 9 Mar 2012 at 3:02

GoogleCodeExporter commented 9 years ago

Original comment by patrick.balleux on 30 Mar 2012 at 12:22