mediadevices icon indicating copy to clipboard operation
mediadevices copied to clipboard

Vaapi not working with webrtc

Open EmrysMyrddin opened this issue 3 years ago • 8 comments

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>)"

EmrysMyrddin avatar Aug 16 '22 14:08 EmrysMyrddin

VAAPI not working for me either

ZeoWorks avatar Oct 07 '22 16:10 ZeoWorks

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.

at-wat avatar Oct 12 '22 14:10 at-wat

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

ZeoWorks avatar Oct 13 '22 22:10 ZeoWorks

VAEntrypointVLD is for decoding. VAEntrypointEncSlice is required for encoding.

at-wat avatar Oct 14 '22 01:10 at-wat

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?

ZeoWorks avatar Oct 14 '22 09:10 ZeoWorks

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.

at-wat avatar Oct 14 '22 10:10 at-wat

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?

ZeoWorks avatar Oct 14 '22 10:10 ZeoWorks

Any eta when H264/265 vaapi support?

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

at-wat avatar Oct 14 '22 13:10 at-wat