[gst-devel] example doesn't work

Norbert Stuhrmann stuhrman at stanford.edu
Sun Oct 17 18:15:11 CEST 2010


Hi,

I use snapshot=false for pngenc during the creation of the files. All 
1000 files are created. pngdec which I use in the video creation 
pipeline does not have a property snapshot. Aslo, judging from the 
execution time, I have the impression that all images run through the 
pipeline somehow.

Norbert



On 10/17/2010 06:28 AM, thiagossantos at gmail.com wrote:
>
>
> On Wed, Oct 13, 2010 at 8:41 PM, Norbert Stuhrmann
> <stuhrman at stanford.edu <mailto: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
>     <mailto: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
>     <mailto:gstreamer-devel at lists.sourceforge.net>
>     https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
>
>
>
> --
> Thiago Sousa Santos
>
>
>
> ------------------------------------------------------------------------------
> Download new Adobe(R) Flash(R) Builder(TM) 4
> The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
> Flex(R) Builder(TM)) enable the development of rich applications that run
> across multiple browsers and platforms. Download your free trials today!
> http://p.sf.net/sfu/adobe-dev2dev
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel





More information about the gstreamer-devel mailing list