how to attach gstreamer vaapisink to wl_surface

pawan gupta pawan.ec at gmail.com
Tue Feb 2 19:53:24 PST 2016


videoconvert sink does not support X-Surface which is the output of
videoconvert.
Is there any other way to play mp4 with h264 encoded data using gsteamer
where i get frames in application to play with.

On Tue, Feb 2, 2016 at 7:56 PM, Víctor M. Jáquez L. <vjaquez at igalia.com>
wrote:

> 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
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>



-- 
Regards,
Pawan
----Chaho to sab kucch hai aasan---
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160203/6232bd7a/attachment.html>


More information about the gstreamer-devel mailing list