how to attach gstreamer vaapisink to wl_surface

Víctor M. Jáquez L. vjaquez at igalia.com
Tue Feb 2 06:26:30 PST 2016


On 02/02/16 at 03:33pm, pawan gupta wrote:
> i tried using waylandsink with vaapidecode already but i am getting below
> error.
> 
> root at localhost:/home/ngiCnct> gst-launch-1.0 filesrc
> location=/home/ngiCnct/NGI_Brand_Video_\[001-045\].mp4 ! qtdemux !
> vaapidecode ! waylandsink
> libva info: VA-API version 0.34.0
> libva info: va_getDriverName() returns 0
> libva info: User requested driver 'i965'
> libva info: Trying to open /usr/lib/dri/i965_drv_video.so
> libva info: Found init function __vaDriverInit_0_34
> libva info: va_openDriver() returns 0
> WARNING: erroneous pipeline: could not link vaapidecode0 to waylandsink0

Add a videoconvert before the waylandsink.

Obviously, the performance will be decreased sensibly.

vmjl

> 
> gst-inspect for waylandsink - sink = video/x-raw
> gst-inspect for waylandsink - src= video/x-surface
> 
> i am using gstreamer1.0 version APIs.

> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list