Hi,<br><br>I&#39;m using command<br>&nbsp;gst-launch-0.10 playbin uri=file:///home/prafull/downloads/sample_iPod.m4v<br><br>Here I&#39;m using omx_audio sink and omx_video sink for playing audio and video. Here I&#39;m able to render audio data but not video data. Here I&#39;m getting warning<br>
<b>gstomx_base_videodec.c:settings_changed_cb <br><br>(gst-launch-0.10:7956): GStreamer-WARNING **: pad omxh264dec0:src returned caps which are not a real subset of its template caps<br></b>&nbsp; <b><br></b><br>(gst-launch-0.10:7672): GStreamer-WARNING **: pad omxh264dec0:src returned caps which are not a real subset of its template caps<br>
<br>(gst-launch-0.10:7672): GStreamer-WARNING **: pad omxh264dec0:src returned caps which are not a real subset of its template caps<br>gstomx_base_sink.c:handle_event <br>Pipeline is PREROLLED ...<br>Setting pipeline to PLAYING ...<br>
New clock: GstSystemClock<br>gstomx_base_sink.c:handle_event <br>gstomx_base_sink.c: got EOS eventgstomx_base_sink.c:render <br>gstomx_base_sink.c:render <br>gstomx_base_sink.c:render <br>gstomx_base_sink.c:render <br><br>
<b>I tried by manually setting caps but then also not working</b>.<br>omx_h264dec ! &quot;video/x-raw-yuv,format=(fourcc)UYVY,width=640,height=480,framerate=24/1&quot;<br>&gt; ! omx_videosink<br><br>Actually I observed that maximum range of framerate in gstomx_base_video_decoder.c src Template is 30/1 but by setting_changed return value is more than this range that&#39;s why it is not able to negotiate caps. Where I should change to make caps negotiation proper between&nbsp; decoder and sink component.<br>
<br><br><br>On Tue, Dec 9, 2008 at 9:37 PM, Felipe Contreras &lt;<a href="mailto:felipe.contreras@gmail.com">felipe.contreras@gmail.com</a>&gt; wrote:<br>&gt; On Tue, Dec 9, 2008 at 5:03 PM, prafull singh<br>&gt; &lt;<a href="mailto:singh.prafull0206@gmail.com">singh.prafull0206@gmail.com</a>&gt; wrote:<br>
&gt;&gt; Hi Felipe,<br>&gt;&gt;<br>&gt;&gt; &nbsp; Thanks for ur reply. Presently I&#39;m testing only raw video files.<br>&gt;&gt; This is I&#39;m testing with gst-launch tool with following command-<br>&gt;&gt;<br>&gt;&gt; gst-launch-0.10 -v filesrc<br>
&gt;&gt; location=H264_raw/h264_bl_1.0__176x144_15.0fs_64kbps__001.264 &nbsp;!<br>&gt;&gt; omx_h264dec ! omx_videosink<br>&gt;&gt;<br>&gt;&gt; Here omx_videosink is using openmaxIL render component. In this case<br>&gt;&gt; also I&#39;m not able to render video stream, infact setcaps funtion in<br>
&gt;&gt; gstomx_videosink.c is not being called. I&#39;m using raw h264 files so<br>&gt;&gt; there should not be issue of demuxer. Can u suggest this video sink<br>&gt;&gt; element in gstopenmax is working fine or I need to make some changes<br>
&gt;&gt; to play this raw video file.<br>&gt;<br>&gt; The video sink is experimental, you would probably need to make some<br>&gt; changes to properly handle the caps. Another option is to manually set<br>&gt; the caps between omx_h264dec and omx_videosink.<br>
&gt;<br>&gt; For example:<br>&gt; omx_h264dec ! &quot;video/x-raw-yuv,format=(fourcc)UYVY,width=640,height=480,framerate=24/1&quot;<br>&gt; ! omx_videosink<br>&gt;<br>&gt; Also, if there&#39;s no demuxer then you would probably want to turn off<br>
&gt; the timestamps in the decoder: omx_h264dec use-timestamps=false.<br>&gt;<br>&gt; And finally you might try to use h264parse before the decoder.<br>&gt;<br>&gt; --<br>&gt; Felipe Contreras<br>&gt;<br><br>