<div dir="ltr">I also used gst_base_sink_set_blocksize() to set the blocksize when the sink is in pull mode. Nothing changed.<div><br></div><div>Thanks,</div><div>Kiran</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 13, 2016 at 10:51 PM, Thornton, Keith <span dir="ltr"><<a href="mailto:keith.thornton@zeiss.com" target="_blank">keith.thornton@zeiss.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="DE" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif"">Hi,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif"">I think you are mistaken when you say “</span><span lang="EN-US" style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#666666">The gst_app_sink_pull_sample(),
 gst_sample_get_buffer() and gst_buffer_map() hands out only streams which are of size 4096 bytes each”.
</span><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#666666">I am using these APIs to pass full 1920 * 1080 frames. You should provide more details so that we can maybe see what is going wrong.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#666666"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:"Arial","sans-serif""><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Von:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> gstreamer-devel [mailto:<a href="mailto:gstreamer-devel-bounces@lists.freedesktop.org" target="_blank">gstreamer-devel-bounces@lists.freedesktop.org</a>]
<b>Im Auftrag von </b>Kiran Kumar<br>
<b>Gesendet:</b> Montag, 13. Juni 2016 21:20<br>
<b>An:</b> <a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<b>Betreff:</b> Grabbing frames from GStreamer pipeline<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#666666">Hi,</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I am new to this forum. <span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#666666"><br>
<br>
I am trying to pull frames from gstreamer pipeline and feed it to user application. I am using appsink pad to pull out the frames while the pipeline is in the PLAYING state.<br>
<br>
Problem:<br>
1. The gst_app_sink_pull_sample(), gst_sample_get_buffer() and gst_buffer_map() hands out only streams which are of size 4096 bytes each. I tried changing the blocksize but, there is no effect.<br>
<br>
My goal:<br>
To extract or pull a single frame into a single buffer and feed this buffer as input to my application which does some image processing (I am not using OpenCV).<br>
<br>
I want to pull every frame from the video-source, populate the buffer (each frame is associated with a particular buffer) and finally feed the buffer to my application. I don't want to dump this frame into a file in my filesystem.<br>
<br>
Questions:<br>
1. Are there any other ways in which I can achieve my goal without using appsink?<br>
2. If using appsink is the only way I can pull data from gstreamer, how can I achieve my goal using appsink?</span><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I appreciate any guidance.<span style="font-size:9.0pt;font-family:"Arial","sans-serif";color:#666666"><br>
<br>
Thanks in advance.<br>
Kiran</span><u></u><u></u></p>
</div>
</div>
</div></div></div>
</div>

<br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div>