[gst-devel] Playing yuv/rgb files on Arm using ximagesink

Gaurav Singh gausinghnsit at gmail.com
Thu Aug 2 07:44:26 CEST 2007


Hi,

I have cross compiled gstreamer 0.10.13 and X for arm and am trying to play
a rgb file using ximagesink. The pipeline used is:

gst-launch-0.10 filesrc location=/birch.rgb !
video/x-raw-rgb,width=144,height=132 ! ximagesink
The following messages are received :

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...

(gst-launch-0.10:861): GStreamer-CRITICAL **: gst_caps_get_structure:
assertion `GST_IS_CAPS (caps)' failed

(gst-launch-0.10:861): GStreamer-CRITICAL **: gst_structure_get_int:
assertion `structure != NULL' failed
ERROR: from element /pipeline0/ximagesink0: Failed to create output image
buffer of 0x0 pixels
Additional debug info:
ximagesink.c(1601): gst_ximagesink_show_frame (): /pipeline0/ximagesink0:
XServer allocated buffer size did not match input buffer
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
FREEING pipeline ...



The following pipeline works fine:

 gst-launch-0.10 videotestsrc ! video/x-raw-rgb,width=144,height=132 !
ximagesink

Also playing yuv files using ffmpegcolorspace:

gst-launch-0.10 filesrc location=/capture1.yuv ! video/x-raw-yuv !
ffmpegcolorspace ! ximagesink

says:

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
ERROR: from element /pipeline0/ffmpegcsp0: not negotiated
Additional debug info:
../../../../libs/gst/base/gstbasetransform.c(1497):
gst_base_transform_handle_buffer (): /pipeline0/ffmpegcsp0:
not negotiated
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
FREEING pipeline ...

I have tried changing caps of ximagesink to All but the prb is unresolved.
Please advise!



Have a Nice Day!

Gaurav
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20070802/526015ea/attachment.htm>


More information about the gstreamer-devel mailing list