gstreamer vaapi and multiple video cards

Sreerenj Balachandran bsreerenj at gmail.com
Tue Aug 16 07:21:26 UTC 2016


HI,

On Mon, Aug 15, 2016 at 9:37 PM, Alexsandrov Stanislav <neko at nya.ai> wrote:

> Hi.
>
> I'm trying to use two video cards for decoding h264: intel gpu and
> nvidia with proprietary driver + vdpau-vaapi. I have tried to launch two
> X servers with different displays, one for intel and second one for
> nvidia. So if i set environment variable DISPLAY everything works like a
> charm and at same time.
>
> #intel
> DISPLAY=:1 gst-launch .... ! vaapidecode !  vaapih264enc ! ....
> #nvidia
> DISPLAY=:2 gst-launch .... ! vaapidecode !  nvh264enc ! ....
>
> But i'm planning to use gstreamer-vaapi with multiple gpu inside single
> application with appsink/appsrc. So how to tell vaapidecode (and other
> vaapi elements) which video card(or display) to use without environment
> variables?
>
> I've looked at vaapisink element: it has "display-name" property. If i
> set this property then vaapidecode will reuse context created by
> vaapisink and will use same video card, but this property is specific to
> vaapisink only... so maybe there is some similar way to tell other vaapi
> elements which video card to use?
>

Unfortunately we are missing this feature, please see this:
https://bugzilla.gnome.org/show_bug.cgi?id=766704



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



-- 
Regards,

Sreerenj Balachandran
Intel Open Source Technology Center
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160816/d78c9a29/attachment-0001.html>


More information about the gstreamer-devel mailing list