<div dir="ltr">Hi Everyone,<br> <br> I have develop demuxer which pull data from filesrc then I parse data inside my demuxer .<br> I have implemented activate_pull and _loop() ..so to pull data from Filesrc<br> I am able to pull data and parse header , but after parsing data when i am trying to push<br>
data into decoder.....I see nothing happening ( same pipeline work with gstremer QTdemux element.)<br> <br> Inside _loop function I have implemented<br> 1. find_video_cap() ..which will find appropriate cap <br>
2. gst_pad_set_caps (filter->srcpad_video, caps) which will set caps on srcpad<br> 3. gst_buffer_set_caps (buf,caps); which will set caps onto buffer<br> 4. Also set required field inside buffer<br>
gst_buffer_set_data ( buf, pData, nLength);<br> GST_BUFFER_SIZE (buf) = nLength;<br> GST_BUFFER_TIMESTAMP(buf) = pMilliSec/1000000; (convert milisec into nano sec and then insert)<br clear="all">
5. gst_pad_push (GST_PAD_CAST(filter->srcpad_video), buf); this will push buffer to decoder..<br><br> Is there somthing I am missing ..... Give me some clue..<br>-- <br>Thanks and warm Regards<br>Rahul S. Nikose<br>
09739949798
</div>