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

Vaapi not working with webrtc #438

Open
EmrysMyrddin opened this issue Aug 16, 2022 · 8 comments
Open

Vaapi not working with webrtc #438

EmrysMyrddin opened this issue Aug 16, 2022 · 8 comments

Comments

@EmrysMyrddin
Copy link
Contributor

Your environment.

  • Version: v0.3.10
  • Browser: none

What did you do?

Tried to use the VAAPI binding. Seems like broken, but i don't have any clue on how to fix it.

Here are the logs when trying to publish the track with webrtc (using VP8, but it's not working either with VP9) :
2022/08/16 14:03:12 "msg"="could not set remote description" "error"="video/VP8: video/VP8: libva entrypoint not found\n\nvideo/H264: video/VP8: %!s(<nil>)\n\nvideo/H264: video/VP8: %!s(<nil>)\n\nvideo/H264: video/VP8: %!s(<nil>)"

@ZeoWorks
Copy link

ZeoWorks commented Oct 7, 2022

VAAPI not working for me either

@at-wat
Copy link
Member

at-wat commented Oct 12, 2022

libva entrypoint not found usually means the video card doesn't support specified profile.
You can list supported profiles by vainfo command and VAEntrypointEncSlice for desired codec is needed.

@ZeoWorks
Copy link

ZeoWorks commented Oct 13, 2022

libva entrypoint not found usually means the video card doesn't support specified profile. You can list supported profiles by vainfo command and VAEntrypointEncSlice for desired codec is needed.

Hi, VP9 is supported on my machine.
However VAAPI is simply not working on webrtc, could this be due to it saying 'VAEntrypointVLD'?
Screenshot from 2022-10-13 23-01-04

@at-wat
Copy link
Member

at-wat commented Oct 14, 2022

VAEntrypointVLD is for decoding.
VAEntrypointEncSlice is required for encoding.

@ZeoWorks
Copy link

ZeoWorks commented Oct 14, 2022

VAEntrypointVLD is for decoding. VAEntrypointEncSlice is required for encoding.

That's what I thought also.
I'm really surprised the RX 6700 XT does NOT support VPX hardware encoding.
It's a fairly new & expensive card.

Will H264/265 encoding be supported in the future with VAAPI?

@at-wat
Copy link
Member

at-wat commented Oct 14, 2022

Will H264/265 encoding be supported in the future with VAAPI?

VAAPI library supports H264/265 and your hardware supports both. (EncSlice for H264 and HEVC)
Need to add wrappers to this package.

@ZeoWorks
Copy link

Will H264/265 encoding be supported in the future with VAAPI?

VAAPI library supports H264/265 and your hardware supports both. (EncSlice for H264 and HEVC) Need to add wrappers to this package.

Any eta when H264/265 vaapi support?

@at-wat
Copy link
Member

at-wat commented Oct 14, 2022

Any eta when H264/265 vaapi support?

No, as this is an open source project, contributions are always welcomed.

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

3 participants