View Single Post
Old 11th April 2022, 15:01   #7  |  Link
rwill
Registered User
 
Join Date: Dec 2013
Posts: 349
Quote:
Originally Posted by ZeB View Post
I did some testing and the number of ref frames seems to be the problem.
------
13 ref frames, corruption:
------
12 ref frames, no corruption:
------
So it seems like the h264 decoder that Youtube uses has problems with a higher number of ref frames. Isn't that weird, I would guess that they would use I high "quality" decoder? Can it be because of performance? I lower quality decoder can be faster?
Well, 2560x1440 has 14400 Macroblocks.

H.264 Level 5.2 supports a decoded picture buffer size of up to 184320 Macroblocks, so at your resolution 12.8 ref pictures.

The next level (6.0) supports a DPB of 696320 ( so 48.35 ref pictures of your resolution ).

Maybe your stream does not have the correct level set ? Or youtubes H.264 decoder initializes at Level 5.2 for whatever reason ? I don't know if they are using hardware or software decode - a hardware decoder could explain such behavior.
rwill is offline   Reply With Quote