How do I debug GStreamer in java?

80 views
Skip to first unread message

minimalniemand

unread,
Feb 27, 2012, 9:31:55 AM2/27/12
to gstreamer-java
Hi,

I'm new to this list.
I am currently developing a conferencing solution but my pipe (
http://i.stack.imgur.com/7ztWl.png ) does not put out anything. If I
slightly change my pipe (putting a rtpmuxer and a single udpsink on
the end) it works perfectly.

If I could debug it properly, maybe I would find the cause.

any comment or even some java to access the debugging system of
GStreamer would be highly appreciated.

Tal Shalif

unread,
Feb 27, 2012, 9:40:16 PM2/27/12
to gstream...@googlegroups.com
On linux you launch a gdb debugger using the java binary as its target. Than you can attach to any running java process and place breakpoints in Gstreamer code found in the shared libraries loaded by gstreamer-java.

As for your pipeline: If you want people to understand your pipeline, I would recommend you launch it with Pipeline.launch and use the exact syntax as you would when using the command line gst-launch.



--
You received this message because you are subscribed to the Google Groups "gstreamer-java" group.
To post to this group, send email to gstream...@googlegroups.com.
To unsubscribe from this group, send email to gstreamer-jav...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/gstreamer-java?hl=en.


Michael Niemand

unread,
Feb 28, 2012, 2:28:48 AM2/28/12
to gstream...@googlegroups.com
Thank you very much. I managed to dump my pipeline into a dot-File and create a png from it ( http://i.stack.imgur.com/b67rl.png ), but I can see no problem there.

I will try to build the pipeline in command line syntax as you recommended and post it on the list.

Again, thanks a lot!
--
Michael Niemand

Albusstr. 17
60313 Frankfurt/M
Germany

Mobile: +49 (0) 171 645 29 07


Reply all
Reply to author
Forward
0 new messages