title: How to capture frame by frame images from Android video recording in real time
body: <p>I want to get realtime frames from video. like camera is open and I am getting frames per seconds.</p>
  
  <p>I have also gone through google example of video capturing app via camera2 API <a href="https://github.com/googlesamples/android-Camera2Video" rel="noreferrer">https://github.com/googlesamples/android-Camera2Video</a>
  , But couldn't find any such method/way.</p>
  
  <p>I know this is possible as video broadcasters and apps like snapchat who does realtime video processing must be doing something like this.</p>
  
  <p>Also I require 30 frames/seconds.</p>