Skip to content

Difference between different decoders like Broadway, Native, h264BSD and tinyh264 #30

Answered by drauggres
sree143342 asked this question in Q&A
Discussion options

You must be logged in to vote

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.
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…

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by drauggres
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #30 on December 08, 2020 21:23.