I want to use VLC Activex in mu C# Project
I want to preview & snapshot the webcam using VLC
![Very Happy :D](./images/smilies/icon_biggrin.gif)
Everything work good but I cannot set the picture path and filename !
It saves the snapshot in the temp folder !
How can I set it ?
Thanks a lot
![Wink :wink:](./images/smilies/icon_wink.gif)
I connected to camera with this command :hi
sorry i have a question .
i wana the same job that you want but i cannot get any picture by VLC ActivX .
And i cannot do anything with VLC ActiveX in C#(
Please Help me :-p
May you send me a sample code that connect to this ActiveX and take picture ????
thnx alot
Mohammad
Ny Email : m_hamidi_es@yahoo.com
Code: Select all
axVLCPlugin21.playlist.add("dshow://", "Logitech Webcam",null);
axVLCPlugin21.playlist.play();
Code: Select all
axVLCPlugin21.video.takeSnapshot();
try giving the file path name under "null", null is always the option. provide your desired path in "file+_path"I connected to camera with this command :
Code: Select all
axVLCPlugin21.playlist.add("dshow://", "Logitech Webcam",null);
axVLCPlugin21.playlist.play();
And grabbed the snapshot using this command :
Code: Select all
axVLCPlugin21.video.takeSnapshot();
But this command saves the pictures in the local temp folder and I couldn't set destination folder
rostamiani
New Cone
New Cone
Posts: 6
Joined: Mon Sep 28, 2009 12:51 pm
* Private message
Code: Select all
private void Button1_Click(object sender, EventArgs e)
{
axVLCplugin1.setVariable("key-pressed", vlc.getVariable("key-snapshot"));
}
Users browsing this forum: No registered users and 14 guests