[gst-devel] example doesn't work

Norbert Stuhrmann stuhrman at stanford.edu
Sun Oct 10 09:08:29 CEST 2010


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




More information about the gstreamer-devel mailing list