Hi Sergey,
Using the example FFMpeg on x32 it works correctly.
However, when using the same example in x64, the divisions are incorrect and the Videos too.
Is this problem in the example or in the TRVCamMulview component?
TRVCAmMultView different behavior on x32 and x64
TRVCAmMultView different behavior on x32 and x64
- Attachments
-
- Compilado x64
- x64.jpg (55.63 KiB) Viewed 11371 times
-
- Compilado x32
- x32.jpg (53.61 KiB) Viewed 11371 times
-
- Site Admin
- Posts: 17569
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: TRVCAmMultView different behavior on x32 and x64
Probably, it is a problem related to a high DPI display mode, I'll check it tomorrow.
-
- Site Admin
- Posts: 17569
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: TRVCAmMultView different behavior on x32 and x64
Yes, the problem is in high-DPI display mode.
In the original 32-bit project, in Appearance | Manifest project options, DPI awareness = None, so the application works in 96 DPI even on high-DPI displays. You can see, text is blurred in the application window, because it is scaled by the system.
When you added a 64-bit platform, it received the option DPI awareness = Per Monitor v2.
And this demo does not take into account, that sizes and positions of viewers in CamMultiView.Viewers[] are measured in pixels at 96 DPI.
So, in this demo, in procedure TfrmMain.MakeGrid(nX, nY: Integer), instead of
must be:
where RVConvertTo96DPI is defined in MRVCore unit.
But, unfortunately, this change is not enough, some corrections are needed in RVMedia code as well.
I'll try to upload a fixed version of RVMedia ASAP, today or tomorrow.
In the original 32-bit project, in Appearance | Manifest project options, DPI awareness = None, so the application works in 96 DPI even on high-DPI displays. You can see, text is blurred in the application window, because it is scaled by the system.
When you added a 64-bit platform, it received the option DPI awareness = Per Monitor v2.
And this demo does not take into account, that sizes and positions of viewers in CamMultiView.Viewers[] are measured in pixels at 96 DPI.
So, in this demo, in procedure TfrmMain.MakeGrid(nX, nY: Integer), instead of
Code: Select all
w := rvcmv.ClientWidth div nX;
h := rvcmv.ClientHeight div nY;
Code: Select all
w := RVConvertTo96DPI(rvcmv.ClientWidth div nX, rvcmv);
h := RVConvertTo96DPI(rvcmv.ClientHeight div nY, rvcmv);
But, unfortunately, this change is not enough, some corrections are needed in RVMedia code as well.
I'll try to upload a fixed version of RVMedia ASAP, today or tomorrow.
-
- Site Admin
- Posts: 17569
- Joined: Sat Aug 27, 2005 10:28 am
- Contact:
Re: TRVCAmMultView different behavior on x32 and x64
Fixed in RVMedia 8.1