VLC ActiveX for Delphi

This forum is about all development around libVLC.
brigittatie
New Cone
New Cone
Posts: 2
Joined: 25 Aug 2020 16:25

VLC ActiveX for Delphi

Postby brigittatie » 25 Aug 2020 16:32

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...

mfkl
Developer
Developer
Posts: 739
Joined: 13 Jun 2017 10:41

Re: VLC ActiveX for Delphi

Postby mfkl » 02 Sep 2020 13:17

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.
https://mfkl.github.io

brigittatie
New Cone
New Cone
Posts: 2
Joined: 25 Aug 2020 16:25

Re: VLC ActiveX for Delphi

Postby brigittatie » 04 Sep 2020 03:29

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..


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 17 guests