how to capture video playing in vlc and save as image

iOS, iPad, iPhone, tvOS specific usage questions
Arunm
New Cone
New Cone
Posts: 3
Joined: 26 Mar 2014 05:47

how to capture video playing in vlc and save as image

Postby Arunm » 21 Apr 2014 07:47

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.

Arunm
New Cone
New Cone
Posts: 3
Joined: 26 Mar 2014 05:47

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

Postby Arunm » 12 May 2014 14:03

plz some one help !!!!


Return to “VLC for iOS, iPadOS and Apple TV”

Who is online

Users browsing this forum: Google [Bot] and 21 guests