Hi,<br><br>I'm using command<br> gst-launch-0.10 playbin uri=file:///home/prafull/downloads/sample_iPod.m4v<br><br>Here I'm using omx_audio sink and omx_video sink for playing audio and video. Here I'm able to render audio data but not video data. Here I'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> <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 ! "video/x-raw-yuv,format=(fourcc)UYVY,width=640,height=480,framerate=24/1"<br>> ! 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's why it is not able to negotiate caps. Where I should change to make caps negotiation proper between decoder and sink component.<br>
<br><br><br>On Tue, Dec 9, 2008 at 9:37 PM, Felipe Contreras <<a href="mailto:felipe.contreras@gmail.com">felipe.contreras@gmail.com</a>> wrote:<br>> On Tue, Dec 9, 2008 at 5:03 PM, prafull singh<br>> <<a href="mailto:singh.prafull0206@gmail.com">singh.prafull0206@gmail.com</a>> wrote:<br>
>> Hi Felipe,<br>>><br>>> Thanks for ur reply. Presently I'm testing only raw video files.<br>>> This is I'm testing with gst-launch tool with following command-<br>>><br>>> gst-launch-0.10 -v filesrc<br>
>> location=H264_raw/h264_bl_1.0__176x144_15.0fs_64kbps__001.264 !<br>>> omx_h264dec ! omx_videosink<br>>><br>>> Here omx_videosink is using openmaxIL render component. In this case<br>>> also I'm not able to render video stream, infact setcaps funtion in<br>
>> gstomx_videosink.c is not being called. I'm using raw h264 files so<br>>> there should not be issue of demuxer. Can u suggest this video sink<br>>> element in gstopenmax is working fine or I need to make some changes<br>
>> to play this raw video file.<br>><br>> The video sink is experimental, you would probably need to make some<br>> changes to properly handle the caps. Another option is to manually set<br>> the caps between omx_h264dec and omx_videosink.<br>
><br>> For example:<br>> omx_h264dec ! "video/x-raw-yuv,format=(fourcc)UYVY,width=640,height=480,framerate=24/1"<br>> ! omx_videosink<br>><br>> Also, if there's no demuxer then you would probably want to turn off<br>
> the timestamps in the decoder: omx_h264dec use-timestamps=false.<br>><br>> And finally you might try to use h264parse before the decoder.<br>><br>> --<br>> Felipe Contreras<br>><br><br>