how remove alpha channel

Sebastian Dröge sebastian at centricular.com
Sun Oct 26 03:15:43 PDT 2014


On Fr, 2014-10-24 at 10:39 -0700, Potoman wrote:
> Hello !
> 
> I'm a little lost on the goal of "videoconvert".
> 
> Does it allow to remove channel ?
> 
> In fact, I have a filesrc how load a png image.
> By pngdec and imagefreeze I create a video flux with 25/1 framerate.
> 
> After that, I make some snapshot of the pipe and that's work perfectly.
> 
> But my caps is ARGB.
> 
> I really need to have RGB caps for the end flux.
> 
> I try :
> 
> filesrc location=plop.png ! pngdec ! imagefreeze ! videoconvert !
> video/x-raw format=RGB ! appsink
> 
> But that doesn't work !

Why does it not work? You might've made a typo in the above pipeline, it
should be

> filesrc location=plop.png ! pngdec ! imagefreeze ! videoconvert ! video/x-raw,format=RGB ! appsink
(note the comma between raw and format)

If that still does not work, please provide some more information about
what happens. Like terminal output, GStreamer debug logs, etc.

-- 
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/20141026/5c3c1570/attachment.sig>


More information about the gstreamer-devel mailing list