[gst-devel] Playing yuv/rgb files on Arm using ximagesink
Stefan Kost
ensonic at hora-obscura.de
Thu Aug 2 11:52:21 CEST 2007
hi,
I see two things missing. As the rgbfile has raw data, you need to specify the
bytesize of one frame in the blocksize property of filesrc. Then I would also
give a framerate and a bit-depth in the capsfilter,
gst-launch-0.10 filesrc location=/birch.rgb blocksize=57024 !
video/x-raw-rgb,width=144,height=132,depth=24,framerate='(fraction)'15/1 !
ximagesink
Stefan
Gaurav Singh wrote:
> 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
>
>
>
>
>
>
>
>
>
> ------------------------------------------------------------------------
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems? Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >> http://get.splunk.com/
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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