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