im using vlc<0.8.6c>.. the following code to play the video in c# ..
Code: Select all
AxAXVLC.AxVLCPlugin vlc = new AxAXVLC.AxVLCPlugin();
vlc.addTarget(url, ":sout=#duplicate{dst=display}", AXVLC.VLCPlaylistMode.VLCPlayListAppendAndGo, -666);
vlc.play();
Code: Select all
object tempo = (vlc.getVariable("key-snapshot"));
vlc.setVariable("key-pressed", tempo);
Code: Select all
string[] Opt = { "--snapshot-path = C:\\Users\\C# Dev PC 4\\Desktop\\snapshots" ,"--snapshot-prefix=vlcsnap-", "--key-snapshot=S", "--snapshot-format=png" };
vlc.addTarget("c:\\nithin.mpg", Opt, AXVLC.VLCPlaylistMode.VLCPlayListReplaceAndGo, 0);
if (vlc.Playing != true)
{
vlc.play();
}
Can any body help me .. capture snapshots in specified path..!