Forcing Gstreamer to

Sebastian Dröge sebastian at centricular.com
Wed Apr 22 06:49:54 PDT 2015


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150422/d024ba49/attachment.sig>


More information about the gstreamer-devel mailing list