<div dir="ltr"><div><p style="color:rgb(14,16,26);background:transparent;margin-top:0pt;margin-bottom:0pt"><span style="background:transparent;margin-top:0pt;margin-bottom:0pt">Please check the link: </span><a style="background:transparent;margin-top:0pt;margin-bottom:0pt;color:rgb(74,110,224)" target="_blank" href="https://github.com/intel/media-driver/issues/771" class="gmail-_e75a791d-denali-editor-page-rtfLink"><span style="background:transparent;margin-top:0pt;margin-bottom:0pt">https://github.com/intel/media-driver/issues/771</span></a></p><p style="color:rgb(14,16,26);background:transparent;margin-top:0pt;margin-bottom:0pt"><br></p><p style="color:rgb(14,16,26);background:transparent;margin-top:0pt;margin-bottom:0pt"><span style="background:transparent;margin-top:0pt;margin-bottom:0pt">If you would like to have vp9 encoder for KBL & CFL (Intel gen9.5 graphics platforms) in iHD media driver, this could be the only option:</span><a style="background:transparent;margin-top:0pt;margin-bottom:0pt;color:rgb(74,110,224)" target="_blank" href="https://github.com/intel/media-driver/pull/717" class="gmail-_e75a791d-denali-editor-page-rtfLink"><span style="background:transparent;margin-top:0pt;margin-bottom:0pt">https://github.com/intel/media-driver/pull/717</span></a></p><p style="color:rgb(14,16,26);background:transparent;margin-top:0pt;margin-bottom:0pt"><span style="background:transparent;margin-top:0pt;margin-bottom:0pt">It is still in my dev branch, currently not planned to integrate it in iHD master. </span></p></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 20, 2020 at 4:41 PM Patrick Cusack <<a href="mailto:patrickcusack@mac.com">patrickcusack@mac.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;">After making the changes, I was able to run the following command:<div><br></div><div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">gst-launch-1.0 -ev videotestsrc num-buffers=60 ! timeoverlay ! vaapivp9enc ! matroskamux ! filesink location=test.mkv</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">This worked successfully. The file played back fine on VLC.</span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures"><br></span></div><div style="margin:0px;font-stretch:normal;font-size:11px;line-height:normal;font-family:Menlo"><span style="font-variant-ligatures:no-common-ligatures">Patrick</span></div><div><br><blockquote type="cite"><div>On May 20, 2020, at 2:24 PM, Nicolas Dufresne <<a href="mailto:nicolas@ndufresne.ca" target="_blank">nicolas@ndufresne.ca</a>> wrote:</div><br><div><div style="text-align:left;direction:ltr"><div>Le mercredi 20 mai 2020 à 13:12 -0700, Patrick Cusack a écrit :</div><blockquote type="cite" style="margin:0px 0px 0px 0.8ex;border-left:2px solid rgb(114,159,207);padding-left:1ex"><div style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures">[root@localhost gstreamer-1.0]# LIBVA_DRIVER_NAME="i965" vainfo</span></div><div style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures">error: can't connect to X server!</span></div><div style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures">libva info: VA-API version 1.7.0</span></div><div style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures">libva info: User environment variable requested driver 'i965'</span></div><div style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures">libva info: Trying to open /usr/lib64/dri/<b>i965_drv_video.so</b></span></div><div style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures">libva info: Found init function __vaDriverInit_1_6</span></div><div style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures">libva info: va_openDriver() returns 0</span></div><div style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures">vainfo: VA-API version: 1.7 (libva 2.7.0.pre1)</span></div><div style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures">vainfo: Driver version: Intel i965 driver for Intel(R) Coffee Lake - 2.4.0</span></div><div style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures">vainfo: Supported profile and entrypoints</span></div></blockquote><div>[snip]</div><blockquote type="cite" style="margin:0px 0px 0px 0.8ex;border-left:2px solid rgb(114,159,207);padding-left:1ex"><div style="margin:0px;font-stretch:normal;line-height:normal"><span style="font-variant-ligatures:no-common-ligatures">      VAProfileVP9Profile0            :   VAEntrypointEncSlice</span></div></blockquote><div><br></div><div>In 1.16, iHD driver is masked as it includes some breaking change in the way the API is implemented. This will be unmasked in 1.18 (upcoming released). Though as you can see, The VP9 encoder is gone in the iHD driver (the new driver). It is not clear why the default driver was flipped without checking if that would break existing userspace. So basically, if you want to see the VP9 encoder, for now you have to do:</div><div><br></div><div style="margin-left:3ch"><pre>rm ~/.cache/gstreamer-1.0/registry.*</pre><pre>export LIBVA_DRIVER_NAME=i965</pre><pre>gst-inspect-1.0 vaapi</pre></div><div><br></div><div>In theory that should be sufficient.</div><div><br></div><div>Nicolas</div></div>
_______________________________________________<br>gstreamer-devel mailing list<br><a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br><a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br></div></blockquote></div><br></div></div>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div>thanks,</div><div>sree</div></div></div>