<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Message: 2<br>
Date: Mon, 14 May 2012 10:41:52 +0200<br>
From: Stefan Sauer &lt;<a href="mailto:ensonic@hora-obscura.de">ensonic@hora-obscura.de</a>&gt;<br>
Subject: Re: pngenc problem<br>
To: <a href="mailto:gstreamer-android@lists.freedesktop.org">gstreamer-android@lists.freedesktop.org</a><br>
Message-ID: &lt;<a href="mailto:4FB0C550.7040503@hora-obscura.de">4FB0C550.7040503@hora-obscura.de</a>&gt;<br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
On 05/14/2012 08:00 AM, Vikas Malhotra wrote:<br>
&gt; Hello everybody,<br>
&gt;<br>
&gt; I am trying to write a pipeline which generates thumbnails of video<br>
&gt; files using pngenc.<br>
&gt;<br>
&gt; My pipeline runs without any error but the output png image is of 0<br>
&gt; bytes size i.e. nothing was written onto it.<br>
&gt;<br>
&gt; Below given is my pipeline:<br>
&gt;<br>
&gt; filesrc location=video.avi ! decodebin ! ffmpegcolorspace ! pngenc !<br>
&gt; filesink location=video_thumb.png<br>
&gt;<br>
this won&#39;t work. You are trying to produce one ng for every frame and<br>
send them to the same file. Take a look at the snapshot feature in<br>
playbin2/camerabin2.<br>
<br>
Stefan<br>
<br></blockquote><br>
</div>Thanks a lot Stefan for your quick reply. <br><br>I have tried same pipeline for windows build (using same code base) and it runs correctly and produces desired results. <br>But on Android it is not working. <br>&quot;pngenc&quot; element never executes chain function. It stops after gst_pngenc_init function.<br>
<br>Further, I had a look at gst-plugins-base/tests/eaples/snapshot/snapshot.c source, but it uses gdk-pixbuf which (as far as i think) has not been included in gstreamer port for android.<br><br>Please help.<br><br>