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

This forum is about all development around libVLC.
Kor Dahar Master
New Cone
New Cone
Posts: 1
Joined: 04 Mar 2018 13:48

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

Postby Kor Dahar Master » 04 Mar 2018 13:57

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.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

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

Postby Jean-Baptiste Kempf » 07 Mar 2018 07:17

You need to do the distortion on your side, or change the aspect-ratio.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 2 guests