[gst-devel] "Could not get shared memory of 0 bytes" when launching ximagesink

Stefan Kost ensonic at hora-obscura.de
Mon Mar 22 16:56:39 CET 2010


michaeld at netcourrier.com wrote:
> Hello,
> When running the following command:
> gst-launch filesrc location=test1.yuv ! ximagesink
>   

this would need atleast a videoparse element after filesrc. Better try
with a muxed video file.

Stefan
> I get the following error:
>
> PAUSED...
> PREROLL...
>
> (gst-launch-0.10:18263): GStreamer-CRITICAL **: gst_caps_get_structure: assertion `GST_IS_CAPS (caps)' failed
>
> (gst-launch-0.10:18263): GStreamer-CRITICAL **: gst_structure_get_int: assertion `structure != NULL' failed
>
> ERREUR : de l'élément /GstPipeline:pipeline0/GstXImageSink:ximagesink0 : Failed to create output image buffer of 0x0 pixels
>
> Information de débogage supplémentaire :
> ximagesink.c(469): gst_ximagesink_ximage_new (): /GstPipeline:pipeline0/GstXImageSink:ximagesink0:
>
> could not get shared memory of 0 bytes
>
>
> I am using the latest Gstreamer in Mac OS X (downloaded using Macports). I was able to run a demo like "gst-launch videotestsrc ! ximagesink" that launches a XWindow video so what's wrong?
>
> Thanks,
> Mike
>
> Michaël
> michaeld at netcourrier.com
>
>
> ------------------------------------------------------------------------------
> Download Intel® Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>   





More information about the gstreamer-devel mailing list