[gst-devel] Conversion to ARGB32
Vincent Torri
Vincent.Torri at iecn.u-nancy.fr
Mon Apr 10 23:35:02 CEST 2006
hey,
maybe you should just link the ffmpegcolorspace and the fakesink with the
way described here :
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/section-caps-api.html
(section 8.3.2)
hope this helps
Vincent
On Tue, 11 Apr 2006, Zack Rusin wrote:
> Hey,
>
> I've just been toying around with playing some transformed movies on a
> custom canvas and I need each frame in ARGB32. I'm trying to use
> capsfilter along ffmpegcolorspace to make sure that in my handoff
> callback I'm actually getting the right format.
>
> The problem is that the code I have in the callback
> for "new-decoded-pad" for it is freezing the pipeline (handoff callback
> is never called). To be more specific setting the caps on the
> capsfilter seems to cause it. If I avoid the g_object_set call the
> handoff callback is called fine (but of course with yuv data which
> doesn't work for me).
>
> The attached minimal snippet (email always mangles code so that's why
> the attachment) shows what I basically do in the "new-decoded-pad"
> handler. I'm sure it's something silly but I don't see what it could be
> be so I'd really appreciate some insight here. The line marked with
> FIXME looks to be the culprit.
>
> Zack
>
> --
> Lottery: A tax on people who are bad at math.
>
More information about the gstreamer-devel
mailing list