<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='(fraction)'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='(fraction)'15/1 ! ximagesink
<br> </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='(fraction)'15/1 ! ximagesink &
</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> </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> </div>
<div>Thanks and Cheers</div>
<div>Gaurav</div>
<div> </div>
<div><span class="gmail_quote">On 8/3/07, <b class="gmail_sendername">Gaurav Singh</b> <<a href="mailto:gausinghnsit@gmail.com">gausinghnsit@gmail.com</a>> 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> </div>
<div>gst-launch-0.10 filesrc location=/birch.rgb blocksize=12672 ! video/x-raw-rgb,framerate='(fraction)'75/1,width=88,height=72 ! ximagesink<br> </div>
<div>gst-inspect ximagesink gives:</div>
<div>sink</div>
<div> Capabilities:<br> video/x-raw-rgb<br> framerate: [ 0/1, 2147483647/1 ]<br> width: [ 1, 2147483647 ]<br> height: [ 1, 2147483647 ]</div>
<div> </div>
<div>only these four caps should be specified in the caps filter.</div>
<div> </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> </div>
<div>Thanks and Cheers</div><span class="sg">
<div>Gaurav<br> </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> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:ensonic@hora-obscura.de" target="_blank">ensonic@hora-obscura.de
</a>> 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='(fraction)'15/1 !<br>ximagesink
<br><br>Stefan<br><br>Gaurav Singh wrote:<br>> Hi,<br>><br>> I have cross compiled gstreamer 0.10.13 and X for arm and am trying to<br>> play a rgb file using ximagesink. The pipeline used is:<br>><br>>
gst-launch-0.10 filesrc location=/birch.rgb !<br>> video/x-raw-rgb,width=144,height=132 ! ximagesink<br>> The following messages are received :<br>><br>> Setting pipeline to PAUSED ...<br>> Pipeline is PREROLLING ...
<br>><br>> (gst-launch-0.10:861): GStreamer-CRITICAL **: gst_caps_get_structure:<br>> assertion `GST_IS_CAPS (caps)' failed<br>><br>> (gst-launch-0.10:861): GStreamer-CRITICAL **: gst_structure_get_int:
<br>> assertion `structure != NULL' failed<br>> ERROR: from element /pipeline0/ximagesink0: Failed to create output<br>> image buffer of 0x0 pixels<br>> Additional debug info:<br>> ximagesink.c(1601): gst_ximagesink_show_frame (): /pipeline0/ximagesink0:
<br>> XServer allocated buffer size did not match input buffer<br>> ERROR: pipeline doesn't want to preroll.<br>> Setting pipeline to NULL ...<br>> FREEING pipeline ...<br>><br>><br>><br>> The following pipeline works fine:
<br>><br>> gst-launch-0.10 videotestsrc ! video/x-raw-rgb,width=144,height=132 !<br>> ximagesink<br>><br>> Also playing yuv files using ffmpegcolorspace:<br>><br>> gst-launch-0.10 filesrc location=/capture1.yuv ! video/x-raw-yuv !
<br>> ffmpegcolorspace ! ximagesink<br>><br>> says:<br>><br>> Setting pipeline to PAUSED ...<br>> Pipeline is PREROLLING ...<br>> ERROR: from element /pipeline0/ffmpegcsp0: not negotiated<br>> Additional debug info:
<br>> ../../../../libs/gst/base/gstbasetransform.c(1497):<br>> gst_base_transform_handle_buffer (): /pipeline0/ffmpegcsp0:<br>> not negotiated<br>> ERROR: pipeline doesn't want to preroll.<br>> Setting pipeline to NULL ...
<br>> FREEING pipeline ...<br>><br>> I have tried changing caps of ximagesink to All but the prb is<br>> unresolved. Please advise!<br>><br>><br>><br>> Have a Nice Day!<br>><br>> Gaurav<br>>
<br>><br>><br>><br>><br>><br>><br>><br>><br>> ------------------------------------------------------------------------<br>><br>> -------------------------------------------------------------------------
<br>> This SF.net email is sponsored by: Splunk Inc.<br>> Still grepping through log files to find problems? Stop.<br>> Now Search log events and configuration files using AJAX and a browser.<br>> Download your FREE copy of Splunk now >>
<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://get.splunk.com/" target="_blank">http://get.splunk.com/</a><br>><br>><br>> ------------------------------------------------------------------------
<br>><br>> _______________________________________________<br>> gstreamer-devel mailing list<br>> <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>> <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>