<div>Hi guys,</div>
<div>I finally figured out how to play the rgb file:</div>
<div><br>gst-launch-0.10 filesrc location=/snowboard-jum-352x288x75.rgb blocksize=304128 ! video/x-raw-rgb,width=352,height=288,depth=24,framerate=&#39;(fraction)&#39;15/1,bpp=24,endianness=4321,red_mask=255,green_mask=65280,blue_mask=16711680 ! ffmpegcolorspace ! video/x-raw-rgb,width=352,height=288,framerate=&#39;(fraction)&#39;15/1 ! ximagesink 
<br>&nbsp;</div>
<div>if ffmpegcolorspace is nt mentioned the pipeline:</div>
<div>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">gst-launch-0.10 filesrc location=/snowboard-jum-352x288x75.rgb blocksize=304128 ! video/x-raw-rgb,width=352,height=288,framerate=&#39;(fraction)&#39;15/1 ! ximagesink &amp;
</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">The video doesnt display correctly.</span></p>
<p class="MsoNormal" style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"><span style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></span>&nbsp;</p></div>
<div>What exactly does ffmpegcolorspace do ? there is no colorspace conversion reqd. (rgb is playable on ximagesink) - is it reqd for some bpp conversion( my display is configured to 16 bpp and the video is at 24 bpp)</div>

<div>&nbsp;</div>
<div>Thanks and Cheers</div>
<div>Gaurav</div>
<div>&nbsp;</div>
<div><span class="gmail_quote">On 8/3/07, <b class="gmail_sendername">Gaurav Singh</b> &lt;<a href="mailto:gausinghnsit@gmail.com">gausinghnsit@gmail.com</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>Hi Stefan, Hi Tim,</div>
<div>I tried the given pipeline and it worked after 1 modification. I removed the depth field </div>
<div>&nbsp;</div>
<div>gst-launch-0.10 filesrc location=/birch.rgb blocksize=12672 ! video/x-raw-rgb,framerate=&#39;(fraction)&#39;75/1,width=88,height=72 ! ximagesink<br>&nbsp;</div>
<div>gst-inspect ximagesink gives:</div>
<div>sink</div>
<div>&nbsp;&nbsp;&nbsp; Capabilities:<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; video/x-raw-rgb<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; framerate: [ 0/1, 2147483647/1 ]<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; width: [ 1, 2147483647 ]<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; height: [ 1, 2147483647 ]</div>
<div>&nbsp;</div>
<div>only these four caps should be specified in the caps filter.</div>
<div>&nbsp;</div>
<div>The prb i face now is of bpp. If my image is 32 bpp and my kernel configured to 16 bpp the image becomes garbled. I suspect both shud match for a clear image??</div>
<div>&nbsp;</div>
<div>Thanks and Cheers</div><span class="sg">
<div>Gaurav<br>&nbsp;</div></span>
<div><span class="e" id="q_1142ba041a38ad86_2">
<div><span class="gmail_quote">On 8/2/07, <b class="gmail_sendername">Stefan Kost</b> &lt;<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:ensonic@hora-obscura.de" target="_blank">ensonic@hora-obscura.de
</a>&gt; wrote:</span> 
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">hi,<br><br>I see two things missing. As the rgbfile has raw data, you need to specify the<br>bytesize of one frame in the blocksize property of filesrc. Then I would also 
<br>give a framerate and a bit-depth in the capsfilter,<br><br>gst-launch-0.10 filesrc location=/birch.rgb blocksize=57024 !<br>video/x-raw-rgb,width=144,height=132,depth=24,framerate=&#39;(fraction)&#39;15/1 !<br>ximagesink 
<br><br>Stefan<br><br>Gaurav Singh wrote:<br>&gt; Hi,<br>&gt;<br>&gt; I have cross compiled gstreamer 0.10.13 and X for arm and am trying to<br>&gt; play a rgb file using ximagesink. The pipeline used is:<br>&gt;<br>&gt; 
gst-launch-0.10 filesrc location=/birch.rgb !<br>&gt; video/x-raw-rgb,width=144,height=132 ! ximagesink<br>&gt; The following messages are received :<br>&gt;<br>&gt; Setting pipeline to PAUSED ...<br>&gt; Pipeline is PREROLLING ... 
<br>&gt;<br>&gt; (gst-launch-0.10:861): GStreamer-CRITICAL **: gst_caps_get_structure:<br>&gt; assertion `GST_IS_CAPS (caps)&#39; failed<br>&gt;<br>&gt; (gst-launch-0.10:861): GStreamer-CRITICAL **: gst_structure_get_int: 
<br>&gt; assertion `structure != NULL&#39; failed<br>&gt; ERROR: from element /pipeline0/ximagesink0: Failed to create output<br>&gt; image buffer of 0x0 pixels<br>&gt; Additional debug info:<br>&gt; ximagesink.c(1601): gst_ximagesink_show_frame (): /pipeline0/ximagesink0: 
<br>&gt; XServer allocated buffer size did not match input buffer<br>&gt; ERROR: pipeline doesn&#39;t want to preroll.<br>&gt; Setting pipeline to NULL ...<br>&gt; FREEING pipeline ...<br>&gt;<br>&gt;<br>&gt;<br>&gt; The following pipeline works fine: 
<br>&gt;<br>&gt;&nbsp;&nbsp;gst-launch-0.10 videotestsrc ! video/x-raw-rgb,width=144,height=132 !<br>&gt; ximagesink<br>&gt;<br>&gt; Also playing yuv files using ffmpegcolorspace:<br>&gt;<br>&gt; gst-launch-0.10 filesrc location=/capture1.yuv ! video/x-raw-yuv ! 
<br>&gt; ffmpegcolorspace ! ximagesink<br>&gt;<br>&gt; says:<br>&gt;<br>&gt; Setting pipeline to PAUSED ...<br>&gt; Pipeline is PREROLLING ...<br>&gt; ERROR: from element /pipeline0/ffmpegcsp0: not negotiated<br>&gt; Additional debug info: 
<br>&gt; ../../../../libs/gst/base/gstbasetransform.c(1497):<br>&gt; gst_base_transform_handle_buffer (): /pipeline0/ffmpegcsp0:<br>&gt; not negotiated<br>&gt; ERROR: pipeline doesn&#39;t want to preroll.<br>&gt; Setting pipeline to NULL ... 
<br>&gt; FREEING pipeline ...<br>&gt;<br>&gt; I have tried changing caps of ximagesink to All but the prb is<br>&gt; unresolved. Please advise!<br>&gt;<br>&gt;<br>&gt;<br>&gt; Have a Nice Day!<br>&gt;<br>&gt; Gaurav<br>&gt; 
<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; ------------------------------------------------------------------------<br>&gt;<br>&gt; ------------------------------------------------------------------------- 
<br>&gt; This SF.net email is sponsored by: Splunk Inc.<br>&gt; Still grepping through log files to find problems?&nbsp;&nbsp;Stop.<br>&gt; Now Search log events and configuration files using AJAX and a browser.<br>&gt; Download your FREE copy of Splunk now &gt;&gt;&nbsp;&nbsp; 
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://get.splunk.com/" target="_blank">http://get.splunk.com/</a><br>&gt;<br>&gt;<br>&gt; ------------------------------------------------------------------------
<br>&gt;<br>&gt; _______________________________________________<br>&gt; gstreamer-devel mailing list<br>&gt; <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:gstreamer-devel@lists.sourceforge.net" target="_blank">
gstreamer-devel@lists.sourceforge.net</a><br>&gt; <a onclick="return top.js.OpenExtLink(window,event,this)" href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel 
</a><br><br></blockquote></div><br></span></div></blockquote></div><br>