glcolorscale problem with resizing

Matthew Waters ystreet00 at gmail.com
Thu Oct 1 04:22:43 PDT 2015


On 01/10/15 20:00, Hamdi Rakkez wrote:
> Hi list,
>
> I am using gstreamer-1.5.90 on ubuntu14.04.
>
> So here's the pipeline which intend to resize a video stream :
>
> gst-launch-1.0 videotestsrc num-buffers=500 !
> video/x-raw,format=RGBA,width=828,height=544 ! glupload ! glcolorscale
> ! capssetter caps="video/x-raw,format=RGBA,width=800,height=600"!
> gldownload ! glimagesink

capssetter is definitely not what you want here.  Try a capsfilter
instead.  capssetter will simply override the caps between the elements
where a capsfilter will make them negotiate to the requested caps.

Cheers
-Matt

> The problem is with *glcolorscale* along with the *capssetter* : If I
> put *width* and *height* other then the original ones (828 X 544 ) I
> get black frames.
>
> PS :
>
>   * The API which my gstreamer uses is OpenGL
>   * When preserving the same resolution I get the normal video stream.
>
> Best Regards,
> Hamdi

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20151001/e020cc62/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20151001/e020cc62/attachment.sig>


More information about the gstreamer-devel mailing list