Hi,<br><br>In this case omx_h264dec gives output in format of video/x-raw-yuv-strided (NV12), and ffmpegcolorspace and videomixer are not able to accept this format as an input. So I have modified this pipeline yesterday as below.<br>
<br>sudo GST_DEBUG=2 gst-launch-0.10 rtspsrc location=rtsp://<a href="http://root:nlss123@192.168.1.24:554/axis-media/media.amp">root:nlss123@192.168.1.24:554/axis-media/media.amp</a> ! rtph264depay ! h264parse access-unit=true output-format=1 ! omx_h264dec ! <b>&quot;video/x-raw-yuv-strided,format=(fourcc)NV12, width=600, height=400, framerate=(fraction)30/1, rowstride=700&quot; ! stridetransform ! &quot;video/x-raw-yuv, format=(fourcc)NV12, width=600, height=400, framerate=(fraction)30/1&quot;</b> ! ffmpegcolorspace ! videomixer ! ffmpegcolorspace !<b> &quot;video/x-raw-yuv,format=(fourcc)NV12, width=600, height=400, framerate=(fraction)30/1&quot; ! stridetransform ! </b><b>&quot;video/x-raw-yuv-strided, format=(fourcc)NV12, width=600, height=400, framerate=(fraction)30/1, rowstride=700&quot;</b> ! v4l2sink sync=false<br>
<br>Still I am not able to get proper output. While running the pipeline I am getting below logs in that. Can you please help me out for the same?<br><br>Setting pipeline to PAUSED ...<br>Pipeline is live and does not need PREROLL ...<br>
Setting pipeline to PLAYING ...<br>New clock: GstSystemClock<br>0:00:02.082519531  1650  0x11ddc78 WARN                     omx gstomx_base_filter.c:742:buffer_alloc:&lt;omxh264dec0&gt; faking settings changed notification<br>
0:00:02.083129883  1650  0x11ddc78 ERROR               GST_CAPS gstpad.c:2203:gst_pad_get_caps_unlocked:&lt;omxh264dec0:src&gt; pad returned caps video/x-raw-yuv, width=(int)800, height=(int)600, format=(fourcc)NV12; video/x-raw-yuv-strided, width=(int)800, height=(int)600, format=(fourcc)NV12, rowstride=(int)[ 1, 2147483647 ] which are not a real subset of its template caps video/x-raw-yuv, format=(fourcc){ NV12 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]; video/x-raw-yuv-strided, format=(fourcc){ NV12 }, rowstride=(int)[ 0, 2147483647 ], width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ]<br>
<br>(gst-launch-0.10:1650): GStreamer-WARNING **: pad omxh264dec0:src returned caps which are not a real subset of its template caps<br><br>(gst-launch-0.10:1650): GStreamer-CRITICAL **: gst_pad_fixate_caps: assertion `!gst_caps_is_empty (caps)&#39; failed<br>
<br>(gst-launch-0.10:1650): GStreamer-CRITICAL **: gst_pad_set_caps: assertion `caps == NULL || gst_caps_is_fixed (caps)&#39; failed<br>in tiler_assisted_phase1_D2CReMap(phase1_d2c_remap.c:233)<br>Translated Address = 0x7ff89000<br>
&lt;=v2s==*[p=(nil)(0x0),l=0x0,s=0,fmt=0x0]<br>=(qb)=&gt;*[p=(nil)(0x7ff89000),l=0x0,s=0,fmt=0x0]<br>&lt;=(qb)= [p=(nil)(0x7ff89000),l=0x77000,s=0]<br>==(RBUF)=&gt;buf={n=1,id=0x0,<br> [p=(nil)(0x7ff89000),l=0x77000,s=0]}<br>
&lt;=(RBUF)==buf={n=1,id=0xda7a000,<br> [p=(nil)(0x7ff89000),l=0x77000,s=0]}<br>ptr=0x2b64b000 at tiler_assisted_phase1_D2CReMap(phase1_d2c_remap.c:357)<br>out(0x2b64b000) at tiler_assisted_phase1_D2CReMap(phase1_d2c_remap.c:381)<br>
in tiler_assisted_phase1_D2CReMap(phase1_d2c_remap.c:233)<br>Translated Address = 0x7ff12000<br>&lt;=v2s==*[p=(nil)(0x0),l=0x0,s=0,fmt=0x0]<br>=(qb)=&gt;*[p=(nil)(0x7ff12000),l=0x0,s=0,fmt=0x0]<br>&lt;=(qb)= [p=(nil)(0x7ff12000),l=0x77000,s=0]<br>
==(RBUF)=&gt;buf={n=1,id=0x0,<br> [p=(nil)(0x7ff12000),l=0x77000,s=0]}<br>&lt;=(RBUF)==buf={n=1,id=0xda7b000,<br> [p=(nil)(0x7ff12000),l=0x77000,s=0]}<br>ptr=0x2b792000 at tiler_assisted_phase1_D2CReMap(phase1_d2c_remap.c:357)<br>
out(0x2b792000) at tiler_assisted_phase1_D2CReMap(phase1_d2c_remap.c:381)<br>0:00:02.138183594  1650  0x11ddc78 WARN                     omx gstomx_base_filter.c:742:buffer_alloc:&lt;omxh264dec0&gt; faking settings changed notification<br>
<br>(gst-launch-0.10:1650): GStreamer-CRITICAL **: pad omxh264dec0:src returned NULL caps from getcaps function<br>0:00:02.146026611  1650  0x11cd510 WARN                 basesrc gstbasesrc.c:2550:gst_base_src_loop:&lt;udpsrc4&gt; error: Internal data flow error.<br>
0:00:02.146179199  1650  0x11cd510 WARN                 basesrc gstbasesrc.c:2550:gst_base_src_loop:&lt;udpsrc4&gt; error: streaming task paused, reason not-linked (-1)<br>=(tm)=&gt; [p=0x32e35000(0x0),l=0x415000,s=0]<br>
=(tm)=&gt; [p=0x33807000(0x0),l=0x415000,s=0]<br>=(tm)=&gt; [p=0x3412b000(0x0),l=0x415000,s=0]<br>=(tm)=&gt; [p=0x34a1c000(0x0),l=0x415000,s=0]<br>=(tm)=&gt; [p=0x35345000(0x0),l=0x415000,s=0]<br>=(tm)=&gt; [p=0x35d56000(0x0),l=0x415000,s=0]<br>
=(tm)=&gt; [p=0x365b2000(0x0),l=0x415000,s=0]<br>=(tm)=&gt; [p=0x36ed4000(0x0),l=0x415000,s=0]<br>=(tm)=&gt; [p=0x37852000(0x0),l=0x415000,s=0]<br>=(tm)=&gt; [p=0x381fd000(0x0),l=0x415000,s=0]<br>=(tm)=&gt; [p=0x38aa1000(0x0),l=0x415000,s=0]<br>
=(tm)=&gt; [p=0x39323000(0x0),l=0x415000,s=0]<br>=(tm)=&gt; [p=0x39c02000(0x0),l=0x415000,s=0]<br>=(tm)=&gt; [p=0x3a4e1000(0x0),l=0x415000,s=0]<br>=(tm)=&gt; [p=0x3ade0000(0x0),l=0x415000,s=0]<br>=(tm)=&gt; [p=0x3b77a000(0x0),l=0x415000,s=0]<br>
=(tm)=&gt; [p=0x3bfe4000(0x0),l=0x415000,s=0]<br>=(tm)=&gt; [p=0x3c901000(0x0),l=0x415000,s=0]<br>=(tm)=&gt; [p=0x3d2db000(0x0),l=0x415000,s=0]<br>=(tm)=&gt; [p=0x3dc16000(0x0),l=0x415000,s=0]<br>=(tm)=&gt; [p=0x3e517000(0x0),l=0x415000,s=0]<br>
=(tm)=&gt; [p=0x3ee52000(0x0),l=0x415000,s=0]<br><br>Thanks,<br>Deep Shah<br>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Apr 23, 2012 at 7:08 PM, Felipe Contreras <span dir="ltr">&lt;<a href="mailto:felipe.contreras@gmail.com" target="_blank">felipe.contreras@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Thu, Apr 19, 2012 at 2:48 PM, Deep Shah &lt;<a href="mailto:deep.shah@sibridgetech.com">deep.shah@sibridgetech.com</a>&gt; wrote:<br>

&gt; Hi Team,<br>
&gt;<br>
&gt; I am trying to connect omx_h264dec ( H264 hardware accelerator decoder for<br>
&gt; panda board ) to videomixer plugin. I need to connect four RTSP streams to<br>
&gt; videomixer through hardware accelerator plugin of decoder.<br>
&gt;<br>
&gt; I am trying to play below pipeline<br>
&gt;<br>
&gt; rtspsrc location=rtsp://<a href="http://id:passwd@192.168.255.1:8554/uri" target="_blank">id:passwd@192.168.255.1:8554/uri</a> ! rtph264depay !<br>
&gt; h264parse access-unit=true ! omx_h264dec ! ffmpegcolorspace ! videomixer !<br>
&gt; v4l2sink<br>
&gt;<br>
&gt; But I am not able to run this pipeline. Can anyone please help me out for<br>
&gt; the same?<br>
<br>
</div></div>Maybe it&#39;s related to the caps negotiation; there&#39;s bytstream and avc<br>
formats. These are sort of new (at least with regards to gst-openmax),<br>
so AFAIK they have not been implemented there. You might want to force<br>
the caps, or hack the code to specify one or the other; your hardware<br>
might work only with bytestream for example.<br>
<br>
Also, it&#39;s usually useful to split the pipeline; say, receive the data<br>
from the payloader and save it to a file, and then try different<br>
pipelines to decode it.<br>
<br>
Cheers.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Felipe Contreras<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</font></span></blockquote></div><br></div>