Forcing Gstreamer to

Hamdi Rakkez hamdi.rakez.selotec at gmail.com
Mon May 11 04:27:48 PDT 2015


Hi Sebastian,

And if I want to force a x/raw-GRAY8 to x-bayer what should I do.

This pipeLine don't work :

gst-launch-1.0 -v filesrc location=VideoRef1088X870.avi ! avidemux !
capssetter caps='video/x-raw-bayer,format=gbrg,width=1088, height=870' !
bayer2rgb ! glimagesink

PS: VideoRef1088X870.avi is a x-raw video (GRA8) but it contains a bayer
images.

Thanks
Best Regards,
Hamdi


On Wed, Apr 22, 2015 at 3:01 PM, Hamdi Rakkez <hamdi.rakez.selotec at gmail.com
> wrote:

> Hi Sebastian,
>
> Thank you a lot.
>
> Best Regards,
> Hamdi
>
> On Wed, Apr 22, 2015 at 2:49 PM, Sebastian Dröge <
> sebastian at centricular.com> wrote:
>
>> On Di, 2015-04-21 at 12:27 +0100, Hamdi Rakkez wrote:
>> > Hi everyone,
>> >
>> > Is it possible to force gstreamer-1.0 to interpret the *video/x-bayer*
>> as a
>> > *video/x-raw-gray*.
>>
>> Yes, you can use the capssetter element to override caps. If that works
>> or not depends of course if the caps would be correct for the actual
>> buffer content, and elements don't read more/less data than they should.
>>
>> I.e. for bayer->gray8 you would have to set twice the width IIRC.
>>
>> --
>> Sebastian Dröge, Centricular Ltd · http://www.centricular.com
>>
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150511/18fb410d/attachment.html>


More information about the gstreamer-devel mailing list