<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">Thanks, I’ll look at that.</div><br class=""><blockquote type="cite" class=""><div dir="ltr" style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.4399995803833px;" class=""><div class=""><div style="color: rgb(14, 16, 26); margin-top: 0pt; margin-bottom: 0pt;" class=""><span style="margin-top: 0pt; margin-bottom: 0pt;" class="">Please check the link: </span><a target="_blank" href="https://github.com/intel/media-driver/issues/771" class="gmail-_e75a791d-denali-editor-page-rtfLink" rel="nofollow" link="external" style="font-size: 1em; color: rgb(74, 110, 224); margin-top: 0pt; margin-bottom: 0pt;"><span style="color: inherit; margin-top: 0pt; margin-bottom: 0pt;" class="">https://github.com/intel/media-driver/issues/771</span></a></div><div style="color: rgb(14, 16, 26); margin-top: 0pt; margin-bottom: 0pt;" class=""><br class=""></div><div style="color: rgb(14, 16, 26); margin-top: 0pt; margin-bottom: 0pt;" class=""><span style="margin-top: 0pt; margin-bottom: 0pt;" class="">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 target="_blank" href="https://github.com/intel/media-driver/pull/717" class="gmail-_e75a791d-denali-editor-page-rtfLink" rel="nofollow" link="external" style="font-size: 1em; color: rgb(74, 110, 224); margin-top: 0pt; margin-bottom: 0pt;"><span style="color: inherit; margin-top: 0pt; margin-bottom: 0pt;" class="">https://github.com/intel/media-driver/pull/717</span></a></div><div style="color: rgb(14, 16, 26); margin-top: 0pt; margin-bottom: 0pt;" class=""><span style="margin-top: 0pt; margin-bottom: 0pt;" class="">It is still in my dev branch, currently not planned to integrate it in iHD master. </span></div></div><div class=""><br class=""></div></div><br style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.4399995803833px;" class=""><div class="gmail_quote" style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.4399995803833px;"><div dir="ltr" class="gmail_attr">On Wed, May 20, 2020 at 4:41 PM Patrick Cusack <<a href="http://gstreamer-devel.966125.n4.nabble.com/user/SendEmail.jtp?type=node&node=4694251&i=0" target="_top" rel="nofollow" link="external" style="font-size: 1em; color: rgb(85, 26, 139);" class="">[hidden email]</a>> wrote:<br class=""></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; height: 300px; overflow-y: hidden;"><div style="overflow-wrap: break-word;" class="">After making the changes, I was able to run the following command:<div class=""><br class=""></div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">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;" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">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;" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">Patrick</span></div><div class=""><br class=""><blockquote type="cite" style="height: 300px; overflow-y: hidden;" class=""><div class="">On May 20, 2020, at 2:24 PM, Nicolas Dufresne <<a href="http://gstreamer-devel.966125.n4.nabble.com/user/SendEmail.jtp?type=node&node=4694251&i=1" target="_top" rel="nofollow" link="external" style="font-size: 1em; color: rgb(85, 26, 139);" class="">[hidden email]</a>> wrote:</div><br class=""><div class=""><div style="direction: ltr;" class=""><div class="">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-color: rgb(114, 159, 207); padding-left: 1ex;" class=""><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">[root@localhost gstreamer-1.0]# LIBVA_DRIVER_NAME="i965" vainfo</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">error: can't connect to X server!</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">libva info: VA-API version 1.7.0</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">libva info: User environment variable requested driver 'i965'</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">libva info: Trying to open /usr/lib64/dri/<b class="">i965_drv_video.so</b></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">libva info: Found init function __vaDriverInit_1_6</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">libva info: va_openDriver() returns 0</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">vainfo: VA-API version: 1.7 (libva 2.7.0.pre1)</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">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;" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">vainfo: Supported profile and entrypoints</span></div></blockquote><div class="">[snip]</div><blockquote type="cite" style="margin: 0px 0px 0px 0.8ex; border-left-color: rgb(114, 159, 207); padding-left: 1ex;" class=""><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">      VAProfileVP9Profile0            : VAEntrypointEncSlice</span></div></blockquote><div class=""><br class=""></div><div class="">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 class=""><br class=""></div><div style="margin-left: 3ch;" class=""><pre class="">rm ~/.cache/gstreamer-1.0/registry.*</pre><pre class="">export LIBVA_DRIVER_NAME=i965</pre><pre class="">gst-inspect-1.0 vaapi</pre></div><div class=""><br class=""></div><div class="">In theory that should be sufficient.</div><div class=""><br class=""></div><div class="">Nicolas</div></div>_______________________________________________<br class="">gstreamer-devel mailing list<br class=""><a href="http://gstreamer-devel.966125.n4.nabble.com/user/SendEmail.jtp?type=node&node=4694251&i=2" target="_top" rel="nofollow" link="external" style="font-size: 1em; color: rgb(85, 26, 139);" class="">[hidden email]</a><br class=""><a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank" rel="nofollow" link="external" style="font-size: 1em; color: rgb(85, 26, 139);" class="">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br class=""></div></blockquote><div class="shrink-quote">... [<a collapsed="2" style="font-size: 10.751999855041504px; color: rgb(85, 26, 139);" class="">show rest of quote</a>]</div></div><br class=""></div></div>_______________________________________________<br class="">gstreamer-devel mailing list<br class=""><a href="http://gstreamer-devel.966125.n4.nabble.com/user/SendEmail.jtp?type=node&node=4694251&i=3" target="_top" rel="nofollow" link="external" style="font-size: 1em; color: rgb(85, 26, 139);" class="">[hidden email]</a><br class=""><a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="nofollow" target="_blank" link="external" style="font-size: 1em; color: rgb(85, 26, 139);" class="">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br class=""></blockquote><div class="shrink-quote">... [<a collapsed="2" style="font-size: 10.751999855041504px; color: rgb(85, 26, 139);" class="">show rest of quote</a>]</div></div><br clear="all" style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.4399995803833px;" class=""><div style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.4399995803833px;" class=""><br class=""></div><span style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.4399995803833px; background-color: rgb(255, 255, 255);" class="">-- </span><br style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.4399995803833px;" class=""><div dir="ltr" class="gmail_signature" style="font-family: Verdana, Geneva, Helvetica, Arial, sans-serif; font-size: 13.4399995803833px;"><div dir="ltr" class=""><div class="">thanks,</div><div class="">sree</div></div></div><div><br class=""><blockquote type="cite" class=""><div class="">On May 20, 2020, at 4:41 PM, Patrick Cusack <<a href="mailto:patrickcusack@mac.com" class="">patrickcusack@mac.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">After making the changes, I was able to run the following command:<div class=""><br class=""></div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">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;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">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;" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">Patrick</span></div><div class=""><br class=""><blockquote type="cite" class=""><div class="">On May 20, 2020, at 2:24 PM, Nicolas Dufresne <<a href="mailto:nicolas@ndufresne.ca" class="">nicolas@ndufresne.ca</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div style="text-align:left; direction:ltr;" class=""><div class="">Le mercredi 20 mai 2020 à 13:12 -0700, Patrick Cusack a écrit :</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex" class=""><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">[root@localhost gstreamer-1.0]# LIBVA_DRIVER_NAME="i965" vainfo</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">error: can't connect to X server!</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">libva info: VA-API version 1.7.0</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">libva info: User environment variable requested driver 'i965'</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">libva info: Trying to open /usr/lib64/dri/<b class="">i965_drv_video.so</b></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">libva info: Found init function __vaDriverInit_1_6</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">libva info: va_openDriver() returns 0</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">vainfo: VA-API version: 1.7 (libva 2.7.0.pre1)</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">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;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">vainfo: Supported profile and entrypoints</span></div></blockquote><div class="">[snip]</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex" class=""><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">      VAProfileVP9Profile0            :       VAEntrypointEncSlice</span></div></blockquote><div class=""><br class=""></div><div class="">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 class=""><br class=""></div><div style="margin-left: 3ch;" class=""><pre class="">rm ~/.cache/gstreamer-1.0/registry.*</pre><pre class="">export LIBVA_DRIVER_NAME=i965</pre><pre class="">gst-inspect-1.0 vaapi</pre></div><div class=""><br class=""></div><div class="">In theory that should be sufficient.</div><div class=""><br class=""></div><div class="">Nicolas</div></div>
_______________________________________________<br class="">gstreamer-devel mailing list<br class=""><a href="mailto:gstreamer-devel@lists.freedesktop.org" class="">gstreamer-devel@lists.freedesktop.org</a><br class=""><a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" class="">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br class=""></div></blockquote></div><br class=""></div></div>_______________________________________________<br class="">gstreamer-devel mailing list<br class=""><a href="mailto:gstreamer-devel@lists.freedesktop.org" class="">gstreamer-devel@lists.freedesktop.org</a><br class="">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel<br class=""></div></blockquote></div><br class=""></blockquote></body></html>