Page 1 of 1

VLC ActiveX for Delphi

Posted: 25 Aug 2020 16:32
by brigittatie
Currently I am trying to use VLC as activeX plugin in Delphi 2007.
I already succeed streaming from RTSP and trigger snapshot, but I can't change snapshot-format into jpg file. Currently the snapshot is in .bmp format.

Bellow the coding
i:=VLCPlugin21.playlist.add(pchar('rtsp://admin:admin@192.168.1.1:80/0'),null,null);
VLCPlugin21.playlist.playItem(i);
VLCPlugin21.playlist.togglePause();
VLCPlugin21.video.takeSnapshot;
VLCPlugin21.playlist.stop;

How to access snapshot-format in VLC activeX plugin?
Any help will be appreciated...

Re: VLC ActiveX for Delphi

Posted: 02 Sep 2020 13:17
by mfkl
Why are you using the ActiveX plugin? You need this to run in a browser?

From https://wiki.videolan.org/VLC_command-line_help

Code: Select all

--snapshot-format={png,jpg,tiff} Video snapshot format Image format which will be used to store the video snapshots
You need to give that option to libvlc using the activeX api.

Re: VLC ActiveX for Delphi

Posted: 04 Sep 2020 03:29
by brigittatie
Thank you for your reply.
I currently using delphi language and not running in browser. Above the coding in delphi, but i have problem setting snapshot-format using vcl in delphi because the properties does not exist.
Any help will be very appreciate..