Error in bayer2rgb pipeline

Nicolas Dufresne nicolas at ndufresne.ca
Fri Jun 17 01:15:43 UTC 2016


Le 16 juin 2016 4:06 PM, "JPM" <jpmelian at gmail.com> a écrit :
>
> Hi,
>
> I am trying to convert a bayer frame to RGB frame with this pipeline but
an
> error appears :
>
> C:\Windows\System32>gst-launch-1.0 -v filesrc
location=E:/bayersample.bayer
> blocksize=307200 !
> video/x-bayer,format=bggr,width=640,height=480,framerate=1/1 ! bayer2rgb !
> filesink location=E:/bayersample.rgb
> Setting pipeline to PAUSED ...
> Pipeline is PREROLLING ...
> ERROR: from element /GstPipeline:pipeline0/GstCapsFilter:capsfilter0:
Filter
> caps do not completely specify the output format

> Additional debug info:
> gstcapsfilter.c(348): gst_capsfilter_prepare_buf ():
> /GstPipeline:pipeline0/GstCapsFilter:capsfilter0:
> Output caps are unfixed: video/x-bayer, format=(string){ bggr, grbg, gbrg,
> rggb }, width=(int)640, height=(int)480, framerate=(fraction)1/1
> ERROR: pipeline doesn't want to preroll.
> Setting pipeline to NULL ...
> Freeing pipeline ...

Looks like a bug in the bayer2rgb caps transform function. Would it be
possible to file a bug on bug.gnome.org, and make your sample image
available?

>
> The file bayersample.bayer has 307200 bytes (640x480x1 byte).
>
> Any help ?. Thanks and regards
>
>
>
> --
> View this message in context:
http://gstreamer-devel.966125.n4.nabble.com/Error-in-bayer2rgb-pipeline-tp4678094.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160616/878598e5/attachment.html>


More information about the gstreamer-devel mailing list