issue with using glcolorscale
Matthew Waters
ystreet00 at gmail.com
Sat Jul 16 00:18:33 UTC 2016
On 15/07/16 23:59, xargon wrote:
> I am trying to find a way to do video scaling on the GPU and the only thing I
> could find was the glcolorscale filter. I am running streamer 1.8.0 on my
> ARM device and I tried to execute the following:
>
> gst-launch-1.0 -v videotestsrc ! "video/x-raw-yuv" | glcolorscale !
> ximagesink
1. video/x-raw-yuv caps aren't valid anymore in Gst 1.0. They are just
video/x-raw,format=??? now.
2. To be able to use glcolorscale with raw pipelines, you either need to
surround it in glupload/gldownload/glcolorconvert or place it in a
glfilterbin.
e.g. videotestsrc ! glfilterbin filter=glcolorscale ! ximagesink; or
videotestsrc ! glupload ! glcolorconvert ! glcolorscale ! glcolorconvert
! gldownload ! ximagesink
Cheers
-Matt
> This is an example that I found in the documentation for glcolorscale but it
> returns an error:
>
> "Could not return videotestsrc0 to glcolorscale0"
>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/issue-with-using-glcolorscale-tp4678695.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160716/bf1c8c29/attachment.sig>
More information about the gstreamer-devel
mailing list