I developing in iOS, I use ./buildMobileVLCKit.sh -s compiled VLCKit,and add a button to SimplePlayback example to take snapshot.
code:
Code: Select all
- (IBAction)takeSnapshot:(UIButton *)sender {
NSString* path = NSHomeDirectory();
NSString* snapshotFile = [path stringByAppendingString:@"/1.png"];
NSLog(path);
[_mediaplayer saveVideoSnapshotAt:snapshotFile withWidth:0 andHeight:0];
[_mediaplayer saveVideoSnapshotAt:path withWidth:0 andHeight:0];
}
[0c2de874] core video output error: Encoding support not compiled-in!
[0c2de874] core video output error: Failed to convert image for snapshot
plz help how to compiled-in encoding support?
Thanks,
Farrell