gst_xml_write_file failing with access violation on Windows XP

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

gst_xml_write_file failing with access violation on Windows XP

Andreas Schuler
Hi all,

I have been trying to print my pipeline for debugging purpose using the xml write command but without success. What I keep getting is an access violation, no matter whether I am building in debug or release mode. Has anyone experienced a similar problem? What am I doing wrong?

My current GST setup:

GStreamer: 0.10.17
gst-plugins-base: 0.10.17
gst-plugins-good: 0.10.7
gst-plugins-bad: 0.10.6
gst-plugins-ugly: 0.10.7
gst-ffmpeg: 0.10.2


I am basically looking for a way to debug my GStreamer pipeline. I have found that GstEditor appears to be outdated and no longer compatible with the 0.10 releases. Is that correct? What other tools are you recommending to debug GStreamer applications?

Thanks,

Andreas


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gst_xml_write_file failing with access violation on Windows XP

Samuel Vinson-2
Yes, I have the same pb
I correct the problem but I don't have the code here.
I can post tomorrow the solution.

Samuel


Andreas Schuler a écrit :

> Hi all,
>
> I have been trying to print my pipeline for debugging purpose using the
> xml write command but without success. What I keep getting is an access
> violation, no matter whether I am building in debug or release mode. Has
> anyone experienced a similar problem? What am I doing wrong?
>
> My current GST setup:
>
> GStreamer: 0.10.17
> gst-plugins-base: 0.10.17
> gst-plugins-good: 0.10.7
> gst-plugins-bad: 0.10.6
> gst-plugins-ugly: 0.10.7
> gst-ffmpeg: 0.10.2
>
>
> I am basically looking for a way to debug my GStreamer pipeline. I have
> found that GstEditor appears to be outdated and no longer compatible
> with the 0.10 releases. Is that correct? What other tools are you
> recommending to debug GStreamer applications?
>
> Thanks,
>
> Andreas
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gst_xml_write_file failing with access violation on Windows XP

René Stadler
In reply to this post by Andreas Schuler
Andreas Schuler wrote:

> Hi all,
>
> I have been trying to print my pipeline for debugging purpose using the
> xml write command but without success. What I keep getting is an access
> violation, no matter whether I am building in debug or release mode. Has
> anyone experienced a similar problem? What am I doing wrong?
>
> My current GST setup:
>
> GStreamer: 0.10.17
> gst-plugins-base: 0.10.17
> gst-plugins-good: 0.10.7
> gst-plugins-bad: 0.10.6
> gst-plugins-ugly: 0.10.7
> gst-ffmpeg: 0.10.2
>
>
> I am basically looking for a way to debug my GStreamer pipeline. I have
> found that GstEditor appears to be outdated and no longer compatible
> with the 0.10 releases. Is that correct? What other tools are you
> recommending to debug GStreamer applications?
>
> Thanks,
>
> Andreas
>
>

The XML serialization stuff is largely untested and expected to be
unstable.  Newer gstreamer core versions provide debug functions to dump
a pipeline as a description file for the "dot" program (from graphviz):

http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstInfo.html#GST-DEBUG-BIN-TO-DOT-FILE:CAPS

The final output of that is a diagram of the pipeline layout that
contains quite some details.

Apparently you can get graphviz as a simple installer for windows:

http://www.graphviz.org/Download..php

--
Regards,
   René Stadler

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gst_xml_write_file failing with access violation on Windows XP

Andreas Schuler
Thank you very much for your suggestions. The DOT tool is indeed working great and seems to contain all the data I was looking for.

For anyone else just skimming the documentation, make sure you have the following environment variable defined:

GST_DEBUG_DUMP_DOT_DIR  (some directory you want GStreamer to write the DOT files to)

Then generate a PNG file using the following command (which creates a file called "image.png"):

dot -Tpng -oimage.png  <your file>.dot



Thanks again,

Andreas

On 3/31/08, René Stadler <[hidden email]> wrote:
Andreas Schuler wrote:
Hi all,

I have been trying to print my pipeline for debugging purpose using the xml write command but without success. What I keep getting is an access violation, no matter whether I am building in debug or release mode. Has anyone experienced a similar problem? What am I doing wrong?

My current GST setup:

GStreamer: 0.10.17
gst-plugins-base: 0.10.17
gst-plugins-good: 0.10.7
gst-plugins-bad: 0.10.6
gst-plugins-ugly: 0.10.7
gst-ffmpeg: 0.10.2


I am basically looking for a way to debug my GStreamer pipeline. I have found that GstEditor appears to be outdated and no longer compatible with the 0.10 releases. Is that correct? What other tools are you recommending to debug GStreamer applications?

Thanks,

Andreas



The XML serialization stuff is largely untested and expected to be unstable.  Newer gstreamer core versions provide debug functions to dump a pipeline as a description file for the "dot" program (from graphviz):

<a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstInfo.html#GST-DEBUG-BIN-TO-DOT-FILE:CAPS" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstInfo.html#GST-DEBUG-BIN-TO-DOT-FILE:CAPS

The final output of that is a diagram of the pipeline layout that contains quite some details.

Apparently you can get graphviz as a simple installer for windows:

<a href="http://www.graphviz.org/Download..php" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.graphviz.org/Download..php

--
Regards,
 René Stadler



--
Andreas Schuler
CTO
Neokast LLC
Metis Enterprise Technologies LLC
990 Grove St. Suite #401
Evanston, IL 60201
847.328.7265
847.328.7276 (F)
262.327.1034 (C)
[hidden email]
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: gst_xml_write_file failing with access violation on Windows XP

SPE Stani's Python Editor
Unfortunately this functionality doesn't seem to be available through
the python bindings on Ubuntu (Gutsy/Hardy). On Hardy the gstreamer
version is 0.10.18 Is there a screenshot somewhere on the web to see an
example image? If not Andreas, can you send me such an image privately?
Thanks in advance,
Stani

Op maandag 31-03-2008 om 14:57 uur [tijdzone -0500], schreef Andreas
Schuler:

> Thank you very much for your suggestions. The DOT tool is indeed
> working great and seems to contain all the data I was looking for.
>
> For anyone else just skimming the documentation, make sure you have
> the following environment variable defined:
>
> GST_DEBUG_DUMP_DOT_DIR  (some directory you want GStreamer to write
> the DOT files to)
>
> Then generate a PNG file using the following command (which creates a
> file called "image.png"):
>
> dot -Tpng -oimage.png  <your file>.dot
>
>
>
> Thanks again,
>
> Andreas
>
> On 3/31/08, René Stadler <[hidden email]> wrote:
>         Andreas Schuler wrote:
>                 Hi all,
>                
>                 I have been trying to print my pipeline for debugging
>                 purpose using the xml write command but without
>                 success. What I keep getting is an access violation,
>                 no matter whether I am building in debug or release
>                 mode. Has anyone experienced a similar problem? What
>                 am I doing wrong?
>                
>                 My current GST setup:
>                
>                 GStreamer: 0.10.17
>                 gst-plugins-base: 0.10.17
>                 gst-plugins-good: 0.10.7
>                 gst-plugins-bad: 0.10.6
>                 gst-plugins-ugly: 0.10.7
>                 gst-ffmpeg: 0.10.2
>                
>                
>                 I am basically looking for a way to debug my GStreamer
>                 pipeline. I have found that GstEditor appears to be
>                 outdated and no longer compatible with the 0.10
>                 releases. Is that correct? What other tools are you
>                 recommending to debug GStreamer applications?
>                
>                 Thanks,
>                
>                 Andreas
>                
>                
>        
>        
>         The XML serialization stuff is largely untested and expected
>         to be unstable.  Newer gstreamer core versions provide debug
>         functions to dump a pipeline as a description file for the
>         "dot" program (from graphviz):
>        
>         http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/gstreamer-GstInfo.html#GST-DEBUG-BIN-TO-DOT-FILE:CAPS
>        
>         The final output of that is a diagram of the pipeline layout
>         that contains quite some details.
>        
>         Apparently you can get graphviz as a simple installer for
>         windows:
>        
>         http://www.graphviz.org/Download..php
>        
>         --
>         Regards,
>          René Stadler
>
>
>
> --
> Andreas Schuler
> CTO
> Neokast LLC
> Metis Enterprise Technologies LLC
> 990 Grove St. Suite #401
> Evanston, IL 60201
> 847.328.7265
> 847.328.7276 (F)
> 262.327.1034 (C)
> [hidden email]
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
> _______________________________________________ gstreamer-devel mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/gstreamer-devel


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel