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