[gst-devel] swap Red and Blue

Mark Nauwelaerts manauw at skynet.be
Tue Nov 4 17:01:21 CET 2008


Marc Leeman wrote:
> I am using the following chain to convert RFB to MPEG2 and stream it
> back out:
> 
> gst-launch -v rfbsrc host=10.4.0.216 port=5901 password=1234 \
>     ! ffmpegcolorspace \
>     ! ffenc_mpeg2video bitrate=5000000 \
>     ! flutsmux \
>     ! udpsink host=226.255.12.0 port=5000
> 
> However, my red and blue is swapped. Is there a filter that can
> compensate for this?

entrans' rbswap (basically a 'caps setter') may be of help
(see e.g. 
http://gentrans.sourceforge.net/docs/head/gst-entrans-plugins/html/gst-entrans-plugins-rbswap.html).

Mark.





More information about the gstreamer-devel mailing list