I want to get realtime frames from video. like camera is open and I am getting frames per seconds.
I have also gone through google example of video capturing app via camera2 API https://github.com/googlesamples/android-Camera2Video , But couldn't find any such method/way.
I know this is possible as video broadcasters and apps like snapchat who does realtime video processing must be doing something like this.
Also I require 30 frames/seconds.