multifilesrc and pnmdec problems

mariannasb mariannasb at yahoo.com.br
Tue Sep 8 23:48:38 PDT 2015


I have problems when trying to use the multifilesrc together with the pnmdec
(for with PPM files).
I typically get a "Internal data flow error" after reading the second image.
In rare cases it has read up to 5 images before giving the "Internal data
flow error".

If I convert all my images to PNG and use the pngdec instead it runs fine.

{{{
gst-launch-1.0 --gst-debug=multifilesrc:9,pnmdec:9 multifilesrc
location="thermal_hs_imgs/%d.ppm" start-index=1 ! pnmdec ! fakesink
0:00:00.163989095   696       0x676580 DEBUG           multifilesrc
gstmultifilesrc.c:229:gst_multi_file_src_getcaps:<multifilesrc0> returning
(NULL)
0:00:00.164631825   696       0x676580 DEBUG           multifilesrc
gstmultifilesrc.c:229:gst_multi_file_src_getcaps:<multifilesrc0> returning
(NULL)
Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
0:00:00.171544094   696       0x611000 DEBUG           multifilesrc
gstmultifilesrc.c:229:gst_multi_file_src_getcaps:<multifilesrc0> returning
(NULL)
0:00:00.171913368   696       0x611000 DEBUG           multifilesrc
gstmultifilesrc.c:381:gst_multi_file_src_get_filename: 1
0:00:00.172040705   696       0x611000 DEBUG           multifilesrc
gstmultifilesrc.c:414:gst_multi_file_src_create:<multifilesrc0> reading from
file "thermal_hs_imgs/1.ppm".
0:00:00.709596061   696       0x611000 DEBUG           multifilesrc
gstmultifilesrc.c:456:gst_multi_file_src_create:<multifilesrc0> read file
"thermal_hs_imgs/1.ppm".
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
0:00:02.302558752   696       0x611000 DEBUG           multifilesrc
gstmultifilesrc.c:381:gst_multi_file_src_get_filename: 2
0:00:02.302628301   696       0x611000 DEBUG           multifilesrc
gstmultifilesrc.c:414:gst_multi_file_src_create:<multifilesrc0> reading from
file "thermal_hs_imgs/2.ppm".
New clock: GstSystemClock
0:00:02.824296665   696       0x611000 DEBUG           multifilesrc
gstmultifilesrc.c:456:gst_multi_file_src_create:<multifilesrc0> read file
"thermal_hs_imgs/2.ppm".
ERROR: from element /GstPipeline:pipeline0/GstMultiFileSrc:multifilesrc0:
Internal data flow error.
Additional debug info:
/var/lib/jenkins/jobs/qt5022-cesium/workspace/build/tmp/work/bobcat_64-poky-linux/gstreamer1.0/git-r0/git/libs/gst/base/gstbasesrc.c(2949):
gst_base_src_loop (): /GstPipeline:pipeline0/GstMultiFileSrc:multifilesrc0:
streaming task paused, reason error (-5)
Execution ended after 0:00:00.522900228
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
Setting pipeline to NULL ...
Freeing pipeline ...
}}}



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/multifilesrc-and-pnmdec-problems-tp4673544.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list