Coder Social home page Coder Social logo

Comments (6)

iteufel avatar iteufel commented on May 18, 2024

@M4TH76
Try adding --ignore-gpu-blacklist to your chromium-args
Open chrome://gpu/ with nw.js and check if your GPU is blacklisted.
You can also try Installing the mesa and libva-intel-driver packages.

https://wiki.archlinux.org/index.php/Hardware_video_acceleration

from nwjs-ffmpeg-prebuilt.

M4TH76 avatar M4TH76 commented on May 18, 2024

I've already added the arguments to chromium

Vainfo list h264 as supported

chrome://media-internals list video_decoder:ffmpeg... Instead of gpu..
That's why a asked if ffmpeg can use the gpu to decode video like it does on Windows

from nwjs-ffmpeg-prebuilt.

Ajeey avatar Ajeey commented on May 18, 2024

@M4TH76 Any chance you enabled hardware acceleration of h264 decode on MAC? If yes, whats the approach you used?

from nwjs-ffmpeg-prebuilt.

M4TH76 avatar M4TH76 commented on May 18, 2024

@Ajeey sorry not a Mac user...

Bump...
Can nwjs-ffmpeg-prebuilt use HW acceleration?

from nwjs-ffmpeg-prebuilt.

mocudev avatar mocudev commented on May 18, 2024

From what I understand, you actually need to apply a patch to chromium in order to enable H.264 hardware accelerated decoding. I played around with it a little bit a while back and managed to produce a version of nwjs with H.264 hardware decode enabled.

I put up a repo that has the patches for nwjs 15 (I uploaded a binary version of nwjs also): https://github.com/mocudev/nwjs_linux_hwdecode

There's also a branch where I started down the path of applying a newer patch to nwjs 25, however I had some issues getting it working and haven't had time to continue with it. This is where the patches are that I started going off of for the nwjs 25 branch: https://chromium-review.googlesource.com/c/chromium/src/+/532294

from nwjs-ffmpeg-prebuilt.

iteufel avatar iteufel commented on May 18, 2024

If the issue still exists just write it down and I will reopen the issue.

from nwjs-ffmpeg-prebuilt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.