I'm new to VLCKit and have been playing with VLCKit on macos for few days already but still couldnt figure out on how to capture frame from video.
As far as i know, VLCKit only allows snapshot into file only but i need to process every frame and prefer in memory processing.
I have tried methods below but none of it will give me a correct NSImage, the capture Image is just blank.
1. Capture NSImage from NSView (by using NSView onto the VLCMediaPlayer.drawable)
2. Capture NSImage from VLCVideoLayer (assign created VLCVideoLayer and call setVideoLayer)
3. Replace addVoutLayer and removeVoutLayer methods inside VLCViewLayer (but unfortunately it seems like nobody will call it)
Any helps will be very much appreciated!
(sorry for my bad english)
Thanks!