Hello,
I'm using https://github.com/ZeBobo5/Vlc.DotNet, a C# wrapper around libvlc, for embedding videos in my C#/WPF application. Unfortunately I have problems with the sizing of the video output. If I play a full HD clip (e.g. Big buck bunny http://distribution.bbb3d.renderfarming ... normal.mp4), libvlc returns size as 1920 x 1088 instead of 1920 x 1080. This issue appears because libvlc distinguishes between buffer size and display size. The VideoFormat(...) callback, that is used by the VLC.DotNet libary, returns the buffer size from libvlc, which causes the problem. Is there a way of calculating or querying the display size for correct scaling of the video output?
In the correspondig issue thread (https://github.com/ZeBobo5/Vlc.DotNet/issues/508) I also mentioned a way of reprodrucing the problem with the official samples for Vlc.DotNet libary.
Thanks for any help!