[Mesa-dev] [PATCH] radeon/uvd: fix the H264 level for Tonga

Grigori Goronzy greg at chown.ath.cx
Mon May 30 22:32:38 UTC 2016


On 2016-05-27 15:16, Emil Velikov wrote:
> The odd things is that VLC uses/used to? check that information before
> feeding the video to the decoder, while others implementations (like
> the original one in mplayer done by the Nvidia devs) do/did? not
> bother.
> 

Many files either have an incorrect level set or they subtly exceed the 
restrictions of a common level, e.g. 4.1. So strict checks will make 
many files non-playable with VDPAU despite actually working fine without 
checks. That's why some players don't check the level.

That said, I wonder if the level 4.1 returned on UVD 3/4 for H.264 high 
profile is actually correct. These UVD variants can easily play 1080p60, 
right? Even UVD 2 can do that, I think. Level 4.1 only allows up to 
1080p30. So wouldn't level 4.2 be the right choice? Or are there some 
restrictions on the HW decoder that make it formally not capable of 
level 4.2?

Grigori


More information about the mesa-dev mailing list