You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Root Container Region is being vertically scaled by some ratio of the cellResolution. This can be observed by inspecting the elements in the developer tools. I don't think this is correct. EBU 3380 states 'If the related media object is a video media object then the rendering plane shall be coincident with the rendering plane of the video media object' which I assume to mean it is the same size. The cell resolution is used for calculating line padding, font size etc, but the container should not be scaled by it.
I tried simply removing the "aspect ratio" passed to getVideoVisibleVideoSize from checkVideoSize but this appears to cause other scaling issues.
Console output
N/A
The text was updated successfully, but these errors were encountered:
Just in case it's relevant, the ttp:cellResolution parameter in a TTML document carries no information about the aspect ratio: it's merely used to divide the root container region into a cell grid that can be used as a coordinate system. The individual cells are not constrained to be square or any other aspect ratio: their aspect ratio depends on the root container region aspect ratio and the number of cells in each dimension.
@bbcrddave This is probably incorrect, but has been like this for a very long time. I've never worked with the actual HTML rendering and scaling, so if you know how to fix it, please do so.
Environment
Steps to reproduce
Play MPD linked above. Occurs 100% of the time.
Observed behaviour
Root Container Region is being vertically scaled by some ratio of the cellResolution. This can be observed by inspecting the elements in the developer tools. I don't think this is correct. EBU 3380 states 'If the related media object is a video media object then the rendering plane shall be coincident with the rendering plane of the video media object' which I assume to mean it is the same size. The cell resolution is used for calculating line padding, font size etc, but the container should not be scaled by it.
I tried simply removing the "aspect ratio" passed to
getVideoVisibleVideoSize
fromcheckVideoSize
but this appears to cause other scaling issues.Console output
N/A
The text was updated successfully, but these errors were encountered: