Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Any plan to support H264 decoding using GPU?

91 views
Skip to first unread message

Chao Liu

unread,
Jan 13, 2025, 4:42:04 AMJan 13
to discuss-webrtc
Currently it always use ffmpeg to decode H264 stream. It uses a lot of CPU. 
It seems to me it only uses one thread to decode video.
This makes it impossible to decode 4K video smoothly on most devices.

Chao Liu

unread,
Feb 8, 2025, 1:38:47 PM (2 days ago) Feb 8
to discuss-webrtc
My initial description is not precise. On windows it can actually use hardware acceleration. I see that it's using D3D11VideoDecoder, compared to FFmpeg on Linux.
One thing I noticed is that it still uses a lot of CPU playing a h264 Main profile 4K video. It uses much less CPU on another restrained base 4K video.

Luis Guillermo Bultet Ibles

unread,
Feb 9, 2025, 3:53:23 PM (yesterday) Feb 9
to discuss...@googlegroups.com
That standard is very complete, the problem that is a not linear solution, not talking about complexity but the stream can be compressed with differents good and arbitrary criterias within h264... and that request high processing to find the better one.

--
This list falls under the WebRTC Code of Conduct - https://webrtc.org/support/code-of-conduct.
---
You received this message because you are subscribed to the Google Groups "discuss-webrtc" group.
To unsubscribe from this group and stop receiving emails from it, send an email to discuss-webrt...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/discuss-webrtc/b09a6123-5bad-4502-a3ca-9e6772dfef33n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages