Page 1 of 1

VLC ActiveX or PasLibVLC stretch or fit-to-screen method/property

Posted: 04 Mar 2018 13:57
by Kor Dahar Master
I have installed both VLC ActiveX and PasLibVLC components on Delphi. However, I can't find a method or property to stretch or fit-to-screen the playing video, regardless its resolution, in order to avoid black spaces around the video. Since there is an uncertainty of the video resolution where my program is going to run, I need to find a way to adjust the video inside the main form in order to fill it all with the video, even if there's a minor distortion of the image.

Re: VLC ActiveX or PasLibVLC stretch or fit-to-screen method/property

Posted: 07 Mar 2018 07:17
by Jean-Baptiste Kempf
You need to do the distortion on your side, or change the aspect-ratio.