Difference between different decoders like Broadway, Native, h264BSD and tinyh264 #30
-
Can any one explain about what is the difference between different types of decoders. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Updated 02.2022
First three have the same idea: decoder in C-code is complied to WebAssembly, each frame is decoded and later drawn on canvas. The native decoder uses MSE, i.e. it builds mp4 containers and feed them to WebCodecs: Decoding is done by browser built-in (software/hardware) media decoder. The result is drawn on canvas. At the moment, available only in Chromium and derivatives. This project is prototype: research is one of its purposes, so I added in it all ways (all I could find) to decode h264-video stream. |
Beta Was this translation helpful? Give feedback.
-
Thank you for reply @drauggres .... You told first three have same idea but it may have minor difference between them. i am searching exact difference. |
Beta Was this translation helpful? Give feedback.
-
All I can tell you is what I know from the front pages of these projects (I did not dig into their source code): In my experience Broadway is the most stable decoder of all included. |
Beta Was this translation helpful? Give feedback.
-
Thank you for your information @drauggres |
Beta Was this translation helpful? Give feedback.
Updated 02.2022
oneam/h264bsdremovedFirst three have the same idea: decoder in C-code is complied to WebAssembly, each frame is decoded and later drawn on canvas.
Also they support only baseline encoded video (see #25 (comment))
The native decoder uses MSE, i.e. it builds mp4 containers and feed them to
<video>
. In theory it should be more efficient than other decoders, because your browser may use hardware acceleration to decode video, but in my tests it was not stable enough to be the only decoder.WebCodecs: Decoding is done by browser built-in (software/hardware) media decoder. The result is dra…