I need to split video(PHAsset) to frames. Please could anyone write an extension for PHAsset for example to call function like this:
extension PHAsset {
func getFrame(timecode: Float) -> UIImage? {
*something*
return frame
}
}
You can change parameters in below function. Help!
Try this:
Usage: