GNOME Bugzilla – Bug 699439
v4l2sink: issue trying to show decoded jpeg image
Last modified: 2014-06-16 15:35:55 UTC
Hi, when i tried to decode a jpeg image with below pipeline, i get erros, pipeline: ========= root@pavan:~# gst-launch-1.0 filesrc location=colorbar.jpg ! jpegparse ! jpegdec ! videoconvert ! videoscale ! imagefreeze ! v4l2sink Setting pipeline to PAUSED ... Pipeline is PREROLLING ... ERROR: from element /GstPipeline:pipeline0/GstFileSrc:filesrc0: Internal data flow error. Additional debug info: gstbasesrc.c(2791): gst_base_src_loop (): /GstPipeline:pipeline0/GstFileSrc:filesrc0: streaming task paused, reason not-negotiated (-4) ERROR: pipeline doesn't want to preroll. Setting pipeline to NULL ... Freeing pipeline ... root@pavan:~# i am using gstreamer-1.0.5. same works fine with gstreamer-0.10 please let me know what is the issue? am i missing something? Thanks & Regards, Pavan Goyal
This should have been filed in the GStreamer product under the good plugins component I guess.
Could you provide a GST_DEBUG=*:6 log please?
Created attachment 243026 [details] log is attached with gst-debug:8
Any clue from log!
Not much, could you rebuild your gstreamer with support for printf extensions (which should be the default when building against glibc, assuming glib is built properly) or build latest git master? That way the logs will contain the actual caps. From what it looks the problem is that v4l2sink does not support any caps that videoscale/videoconvert can output. Especially it looks like it does not support anything at all: 0:00:25.918332041 [333m 1730[00m 0x1853950 [36mINFO [00m [00m v4l2 gstv4l2object.c:1153:gst_v4l2_object_fill_format_list:<v4l2sink0>[00m got 0 format(s):
Would it be possible to check if that works now in 1.2 or git master ?
Any news ?
Ping ?
its working now. issue can be closed. Thanks for the support.
Thanks for your time, feel free to report again if you have issue, it's always appreciated. Don't be surprised of the "obsolete mark", but as we don't know exactly what fixed it ...