[Webkit-unassigned] [Bug 251679] [GStreamer] Playing video causes very high CPU usage

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 17 05:01:55 PST 2023


https://bugs.webkit.org/show_bug.cgi?id=251679

--- Comment #20 from kdwkleung at protonmail.com ---
(In reply to Philippe Normand from comment #19)
> openh264dec0 is still used instead of the va decoder... Are you sure you set
> the rank as explained in comment 2 ?

I set it in the org.gnome.Platform//master runtime by running `flatpak run --command=/bin/bash org.gnome.Platform` and then running `GST_PLUGIN_FEATURE_RANK=vah264dec:MAX,vah265dec:MAX,vavp8dec:MAX,vavp9dec:MAX`.

> 
> flatpak run --command=gst-inspect-1.0 org.gnome.Epiphany.Devel vah264dec

Factory Details:
  Rank                     none (0)
  Long-name                VA-API H.264 Decoder
  Klass                    Codec/Decoder/Video/Hardware
  Description              VA-API based H.264 video decoder
  Author                   Víctor Jáquez <vjaquez at igalia.com>

Plugin Details:
  Name                     va
  Description              VA-API codecs plugin
  Filename                 /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstva.so
  Version                  1.20.5
  License                  LGPL
  Source module            gst-plugins-bad
  Source release date      2022-12-19
  Binary package           GStreamer Bad Plug-ins source release

> 
> If the rank shown is still NONE, rm
> $HOME/.var/app/org.gnome.Epiphany.Devel/cache/gstreamer-1.0/registry.x86_64.
> bin
> 
> and:
> 
> flatpak
> --env="GST_PLUGIN_FEATURE_RANK=vah264dec:MAX,vah265dec:MAX,vavp8dec:MAX,
> vavp9dec:MAX" run --command=gst-inspect-1.0 org.gnome.Epiphany.Devel
> vah264dec

Factory Details:
  Rank                     primary + 2147483391 (2147483647)
  Long-name                VA-API H.264 Decoder
  Klass                    Codec/Decoder/Video/Hardware
  Description              VA-API based H.264 video decoder
  Author                   Víctor Jáquez <vjaquez at igalia.com>

Plugin Details:
  Name                     va
  Description              VA-API codecs plugin
  Filename                 /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstva.so
  Version                  1.20.5
  License                  LGPL
  Source module            gst-plugins-bad
  Source release date      2022-12-19
  Binary package           GStreamer Bad Plug-ins source release

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230217/c56fe563/attachment.htm>


More information about the webkit-unassigned mailing list