Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No hardware accelerated video decoding and encoding #7

Closed
easy-and-simple opened this issue Jun 26, 2023 · 3 comments
Closed

No hardware accelerated video decoding and encoding #7

easy-and-simple opened this issue Jun 26, 2023 · 3 comments

Comments

@easy-and-simple
Copy link

No hardware accelerated video decoding and encoding and video cant pe played and written
I installed video codecs and VLC but there is no video acceleration obviously because there is no video driver
Without video acceleration board is completely useless

@RadxaYuntian
Copy link
Member

If you install one of our recent Debian Xfce build then Chromium and Parole media player support hardware accelerated video decoding out-of-the-box. There is a work-in-progress ffmpeg-jellyfin PR to support accelerated video encoding but we did not include it in our system.

Other software (like VLC) does not support either and that is expected behavior.

@easy-and-simple
Copy link
Author

Hi
@RadxaYuntian Thank you for replay and information supplied!
I need video acceleration mainly to use it in my AI/ML projects, so if ffmpeg-jellyfin supports hardware encoding/decoding this will be useful.
Do you have any idea is it possible to replace ffmpeg used by opencv with ffmpeg-jellyfin in order to achieve native hardware acceleration on opencv functions that use ffmpeg like videowriter function?
Also if you know some way to add hardware decoding to firefox I would try it.

@RadxaYuntian
Copy link
Member

I'm no expert of OpenCV. Depending on how they use ffmpeg you will either install the Jellyfin version to the default location, or replace the code during compile time.

There is no way to support hardware decoding in Firefox since they only support VA-API. AFAICT there is no one working on a MPP to VA-API adapter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants