<br><br><div class="gmail_quote">On Sun, Oct 17, 2010 at 1:15 PM, Norbert Stuhrmann <span dir="ltr">&lt;<a href="mailto:stuhrman@stanford.edu">stuhrman@stanford.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

Hi,<br>
<br>
I use snapshot=false for pngenc during the creation of the files. All<br>
1000 files are created. pngdec which I use in the video creation<br>
pipeline does not have a property snapshot. Aslo, judging from the<br>
execution time, I have the impression that all images run through the<br>
pipeline somehow.<br></blockquote><div><br>Sorry, misread your launchline.<br><br>You need to provide a framerate to pngdec, otherwise it will assume it is a single image decoding and push EOS right after the first frame.<br>

<br>Something like this should work:<br>gst-launch multifilesrc location=/tmp/test%05d.png caps=&quot;image/png, framerate=25/1&quot; ! pngdec ! ffmpegcolorspace ! autovideosink<br><br><br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


<br>
Norbert<br>
<div class="im"><br>
<br>
<br>
On 10/17/2010 06:28 AM, <a href="mailto:thiagossantos@gmail.com">thiagossantos@gmail.com</a> wrote:<br>
&gt;<br>
&gt;<br>
&gt; On Wed, Oct 13, 2010 at 8:41 PM, Norbert Stuhrmann<br>
</div><div><div></div><div class="h5">&gt; &lt;<a href="mailto:stuhrman@stanford.edu">stuhrman@stanford.edu</a> &lt;mailto:<a href="mailto:stuhrman@stanford.edu">stuhrman@stanford.edu</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     Hi,<br>
&gt;<br>
&gt;     another person was able to confirm this on another machine. Does<br>
&gt;     somebody know why this isn&#39;t working?<br>
&gt;<br>
&gt;<br>
&gt; Try setting snapshot=false on pngenc. By default, pngenc sends an EOS<br>
&gt; after a frame is encoded.<br>
&gt;<br>
&gt;<br>
&gt;     Thanks,<br>
&gt;<br>
&gt;       Norbert<br>
&gt;<br>
&gt;<br>
&gt;     On 10/10/2010 12:08 AM, Norbert Stuhrmann wrote:<br>
&gt;      &gt; Hi,<br>
&gt;      &gt;<br>
&gt;      &gt; I tried the example on<br>
&gt;      &gt; <a href="http://www.gstreamer.net/wiki/MultiFileSrc" target="_blank">http://www.gstreamer.net/wiki/MultiFileSrc</a><br>
&gt;      &gt;<br>
&gt;      &gt; However, the output file seems to contain only one frame.<br>
&gt;      &gt;<br>
&gt;      &gt; Here is what I do in detail:<br>
&gt;      &gt;<br>
&gt;      &gt; &gt;  gst-launch --version<br>
&gt;      &gt; gst-launch-0.10 version 0.10.28<br>
&gt;      &gt; GStreamer 0.10.28<br>
&gt;      &gt; <a href="https://launchpad.net/distros/ubuntu/+source/gstreamer0.10" target="_blank">https://launchpad.net/distros/ubuntu/+source/gstreamer0.10</a><br>
&gt;      &gt;<br>
&gt;      &gt; &gt;  gst-launch videotestsrc num-buffers=1000 !  pngenc<br>
&gt;     snapshot=false !<br>
&gt;      &gt;    multifilesink location=test%05d.pngSetting pipeline to PAUSED ...<br>
&gt;      &gt; Pipeline is PREROLLING ...<br>
&gt;      &gt; Pipeline is PREROLLED ...<br>
&gt;      &gt; Setting pipeline to PLAYING ...<br>
&gt;      &gt; New clock: GstSystemClock<br>
&gt;      &gt; Got EOS from element &quot;pipeline0&quot;.<br>
&gt;      &gt; Execution ended after 10432607595 ns.<br>
&gt;      &gt; Setting pipeline to PAUSED ...<br>
&gt;      &gt; Setting pipeline to READY ...<br>
&gt;      &gt; Setting pipeline to NULL ...<br>
&gt;      &gt; Freeing pipeline ...<br>
&gt;      &gt;<br>
&gt;      &gt; &gt;  gst-launch multifilesrc location=test%05d.png<br>
&gt;      &gt; caps=&quot;image/png,framerate=30/1,pixel-aspect-ratio=1/1&quot; !   pngdec !<br>
&gt;      &gt; ffmpegcolorspace ! video/x-raw-yuv,format=\(fourcc\)I420 !<br>
&gt;     theoraenc !<br>
&gt;      &gt; oggmux ! filesink location=output.ogg<br>
&gt;      &gt; Setting pipeline to PAUSED ...<br>
&gt;      &gt; Pipeline is PREROLLING ...<br>
&gt;      &gt; Pipeline is PREROLLED ...<br>
&gt;      &gt; Setting pipeline to PLAYING ...<br>
&gt;      &gt; New clock: GstSystemClock<br>
&gt;      &gt; Got EOS from element &quot;pipeline0&quot;.<br>
&gt;      &gt; Execution ended after 457879 ns.<br>
&gt;      &gt; Setting pipeline to PAUSED ...<br>
&gt;      &gt; Setting pipeline to READY ...<br>
&gt;      &gt; Setting pipeline to NULL ...<br>
&gt;      &gt; Freeing pipeline ...<br>
&gt;      &gt;<br>
&gt;      &gt; &gt;  ls -la output.ogg<br>
&gt;      &gt; -rw-r--r-- 1 norbert norbert 11127 2010-10-10 00:03 output.ogg<br>
&gt;      &gt;<br>
&gt;      &gt; If I open the file with totem I see only one frame (the first frame,<br>
&gt;      &gt; i.e. test0000.png) and the viedo length is 0 seconds.<br>
&gt;      &gt;<br>
&gt;      &gt;<br>
&gt;      &gt; Thanks,<br>
&gt;      &gt;<br>
&gt;      &gt; Norbert<br>
&gt;      &gt;<br>
&gt;      &gt;<br>
&gt;     ------------------------------------------------------------------------------<br>
&gt;      &gt; Beautiful is writing same markup. Internet Explorer 9 supports<br>
&gt;      &gt; standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2&amp;  L3.<br>
&gt;      &gt; Spend less time writing and  rewriting code and more time<br>
&gt;     creating great<br>
&gt;      &gt; experiences on the web. Be a part of the beta today.<br>
&gt;      &gt; <a href="http://p.sf.net/sfu/beautyoftheweb" target="_blank">http://p.sf.net/sfu/beautyoftheweb</a><br>
&gt;      &gt; _______________________________________________<br>
&gt;      &gt; gstreamer-devel mailing list<br>
&gt;      &gt; <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
</div></div>&gt;     &lt;mailto:<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a>&gt;<br>
<div class="im">&gt;      &gt; <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
&gt;<br>
&gt;<br>
&gt;     ------------------------------------------------------------------------------<br>
&gt;     Beautiful is writing same markup. Internet Explorer 9 supports<br>
&gt;     standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 &amp; L3.<br>
&gt;     Spend less time writing and  rewriting code and more time creating great<br>
&gt;     experiences on the web. Be a part of the beta today.<br>
&gt;     <a href="http://p.sf.net/sfu/beautyoftheweb" target="_blank">http://p.sf.net/sfu/beautyoftheweb</a><br>
&gt;     _______________________________________________<br>
&gt;     gstreamer-devel mailing list<br>
&gt;     <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
</div>&gt;     &lt;mailto:<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a>&gt;<br>
<div class="im">&gt;     <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Thiago Sousa Santos<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div>&gt; ------------------------------------------------------------------------------<br>
&gt; Download new Adobe(R) Flash(R) Builder(TM) 4<br>
&gt; The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly<br>
&gt; Flex(R) Builder(TM)) enable the development of rich applications that run<br>
&gt; across multiple browsers and platforms. Download your free trials today!<br>
&gt; <a href="http://p.sf.net/sfu/adobe-dev2dev" target="_blank">http://p.sf.net/sfu/adobe-dev2dev</a><br>
<div class="im">&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; gstreamer-devel mailing list<br>
&gt; <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
&gt; <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
<br>
<br>
------------------------------------------------------------------------------<br>
</div>Download new Adobe(R) Flash(R) Builder(TM) 4<br>
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly<br>
Flex(R) Builder(TM)) enable the development of rich applications that run<br>
across multiple browsers and platforms. Download your free trials today!<br>
<a href="http://p.sf.net/sfu/adobe-dev2dev" target="_blank">http://p.sf.net/sfu/adobe-dev2dev</a><br>
<div><div></div><div class="h5">_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>
<a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel" target="_blank">https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Thiago Sousa Santos<br>