Multifilesrc does not work with autovideoink and glimagesink

Hi,

I’m trying to play several images on a sequence while having the live preview. Unfortunately this throws an error as mentioned below:

Setting pipeline to PAUSED ...
Pipeline is PREROLLING ...
Got context from element 'sink': gst.gl.GLDisplay=context, gst.gl.GLDisplay=(GstGLDisplay)"\(GstGLDisplayCocoa\)\ gldisplaycocoa0";
ERROR: from element /GstPipeline:pipeline0/GstJpegDec:jpegdec0: No valid frames decoded before end of stream
Additional debug info:
../gst-libs/gst/video/gstvideodecoder.c(1418): gst_video_decoder_sink_event_default (): /GstPipeline:pipeline0/GstJpegDec:jpegdec0:
no valid frames found
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
Freeing pipeline ...

Using glimagesink

gst-launch-1.0 multifilesrc location="IMG_%04d.jpg" index=0001  caps="image/jpeg,framerate=1/6" ! jpegdec ! videoconvert ! videoscale ! glimagesink

using autovideosink

gst-launch-1.0 multifilesrc location="IMG_%04d.jpg" index=0001  caps="image/jpeg,framerate=1/6" ! jpegdec ! videoconvert ! videoscale ! autovideosink

How to eliminate this issue?

Thanks in advance.

Hi,
Please check if it works by using jpegparse and xvimagesink like:

$ gst-launch-1.0 multifilesrc location=output%03d.jpg ! jpegparse ! jpegdec ! videoconvert ! videorate  ! video/x-raw,framerate=30/1 ! xvimagesink

Works like a charm. Thanks.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.