glcolorscale problem with resizing
hamdi.rakez.selotec at gmail.com
Thu Oct 1 04:29:29 PDT 2015
I've tried already with *capsfilter* and I still have black frames.
The pipeline with capsfilter is :
gst-launch-1.0 videotestsrc num-buffers=500 !
video/x-raw,format=RGBA,width=828,height=544 ! glupload ! glcolorscale !
gldownload ! glimagesink
On Thu, Oct 1, 2015 at 12:22 PM, Matthew Waters <ystreet00 at gmail.com> wrote:
> 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.
> 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,
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gstreamer-devel