-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is this the right scale for PGS? And the PGS color in MadVR. #57
Comments
1 - Compare with MPC-HC - the same size of PGS subtitles. PGS/DVB subtitles always renderer to the video frame. |
1 - Yes i rewrited logic, PGC/DVB now always render inside video frame and not a window. If you zoom video - PGS subtitles also zoom. |
For the 1st problem: On a video whose AR is equal to the PGS's AR, there's no such problem, because the above codes are not involved. |
I have no particular desire to get into this code again, to test hundreds of files with various subtitles. |
I think that how it's in MPC-HC - it's not right. PGS/DVB subtitles must render as designed(position & size), but MPC-HC change size & position when sizing window. |
This actually seems to be a MPC-HC bug... |
Please check this video:
https://disk.yandex.com/d/2fmJw--pHq-nyQ
1st:
The PGS in this video is rendered significantly larger than all other players and what it is on MPC-BE before 6f3b27b (tested on 1.6.2.7083 with "Position subtitles relative to the video frame" checked, so it's rendered on the video on that version, right?). Maybe because you swap the scale factor from
scaleX = scaleY = videoAR < subtitleAR ? double(szTarget.cx) / m_virtualTextureSize.cx : double(szTarget.cy) / m_virtualTextureSize.cy;
to something more or less equivalent toscaleX = scaleY = videoAR < subtitleAR ? double(szTarget.cy) / m_virtualTextureSize.cy : double(szTarget.cx) / m_virtualTextureSize.cx;
to always get the larger one as the scaling factor while the old logic always get the smaller one?Was this done on purpose?
2nd:
Please check the color of the subtitle in MadVR. The color of PGS subs is obvious "pale".
No color space conversion for PGSs and so when using MadVR? Using MPCVR is fine. But other players are also fine in MadVR.
The text was updated successfully, but these errors were encountered: