<div dir="ltr">HI,<div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 15, 2016 at 9:37 PM, Alexsandrov Stanislav <span dir="ltr"><<a href="mailto:neko@nya.ai" target="_blank">neko@nya.ai</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">Hi.<br>
<br>
I'm trying to use two video cards for decoding h264: intel gpu and<br>
nvidia with proprietary driver + vdpau-vaapi. I have tried to launch two<br>
X servers with different displays, one for intel and second one for<br>
nvidia. So if i set environment variable DISPLAY everything works like a<br>
charm and at same time.<br>
<br>
#intel<br>
DISPLAY=:1 gst-launch .... ! vaapidecode !  vaapih264enc ! ....<br>
#nvidia<br>
DISPLAY=:2 gst-launch .... ! vaapidecode !  nvh264enc ! ....<br>
<br>
But i'm planning to use gstreamer-vaapi with multiple gpu inside single<br>
application with appsink/appsrc. So how to tell vaapidecode (and other<br>
vaapi elements) which video card(or display) to use without environment<br>
variables?<br>
<br>
I've looked at vaapisink element: it has "display-name" property. If i<br>
set this property then vaapidecode will reuse context created by<br>
vaapisink and will use same video card, but this property is specific to<br>
vaapisink only... so maybe there is some similar way to tell other vaapi<br>
elements which video card to use?<br></blockquote><div><br></div><div>Unfortunately we are missing this feature, please see this:</div><div><a href="https://bugzilla.gnome.org/show_bug.cgi?id=766704">https://bugzilla.gnome.org/show_bug.cgi?id=766704</a><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">
______________________________<wbr>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.<wbr>freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/<wbr>mailman/listinfo/gstreamer-<wbr>devel</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Regards,<br><br>Sreerenj Balachandran<br>Intel Open Source Technology Center</div>
</div></div>