3 ms·
I'd be interested in more detail on why you consider comparing the speed of the ffmpeg H.264 and VP8 decoders to be unfair. Don't they share a lot of code, give
by ZeroGravitas 16y ago
I'd be interested in more detail on why you consider comparing the speed of the ffmpeg H.264 and VP8 decoders to be unfair. Don't they share a lot of code, given the similarities of the formats?
- astrange 16y agoThe H.264 decoder contains serious added complexity because H.264 supports multiple reference frames and interlacing. It was also based on the shared MPEG-1/2/4 code, even though many of those features aren't used. That results in poor cache locality and data structures with a lot of unused stuff allocated. (Also, the author is very single-minded about optimization and seems to have completely ignored all this for most of its development…) The VP8 decoder is based on the VP5/6 decoders and isn't as different from them, so it doesn't have that problem. That said, I believe they're both pretty efficient and competitive with others. By "known to be slow", he means "known to be a bit slower with the same # decoding threads than CoreAVC".