swap Red and Blue

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

swap Red and Blue

Marc Leeman

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?

--
  greetz, marc
Matter cannot be created or destroyed, nor can it be returned without a receipt.
crichton 2.6.26 #1 PREEMPT Tue Jul 29 21:17:59 CDT 2008 GNU/Linux

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel

signature.asc (196 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: swap Red and Blue

Mark Nauwelaerts-2
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.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel