<p dir="ltr"><br>
Le 16 juin 2016 4:06 PM, "JPM" <<a href="mailto:jpmelian@gmail.com">jpmelian@gmail.com</a>> a écrit :<br>
><br>
> Hi,<br>
><br>
> I am trying to convert a bayer frame to RGB frame with this pipeline but an<br>
> error appears :<br>
><br>
> C:\Windows\System32>gst-launch-1.0 -v filesrc location=E:/bayersample.bayer<br>
> blocksize=307200 !<br>
> video/x-bayer,format=bggr,width=640,height=480,framerate=1/1 ! bayer2rgb !<br>
> filesink location=E:/bayersample.rgb<br>
> Setting pipeline to PAUSED ...<br>
> Pipeline is PREROLLING ...<br>
> ERROR: from element /GstPipeline:pipeline0/GstCapsFilter:capsfilter0: Filter<br>
> caps do not completely specify the output format</p>
<p dir="ltr">> Additional debug info:<br>
> gstcapsfilter.c(348): gst_capsfilter_prepare_buf ():<br>
> /GstPipeline:pipeline0/GstCapsFilter:capsfilter0:<br>
> Output caps are unfixed: video/x-bayer, format=(string){ bggr, grbg, gbrg,<br>
> rggb }, width=(int)640, height=(int)480, framerate=(fraction)1/1<br>
> ERROR: pipeline doesn't want to preroll.<br>
> Setting pipeline to NULL ...<br>
> Freeing pipeline ...</p>
<p dir="ltr">Looks like a bug in the bayer2rgb caps transform function. Would it be possible to file a bug on <a href="http://bug.gnome.org">bug.gnome.org</a>, and make your sample image available?</p>
<p dir="ltr">><br>
> The file bayersample.bayer has 307200 bytes (640x480x1 byte).<br>
><br>
> Any help ?. Thanks and regards<br>
><br>
><br>
><br>
> --<br>
> View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Error-in-bayer2rgb-pipeline-tp4678094.html">http://gstreamer-devel.966125.n4.nabble.com/Error-in-bayer2rgb-pipeline-tp4678094.html</a><br>
> Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
> _______________________________________________<br>
> gstreamer-devel mailing list<br>
> <a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
> <a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</p>