After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 699439 - v4l2sink: issue trying to show decoded jpeg image
v4l2sink: issue trying to show decoded jpeg image
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal critical
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-05-02 07:02 UTC by pavan goyal
Modified: 2014-06-16 15:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
log is attached with gst-debug:8 (301.19 KB, application/octet-stream)
2013-05-02 11:13 UTC, pavan goyal
Details

Description pavan goyal 2013-05-02 07:02:15 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
Comment 1 José Alburquerque 2013-05-02 10:58:01 UTC
This should have been filed in the GStreamer product under the good plugins component I guess.
Comment 2 Tim-Philipp Müller 2013-05-02 11:06:31 UTC
Could you provide a GST_DEBUG=*:6 log please?
Comment 3 pavan goyal 2013-05-02 11:13:40 UTC
Created attachment 243026 [details]
log is attached with gst-debug:8
Comment 4 pavan goyal 2013-05-03 03:31:48 UTC
Any clue from log!
Comment 5 Sebastian Dröge (slomo) 2013-05-03 08:58:37 UTC
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):
Comment 6 Nicolas Dufresne (ndufresne) 2014-03-29 21:05:03 UTC
Would it be possible to check if that works now in 1.2 or git master ?
Comment 7 Nicolas Dufresne (ndufresne) 2014-05-13 20:22:15 UTC
Any news ?
Comment 8 Nicolas Dufresne (ndufresne) 2014-06-16 14:40:07 UTC
Ping ?
Comment 9 pavan goyal 2014-06-16 15:23:06 UTC
its working now. issue can be closed. Thanks for the support.
Comment 10 Nicolas Dufresne (ndufresne) 2014-06-16 15:35:55 UTC
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 ...