Page 1 of 1

how to capture video playing in vlc and save as image

Posted: 21 Apr 2014 07:47
by Arunm
hii,

can anybody help me.

I have deployed vlc for ios in my app,now i required that when video/streaming is playing i have to capture that image and save it.

But i am failing to do that. pls someone help me.

i have send my code snapshot that i am using


UIGraphicsBeginImageContext([VDLPlaybackViewController vdlPlaybackShared_Instance].movieView.bounds.size);
[[VDLPlaybackViewController vdlPlaybackShared_Instance].movieView.layer renderInContext:UIGraphicsGetCurrentContext()];
UIImage *image = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();

[UIImagePNGRepresentation(image) writeToFile:@"/Users/arun/Desktop/drwing.png" atomically:YES];


thanks in advance.

Re: how to capture video playing in vlc and save as image

Posted: 12 May 2014 14:03
by Arunm
plz some one help !!!!