[gst-devel] colorspace plugin (inside a c program)
Thomas Vander Stichele
thomas at apestaart.org
Mon Sep 15 07:18:06 CEST 2003
Hi Jeremy,
when can we see your app ? :) it sounds interesting.
> When working with the gstreamer fakesink buffer (without first passing
> through the colorspace plugin) I get approximately half the bytes I
> expect (I expect 720x480x3 bytes for 24bit color, 8 bit per color
> channel, on a 720x480 frame)
>
> What I get is 720x480 bytes of luminance information followed by 720x240
> of what looks like quarter-frame color information. I figured if I place
> the colorspace plugin into the pipeline it would help alleviate this.
> However, when I put the plugin into the pipeline between the decoder and
> the fakesink, nothing changes.
Yes, since fakesink accepts anything, colorspace will not be motivated
to change something :) Check gst_element_link_filtered; that way you can
specify what caps to use on the link between colorspace and fakesink.
Forcing a specific format that way will cause colorspace to do a
conversion.
Bear in mind that
a) colorspace in HEAD might be buggy, I have run into issues this
weekend
b) I have no clue what format to specify, but they should be basic caps.
Thomas
Dave/Dina : future TV today ! - http://davedina.apestaart.org/
<-*- thomas (dot) apestaart (dot) org -*->
Follow me down to the bushes dear
No one will know we'll disappear
I'll hold your hand we'll never tell
Our private little trip to hell tonight
<-*- thomas (at) apestaart (dot) org -*->
URGent, best radio on the net - 24/7 ! - http://urgent.rug.ac.be/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20030915/e4f64c43/attachment.pgp>
More information about the gstreamer-devel
mailing list